mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 09:32:42 +00:00
SPU LLVM: check state in every callable chunk
It's often redundant but may be necessary
This commit is contained in:
parent
c17a98030a
commit
2fd384ae95
@ -2634,6 +2634,12 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
// State check at the beginning of the chunk
|
||||
if (bi == 0 && g_cfg.core.spu_block_size != spu_block_size_type::safe)
|
||||
{
|
||||
check_state(baddr);
|
||||
}
|
||||
|
||||
// Emit instructions
|
||||
for (m_pos = baddr; m_pos >= start && m_pos < end && !m_ir->GetInsertBlock()->getTerminator(); m_pos += 4)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user