JitArm64: addex - Skip temp reg allocation

This commit is contained in:
Bram Speeckaert 2024-05-04 17:22:38 +02:00
parent 5d647251f7
commit defe97d9f1
1 changed files with 3 additions and 4 deletions

View File

@ -1435,10 +1435,9 @@ void JitArm64::addex(UGeckoInstruction inst)
} }
case CarryFlag::InHostCarry: case CarryFlag::InHostCarry:
{ {
ARM64Reg WA = gpr.GetReg(); ARM64Reg RD = gpr.R(d);
MOVI2R(WA, i + j); MOVI2R(RD, i + j);
ADC(gpr.R(d), WA, ARM64Reg::WZR); ADC(RD, RD, ARM64Reg::WZR);
gpr.Unlock(WA);
break; break;
} }
case CarryFlag::ConstantTrue: case CarryFlag::ConstantTrue: