diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStorePaired.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStorePaired.cpp index 725826dd23..1f3426bd47 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStorePaired.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStorePaired.cpp @@ -58,10 +58,8 @@ void JitArm64::psq_lXX(UGeckoInstruction inst) { if (indexed) ADD(addr_reg, gpr.R(inst.RA), gpr.R(inst.RB)); - else if (offset >= 0) - ADD(addr_reg, gpr.R(inst.RA), offset); else - SUB(addr_reg, gpr.R(inst.RA), std::abs(offset)); + ADDI2R(addr_reg, gpr.R(inst.RA), offset, addr_reg); } else { @@ -217,10 +215,8 @@ void JitArm64::psq_stXX(UGeckoInstruction inst) { if (indexed) ADD(addr_reg, gpr.R(inst.RA), gpr.R(inst.RB)); - else if (offset >= 0) - ADD(addr_reg, gpr.R(inst.RA), offset); else - SUB(addr_reg, gpr.R(inst.RA), std::abs(offset)); + ADDI2R(addr_reg, gpr.R(inst.RA), offset, addr_reg); } else {