mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
[ARM] Fixes srawix implementation.
This commit is contained in:
parent
751fae4965
commit
aaf8e92f78
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
@ -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]));
|
||||
|
|
Loading…
Add table
Reference in a new issue