summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2021-06-13 16:22:29 +0200
committerJosJuice <josjuice@gmail.com>2021-06-13 16:22:29 +0200
commitbe194dfc9cf15f80069b5f7d66a8d66ccb5b2fc2 (patch)
treea7c97bc2a052ccff30344210286ff0e02c5fe183 /Source
parent2898cf51218f6326107f9c5be141f95f8663b3f9 (diff)
Jit64: Fix FPRF non-SSE4.1 handling of negative zero
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp b/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp
index dbd2cd3497..409b158891 100644
--- a/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp
+++ b/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp
@@ -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,