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:
parent
ce059769f6
commit
d42305aba0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue