Permalink
Browse files

EmuCodeBlock: remove redundant instructions

Their result is overwritten by a subsequent MOV.
  • Loading branch information...
Sintendo committed Sep 16, 2018
1 parent 0e0fd18 commit e3b424facdcf21b06cbe5e75c0e437b6e690b401
Showing with 0 additions and 2 deletions.
  1. +0 −2 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);

0 comments on commit e3b424f

Please sign in to comment.