From e3b424facdcf21b06cbe5e75c0e437b6e690b401 Mon Sep 17 00:00:00 2001 From: Sintendo Date: Sun, 16 Sep 2018 22:02:41 +0200 Subject: [PATCH] EmuCodeBlock: remove redundant instructions Their result is overwritten by a subsequent MOV. --- Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp b/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp index 77cccda463..f726ce0c10 100644 --- a/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp +++ b/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp @@ -1056,8 +1056,6 @@ void EmuCodeBlock::SetFPRF(Gen::X64Reg xmm) MScaled(RSCRATCH, Common::PPC_FPCLASS_NN - Common::PPC_FPCLASS_PN, Common::PPC_FPCLASS_PN)); continue1 = J(); SetJumpTarget(nan); - MOVQ_xmm(R(RSCRATCH), xmm); - SHR(64, R(RSCRATCH), Imm8(63)); MOV(32, R(RSCRATCH), Imm32(Common::PPC_FPCLASS_QNAN)); continue2 = J(); SetJumpTarget(infinity);