mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
SPU Analyzer: Do not terminate blocks on BRA
This commit is contained in:
parent
412db758e8
commit
f51b100a8c
2 changed files with 6 additions and 13 deletions
|
@ -2925,7 +2925,6 @@ spu_program spu_recompiler_base::analyse(const be_t<u32>* ls, u32 entry_point, s
|
|||
if (g_cfg.core.spu_block_size == spu_block_size_type::giga && !sync)
|
||||
{
|
||||
m_entry_info[target / 4] = true;
|
||||
add_block(target);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2933,13 +2932,9 @@ spu_program spu_recompiler_base::analyse(const be_t<u32>* ls, u32 entry_point, s
|
|||
{
|
||||
spu_log.notice("[0x%x] At 0x%x: ignoring fixed tail call to 0x%x (SYNC)", entry_point, pos, target);
|
||||
}
|
||||
|
||||
if (target > entry_point)
|
||||
{
|
||||
limit = std::min<u32>(limit, target);
|
||||
}
|
||||
}
|
||||
|
||||
add_block(target);
|
||||
next_block();
|
||||
break;
|
||||
}
|
||||
|
@ -3529,10 +3524,6 @@ spu_program spu_recompiler_base::analyse(const be_t<u32>* ls, u32 entry_point, s
|
|||
case spu_itype::BRASL:
|
||||
is_call = spu_branch_target(0, op.i16) != ia + 4;
|
||||
break;
|
||||
case spu_itype::BRA:
|
||||
is_call = true;
|
||||
is_tail = true;
|
||||
break;
|
||||
case spu_itype::BISL:
|
||||
case spu_itype::BISLED:
|
||||
is_call = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue