Merge pull request #1605 from FioraAeterna/fixcrormerge

JIT: fix fcmp+cror merging bug
This commit is contained in:
Ryan Houdek 2014-11-28 22:39:13 -06:00
commit 5003618587

View file

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