Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #496 from Sonicadvance1/fix-subfic-round2
Fix ARM Jit's subfic when d != a.
  • Loading branch information
Sonicadvance1 committed Jun 15, 2014
2 parents 7f7f5c9 + 78d2322 commit 7416b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/JitArm32/JitArm_Integer.cpp
Expand Up @@ -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]));
Expand Down

0 comments on commit 7416b9c

Please sign in to comment.