Turn fpAccurateFcmp off by default. Shouldn't cause any problems and should give you a small speedup (a few fps in ZWW for example) with the regular JIT. Let me know if anything breaks.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3849 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-07-19 10:28:22 +00:00
parent 9ccf22093d
commit 486445c6c7
3 changed files with 3 additions and 3 deletions

View File

@ -210,7 +210,7 @@ void Jit64::Init()
jo.enableFastMem = false; jo.enableFastMem = false;
#endif #endif
jo.assumeFPLoadFromMem = true; jo.assumeFPLoadFromMem = true;
jo.fpAccurateFlags = true; jo.fpAccurateFcmp = Core::GetStartupParameter().bEnableFPRF;
jo.optimizeGatherPipe = true; jo.optimizeGatherPipe = true;
jo.fastInterrupts = false; jo.fastInterrupts = false;
jo.accurateSinglePrecision = true; jo.accurateSinglePrecision = true;

View File

@ -131,7 +131,7 @@ private:
bool optimizeStack; bool optimizeStack;
bool assumeFPLoadFromMem; bool assumeFPLoadFromMem;
bool enableBlocklink; bool enableBlocklink;
bool fpAccurateFlags; bool fpAccurateFcmp;
bool enableFastMem; bool enableFastMem;
bool optimizeGatherPipe; bool optimizeGatherPipe;
bool fastInterrupts; bool fastInterrupts;

View File

@ -211,7 +211,7 @@ void Jit64::fcmpx(UGeckoInstruction inst)
if(Core::g_CoreStartupParameter.bJITOff || Core::g_CoreStartupParameter.bJITFloatingPointOff) if(Core::g_CoreStartupParameter.bJITOff || Core::g_CoreStartupParameter.bJITFloatingPointOff)
{Default(inst); return;} // turn off from debugger {Default(inst); return;} // turn off from debugger
INSTRUCTION_START; INSTRUCTION_START;
if (jo.fpAccurateFlags) if (jo.fpAccurateFcmp)
{ {
Default(inst); Default(inst);
return; return;