From 7bd41a3b55a5dacf7bfb946991aa5581041c08cd Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 25 Mar 2018 15:32:59 -0400 Subject: [PATCH] Jit64/Jit_Integer: Remove dead code in arithXex() The conditional this code is within already checks whether d == b, so this conditional will never be true. --- Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp index 241a5fe52b..86dceb7d07 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp @@ -1354,8 +1354,6 @@ void Jit64::arithXex(UGeckoInstruction inst) { if (!js.carryFlagInverted) CMC(); - if (d != b) - MOV(32, gpr.R(d), gpr.R(b)); SBB(32, gpr.R(d), gpr.R(a)); invertedCarry = true; }