mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
[AArch64] Fix addzex.
This commit is contained in:
parent
84b90ad1c6
commit
6791a808b6
@ -659,11 +659,13 @@ void JitArm64::addzex(UGeckoInstruction inst)
|
||||
gpr.BindToRegister(d, d == a);
|
||||
ARM64Reg WA = gpr.GetReg();
|
||||
LDRB(INDEX_UNSIGNED, WA, X29, PPCSTATE_OFF(xer_ca));
|
||||
CMP(WA, 1);
|
||||
CSINC(gpr.R(d), gpr.R(a), gpr.R(a), CC_NEQ);
|
||||
CMP(WA, 0);
|
||||
CSINC(gpr.R(d), gpr.R(a), gpr.R(a), CC_EQ);
|
||||
CMP(gpr.R(d), 0);
|
||||
gpr.Unlock(WA);
|
||||
ComputeCarry();
|
||||
if (inst.Rc)
|
||||
ComputeRC(gpr.R(d), 0);
|
||||
}
|
||||
|
||||
void JitArm64::subfx(UGeckoInstruction inst)
|
||||
|
Loading…
x
Reference in New Issue
Block a user