Skip to content

Commit

Permalink
Merge pull request #9812 from JosJuice/fprf-x64-neg-zero
Browse files Browse the repository at this point in the history
Jit64: Fix FPRF non-SSE4.1 handling of negative zero
  • Loading branch information
Tilka committed Jun 27, 2021
2 parents 52fb2fa + be194df commit 4166567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ void EmuCodeBlock::SetFPRF(Gen::X64Reg xmm)
Common::PPC_FPCLASS_PINF));
continue3 = J();
SetJumpTarget(zeroExponent);
TEST(64, R(RSCRATCH), R(RSCRATCH));
TEST(64, R(RSCRATCH), MConst(psDoubleNoSign));
FixupBranch zero = J_CC(CC_Z);
SHR(64, R(RSCRATCH), Imm8(63));
LEA(32, RSCRATCH,
Expand Down

0 comments on commit 4166567

Please sign in to comment.