Enable block-linking with MMU. Blocks that cause an ISI exception are not linked.

This commit is contained in:
skidau committed 2014-12-12 13:25:51 +11:00
1 parent fe67230663
commit 110d079c1e
4 files changed
+12 -11

No files matched your search

+2 -5
View File
@@ -683,6 +683,7 @@ const u8* JitIL::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBloc
if (code_block.m_memory_exception)
{
b->memoryException = true;
ibuild.EmitISIException(ibuild.EmitIntConst(em_address));
}
@@ -707,10 +708,6 @@ const u8* JitIL::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBloc
void JitIL::EnableBlockLink()
{
jo.enableBlocklink = true;
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bJITNoBlockLinking ||
SConfig::GetInstance().m_LocalCoreStartupParameter.bMMU)
{
// TODO: support block linking with MMU
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bJITNoBlockLinking)
jo.enableBlocklink = false;
}
}