Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ARM] Fixes srawix implementation.
  • Loading branch information
Sonicadvance1 committed Sep 14, 2013
1 parent 751fae4 commit aaf8e92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Integer.cpp
Expand Up @@ -757,9 +757,9 @@ void JitArm::srawix(UGeckoInstruction inst)
int a = inst.RA;
int s = inst.RS;
int amount = inst.SH;

if (amount != 0)
{
Default(inst); return;
ARMReg RA = gpr.R(a);
ARMReg RS = gpr.R(s);
ARMReg tmp = gpr.GetReg();
Expand All @@ -774,7 +774,7 @@ void JitArm::srawix(UGeckoInstruction inst)

LDR(tmp, R9, PPCSTATE_OFF(spr[SPR_XER]));
BIC(tmp, tmp, mask);
SetCC(CC_EQ);
SetCC(CC_NEQ);
ORR(tmp, tmp, mask);
SetCC();
STR(tmp, R9, PPCSTATE_OFF(spr[SPR_XER]));
Expand Down

0 comments on commit aaf8e92

Please sign in to comment.