[ARMv7] Extend the life of the JIT Recompiler.
Until loadstores are fully investigated, let's artificially extend the life of it by disabling all of them. These instructions break in a very terrible way and eventually all loadstores end up attempting to access memory region (u32)-1. Disable until someone has enough time to investigate further.
This commit is contained in:
parent
a4a8162fb5
commit
b038b61a29
|
@ -40,6 +40,13 @@ void JitArm::Init()
|
||||||
code_block.m_fpa = &js.fpa;
|
code_block.m_fpa = &js.fpa;
|
||||||
analyzer.SetOption(PPCAnalyst::PPCAnalyzer::OPTION_CONDITIONAL_CONTINUE);
|
analyzer.SetOption(PPCAnalyst::PPCAnalyzer::OPTION_CONDITIONAL_CONTINUE);
|
||||||
InitBackpatch();
|
InitBackpatch();
|
||||||
|
|
||||||
|
// Disable all loadstores
|
||||||
|
// Ever since the MMU has been optimized for x86, loadstores on ARMv7 have been knackered
|
||||||
|
// XXX: Investigate exactly why these are broken
|
||||||
|
SConfig::GetInstance().m_LocalCoreStartupParameter.bJITLoadStoreOff = true;
|
||||||
|
SConfig::GetInstance().m_LocalCoreStartupParameter.bJITLoadStoreFloatingOff = true;
|
||||||
|
SConfig::GetInstance().m_LocalCoreStartupParameter.bJITLoadStorePairedOff= true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void JitArm::ClearCache()
|
void JitArm::ClearCache()
|
||||||
|
|
Loading…
Reference in New Issue