[AArch64] Fix addcx.

This commit is contained in:
Ryan Houdek 2015-01-25 03:17:14 -06:00
parent 6791a808b6
commit 2483f7b359

View File

@ -702,7 +702,7 @@ void JitArm64::addcx(UGeckoInstruction inst)
if (gpr.IsImm(a) && gpr.IsImm(b)) if (gpr.IsImm(a) && gpr.IsImm(b))
{ {
u32 i = gpr.GetImm(a), j = gpr.GetImm(b); u32 i = gpr.GetImm(a), j = gpr.GetImm(b);
gpr.SetImmediate(d, i * j); gpr.SetImmediate(d, i + j);
bool has_carry = Interpreter::Helper_Carry(i, j); bool has_carry = Interpreter::Helper_Carry(i, j);
ComputeCarry(has_carry); ComputeCarry(has_carry);