Merge pull request #496 from Sonicadvance1/fix-subfic-round2

Fix ARM Jit's subfic when d != a.
This commit is contained in:
Ryan Houdek 2014-06-15 11:25:39 -05:00
commit 7416b9cdb4

View File

@ -170,7 +170,7 @@ void JitArm::subfic(UGeckoInstruction inst)
// Flags act exactly like subtracting from 0
SUBS(gpr.R(d), gpr.R(d), gpr.R(a));
// Output carry is inverted
SetCC(CC_CC);
SetCC(CC_CS);
ORR(tmp, tmp, mask);
SetCC();
STR(tmp, R9, PPCSTATE_OFF(spr[SPR_XER]));