Linux Speed up

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@362 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2008-08-27 12:47:57 +00:00
parent 6b718a6936
commit a5d51aa2ce

View File

@ -183,11 +183,6 @@ namespace Jit64
#endif #endif
} }
#ifndef _WIN32
#undef INSTRUCTION_START
#define INSTRUCTION_START Default(inst); return;
#endif
void stX(UGeckoInstruction inst) void stX(UGeckoInstruction inst)
{ {
INSTRUCTION_START; INSTRUCTION_START;
@ -263,6 +258,13 @@ namespace Jit64
} }
//Still here? Do regular path. //Still here? Do regular path.
#ifndef _WIN32
if(accessSize == 8)
{
Default(inst);
return;
}
#endif
gpr.Lock(s, a); gpr.Lock(s, a);
gpr.FlushLockX(ABI_PARAM1, ABI_PARAM2); gpr.FlushLockX(ABI_PARAM1, ABI_PARAM2);
MOV(32, R(ABI_PARAM2), gpr.R(a)); MOV(32, R(ABI_PARAM2), gpr.R(a));