dolphin/Source/Core/Core/PowerPC/JitILCommon
comex b84f6a55ab Automatically disable fastmem and enable memcheck when there are any watchpoints.
- Move JitState::memcheck to JitOptions because it's an option.
- Add JitOptions::fastmem; switch JIT code to checking that rather than
  bFastmem directly.
- Add JitBase::UpdateMemoryOptions(), which sets both two JIT options
  (replacing the duplicate lines in Jit64 and JitIL that set memcheck
  from bMMU).
  - (!) The ARM JITs both had some lines that checked js.memcheck
    despite it being uninitialized in their cases.  I've added
    UpdateMemoryOptions to both.  There is a chance this could make
    something slower compared to the old behavior if the uninitialized
    value happened to be nonzero... hdkr should check this.
- UpdateMemoryOptions forces jo.fastmem and jo.memcheck off and on,
  respectively, if there are any watchpoints set.
- Also call that function from ClearCache.
- Have MemChecks call ClearCache when the {first,last} watchpoint is
  {added,removed}.

Enabling jo.memcheck (bah, confusing names) is currently pointless
because hitting a watchpoint does not interrupt the basic block.  That
will change in the next commit.
2015-04-24 22:37:53 -04:00
..
IR.cpp JIT: simplify ISI handling. 2015-01-01 19:25:48 -08:00
IR.h JIT: simplify ISI handling. 2015-01-01 19:25:48 -08:00
JitILBase_Branch.cpp Make address translation respect the CPU translation mode. 2015-02-11 13:56:22 -08:00
JitILBase_FloatingPoint.cpp Fix FPRF flag setting 2014-10-21 04:56:35 -07:00
JitILBase_Integer.cpp Symbolicize explicit uses of x86 registers where possible (GPRs only for now). 2014-09-06 13:18:31 -04:00
JitILBase_LoadStore.cpp Automatically disable fastmem and enable memcheck when there are any watchpoints. 2015-04-24 22:37:53 -04:00
JitILBase_LoadStoreFloating.cpp Automatically disable fastmem and enable memcheck when there are any watchpoints. 2015-04-24 22:37:53 -04:00
JitILBase_LoadStorePaired.cpp Automatically disable fastmem and enable memcheck when there are any watchpoints. 2015-04-24 22:37:53 -04:00
JitILBase_Paired.cpp Include CommonTypes.h instead of Common.h. 2014-09-08 15:39:58 -04:00
JitILBase_SystemRegisters.cpp Include CommonTypes.h instead of Common.h. 2014-09-08 15:39:58 -04:00
JitILBase.h Add various loads and stores to JitIL 2015-03-03 11:17:25 -06:00