mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
SPU Analyzer: Improve value propagation
This commit is contained in:
parent
71dd22a55d
commit
ff42459239
File diff suppressed because it is too large
Load Diff
@ -4186,6 +4186,15 @@ bool spu_thread::is_exec_code(u32 addr, std::span<const u8> ls_ptr, u32 base_add
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (type == spu_itype::STOPD && !had_conditional)
|
||||||
|
{
|
||||||
|
return !avoid_dead_code;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (i != 0 && type == spu_itype::STOPD)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (type & spu_itype::branch)
|
if (type & spu_itype::branch)
|
||||||
{
|
{
|
||||||
if (type == spu_itype::BR && op.rt && op.rt != 127u)
|
if (type == spu_itype::BR && op.rt && op.rt != 127u)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user