mirror of https://github.com/PCSX2/pcsx2.git
Break up very long recompiled blocks.
Perform a branch test before jumping to the next block. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1058 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
4f08dc6bad
commit
7f096c63ad
|
@ -1219,6 +1219,9 @@ void recompileNextInstruction(int delayslot)
|
||||||
// _freeMMXregs();
|
// _freeMMXregs();
|
||||||
// _flushCachedRegs();
|
// _flushCachedRegs();
|
||||||
// g_cpuHasConstReg = 1;
|
// g_cpuHasConstReg = 1;
|
||||||
|
|
||||||
|
if (!delayslot && x86Ptr - recPtr > 0x1000)
|
||||||
|
s_nEndBlock = pc;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern u32 psxdump;
|
extern u32 psxdump;
|
||||||
|
@ -1724,7 +1727,7 @@ StartRecomp:
|
||||||
|
|
||||||
if( willbranch3 || !branch) {
|
if( willbranch3 || !branch) {
|
||||||
iFlushCall(FLUSH_EVERYTHING);
|
iFlushCall(FLUSH_EVERYTHING);
|
||||||
iBranch(pc, 0);
|
iBranchTest(pc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue