We can reject sequences with 4 intervening cop2 operations because the one cycle stall when coissuing with a cop2 move brings it up to 5 cycles. Not sure about 4 cop2 moves, I think that's okay but I'm not confident.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5736 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
sudonim1@gmail.com 2013-10-13 23:56:12 +00:00
parent 6f763e8221
commit b256bb36ec
1 changed files with 1 additions and 1 deletions

View File

@ -1395,7 +1395,7 @@ void recompileNextInstruction(int delayslot)
{
int s = cop2flags(cpuRegs.code);
int all_count = 0, cop2o_count = 0, cop2m_count = 0;
for (u32 p = pc; s != 0 && p < s_nEndBlock && all_count < 10 && cop2m_count < 5 && cop2o_count < 5; p += 4)
for (u32 p = pc; s != 0 && p < s_nEndBlock && all_count < 10 && cop2m_count < 5 && cop2o_count < 4; p += 4)
{
// I am so sorry.
cpuRegs.code = memRead32(p);