mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Merge pull request #2454 from Sonicadvance1/armv7_disable_loadstores
[ARMv7] Extend the life of the JIT Recompiler.
This commit is contained in:
commit
9407797d16
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue