mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
b85be17e04
commit
1c898ad5f0
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue