JIT: fix fcmp+cror merging bug

Destination CR bit needs to be cleared if it's not one of the sources.
This commit is contained in:
Fiora 2014-11-28 16:11:04 -08:00
parent ce059769f6
commit d42305aba0
1 changed files with 1 additions and 0 deletions

View File

@ -285,6 +285,7 @@ void Jit64::FloatCompare(UGeckoInstruction inst, bool upper)
js.skipnext = true;
js.downcountAmount++;
int dst = 3 - (next.CRBD & 3);
output[3 - (next.CRBD & 3)] &= ~(1 << dst);
output[3 - (next.CRBA & 3)] |= 1 << dst;
output[3 - (next.CRBB & 3)] |= 1 << dst;
}