mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-17 07:49:21 +00:00
JitArm64: Fix RC calculation of srawix.
Seems like it was missed from the early implementation.
This commit is contained in:
parent
490dffc791
commit
64378c90da
1 changed files with 6 additions and 0 deletions
|
@ -631,6 +631,9 @@ void JitArm64::srawix(UGeckoInstruction inst)
|
||||||
ComputeCarry(true);
|
ComputeCarry(true);
|
||||||
else
|
else
|
||||||
ComputeCarry(false);
|
ComputeCarry(false);
|
||||||
|
|
||||||
|
if (inst.Rc)
|
||||||
|
ComputeRC0(gpr.GetImm(a));
|
||||||
}
|
}
|
||||||
else if (amount == 0)
|
else if (amount == 0)
|
||||||
{
|
{
|
||||||
|
@ -639,6 +642,9 @@ void JitArm64::srawix(UGeckoInstruction inst)
|
||||||
ARM64Reg RS = gpr.R(s);
|
ARM64Reg RS = gpr.R(s);
|
||||||
MOV(RA, RS);
|
MOV(RA, RS);
|
||||||
ComputeCarry(false);
|
ComputeCarry(false);
|
||||||
|
|
||||||
|
if (inst.Rc)
|
||||||
|
ComputeRC0(RA);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue