summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2018-05-29 23:19:39 +0200
committerdegasus <wickmarkus@web.de>2018-05-29 23:25:30 +0200
commitbde65d8b42978da2f4de9dd306eda3978c5d6795 (patch)
tree2b31d33b923cb58fe18bbd7b30e25aeb6d9e1a78 /Source/Core
parent2beb135bdf502236139315de3d415f79d0598205 (diff)
Jit64: Fix MORE_ACCURATE_DOUBLETOSINGLE.
This is broken since 3d12849967277b81966e443940f5eb3668ff1ab4.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp b/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp
index e00f3ada1a..8c437ac5f6 100644
--- a/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp
+++ b/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.cpp
@@ -885,6 +885,8 @@ alignas(16) static const __m128i double_sign_bit = _mm_set_epi64x(0, 0x800000000
alignas(16) static const __m128i double_explicit_top_bit = _mm_set_epi64x(0, 0x0010000000000000);
alignas(16) static const __m128i double_top_two_bits = _mm_set_epi64x(0, 0xc000000000000000);
alignas(16) static const __m128i double_bottom_bits = _mm_set_epi64x(0, 0x07ffffffe0000000);
+alignas(16) static const __m128i double_qnan_bit = _mm_set_epi64x(0xffffffffffffffff,
+ 0xfff7ffffffffffff);
// This is the same algorithm used in the interpreter (and actual hardware)
// The documentation states that the conversion of a double with an outside the