R5900: Made the jump order in branch tests consistent. Very unlikely to impact performance in any way.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3113 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
sudonim1 2010-05-29 08:34:48 +00:00
parent 0f2af9679c
commit acc6965f62
1 changed files with 3 additions and 30 deletions

View File

@ -1110,39 +1110,12 @@ static void iBranchTest(u32 newpc)
xSUB(eax, &g_nextBranchCycle);
if (newpc == 0xffffffff)
{
xJNS( DispatcherEvent );
xJMP( DispatcherReg );
}
xJS( DispatcherReg );
else
{
recBlocks.Link( HWADDR(newpc), xJcc32( Jcc_Signed ) );
xJMP( DispatcherEvent );
}
}
recBlocks.Link(HWADDR(newpc), xJcc32(Jcc_Signed));
/*
else
{
xMOV(eax, &cpuRegs.cycle);
xADD(eax, eeScaleBlockCycles());
xMOV(&cpuRegs.cycle, eax); // update cycles
xSUB(eax, &g_nextBranchCycle);
if (!noDispatch)
{
if (newpc == 0xffffffff)
xJS( DispatcherReg );
else
{
xMOV( ptr32[&cpuRegs.pc], newpc );
recBlocks.Link( HWADDR(newpc), xJcc32( Jcc_Signed ) );
}
}
xJMP( DispatcherEvent );
}
xCALL( recEventTest );
xJMP( DispatcherReg );
*/
}
void recompileNextInstruction(int delayslot)