dolphin/Source
comex 48891c6359 Reserve a register for ppcState.
The register is RBP, previously in the GPR allocation order.  The next
commit will investigate whether there are too few GPRs (now or before),
but for now there is no replacement.

Previously, it was accessed RIP relatively; using RBP, anything in the
first 0x100 bytes of ppcState (including all the GPRs) can be accessed
with three fewer bytes.  Code to access ppcState is generated constantly
(mostly by register save/load), so in principle, this should improve
instruction cache footprint significantly.  It seems that this makes a
significant performance difference in practice.

The vast majority of this commit is mechanically replacing
M(&PowerPC::ppcState.x) with a new macro PPCSTATE(x).

Version 2: gets most of the cases which were using the register access
macros.
2014-09-06 13:16:18 -04:00
..
Android Merge pull request #901 from Sonicadvance1/64bit-android-cmake 2014-09-03 00:09:03 -07:00
Core Reserve a register for ppcState. 2014-09-06 13:16:18 -04:00
DSPSpy Fixed issue with DSP Dump not closing files. 2014-06-23 13:08:43 -07:00
DSPTool msvc: remove some remnants of SDL and DSound from projects and general cleanup. 2014-09-01 21:27:44 -07:00
PCH Windows: Use a shared precompiled header for dolphin code under Source/ 2014-08-14 23:51:13 -07:00
UnitTests Revert "JIT64: optimize CA calculations" 2014-09-05 10:26:30 -07:00
VSProps VSProps: Add C4351 to the list of disabled warnings in Base.props 2014-09-03 23:07:19 -04:00
CMakeLists.txt Windows: Use a shared precompiled header for dolphin code under Source/ 2014-08-14 23:51:13 -07:00
dolphin-emu.sln msvc: get UnitTests compiling 2014-09-01 21:27:45 -07:00