diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp index 25b27e465b..494969b71f 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp @@ -1342,6 +1342,14 @@ void Jit64::addx(UGeckoInstruction inst) { LEA(32, Rd, MRegSum(Ra.GetSimpleReg(), Rb.GetSimpleReg())); } + else if (Ra.IsSimpleReg() && Rb.IsImm() && !inst.OE) + { + LEA(32, Rd, MDisp(Ra.GetSimpleReg(), Rb.SImm32())); + } + else if (Rb.IsSimpleReg() && Ra.IsImm() && !inst.OE) + { + LEA(32, Rd, MDisp(Rb.GetSimpleReg(), Ra.SImm32())); + } else { MOV(32, Rd, Ra);