Fix ARM Jit's subfic when d != a.
Missed this path previously, Crazy Taxi hits it.
This commit is contained in:
parent
5a156065d4
commit
78d2322aa0
|
@ -170,7 +170,7 @@ void JitArm::subfic(UGeckoInstruction inst)
|
||||||
// Flags act exactly like subtracting from 0
|
// Flags act exactly like subtracting from 0
|
||||||
SUBS(gpr.R(d), gpr.R(d), gpr.R(a));
|
SUBS(gpr.R(d), gpr.R(d), gpr.R(a));
|
||||||
// Output carry is inverted
|
// Output carry is inverted
|
||||||
SetCC(CC_CC);
|
SetCC(CC_CS);
|
||||||
ORR(tmp, tmp, mask);
|
ORR(tmp, tmp, mask);
|
||||||
SetCC();
|
SetCC();
|
||||||
STR(tmp, R9, PPCSTATE_OFF(spr[SPR_XER]));
|
STR(tmp, R9, PPCSTATE_OFF(spr[SPR_XER]));
|
||||||
|
|
Loading…
Reference in New Issue