Permalink
Browse files

Merge pull request #7013 from degasus/double2single

Jit64: Fix MORE_ACCURATE_DOUBLETOSINGLE.
  • Loading branch information...
lioncash committed May 30, 2018
2 parents 7f6ae32 + bde65d8 commit 1825e231a35399c86c65fa328871d58cf987eb14
Showing with 2 additions and 0 deletions.
  1. +2 −0 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

0 comments on commit 1825e23

Please sign in to comment.