mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
SPU Analyzer: Improve value propagation
This commit is contained in:
parent
71dd22a55d
commit
ff42459239
2 changed files with 1276 additions and 1063 deletions
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…
Add table
Add a link
Reference in a new issue