Merge pull request #9821 from JosJuice/jitarm64-sbc-subfzex

JitArm64: Use SBC/SBCS for emulating subfzex
This commit is contained in:
Markus Wick 2021-06-17 18:03:55 +02:00 committed by GitHub
commit 3e1a25ead0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1097,8 +1097,7 @@ void JitArm64::subfzex(UGeckoInstruction inst)
} }
case CarryFlag::InHostCarry: case CarryFlag::InHostCarry:
{ {
MVN(gpr.R(d), gpr.R(a)); CARRY_IF_NEEDED(SBC, SBCS, gpr.R(d), ARM64Reg::WZR, gpr.R(a));
CARRY_IF_NEEDED(ADC, ADCS, gpr.R(d), gpr.R(d), ARM64Reg::WZR);
ComputeCarry(); ComputeCarry();
break; break;
} }