mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12: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
1 changed files with 6 additions and 0 deletions
|
@ -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
|
// Emit instructions
|
||||||
for (m_pos = baddr; m_pos >= start && m_pos < end && !m_ir->GetInsertBlock()->getTerminator(); m_pos += 4)
|
for (m_pos = baddr; m_pos >= start && m_pos < end && !m_ir->GetInsertBlock()->getTerminator(); m_pos += 4)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue