Merge pull request #2454 from Sonicadvance1/armv7_disable_loadstores

[ARMv7] Extend the life of the JIT Recompiler.
This commit is contained in:
Ryan Houdek 2015-06-02 10:42:06 -04:00
commit 9407797d16

View File

@ -40,6 +40,13 @@ void JitArm::Init()
code_block.m_fpa = &js.fpa;
analyzer.SetOption(PPCAnalyst::PPCAnalyzer::OPTION_CONDITIONAL_CONTINUE);
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()