Since we're not using MMX registers to hold EE data in the recompilers anymore, we should be safe to exclude them from register saving / storing.

Pretty big speedup in games with lots of GIF activity (Soul Calibur 3 goes from 40 to 48fps).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3314 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-06-26 14:35:22 +00:00
parent b85be17e04
commit 1c898ad5f0
1 changed files with 4 additions and 3 deletions

View File

@ -235,20 +235,21 @@ namespace XMMRegisters
namespace Registers namespace Registers
{ {
// MMX registers should not be needing freezes anymore (speedup!)
__forceinline bool Saved() __forceinline bool Saved()
{ {
return (XMMRegisters::Saved() || MMXRegisters::Saved()); return (XMMRegisters::Saved() /*|| MMXRegisters::Saved()*/ );
} }
__forceinline void Freeze() __forceinline void Freeze()
{ {
XMMRegisters::Freeze(); XMMRegisters::Freeze();
MMXRegisters::Freeze(); //MMXRegisters::Freeze();
} }
__forceinline void Thaw() __forceinline void Thaw()
{ {
XMMRegisters::Thaw(); XMMRegisters::Thaw();
MMXRegisters::Thaw(); //MMXRegisters::Thaw();
} }
} }