From c3192b25abbc5ef87bea4cdcd37a86ea91a6e9ac Mon Sep 17 00:00:00 2001 From: Ted Green Date: Sat, 21 Oct 2017 12:40:47 -0600 Subject: drcbex64: Change SSE control to not use Denormals-Are-Zero. Allows MIPs DRC to function correctly and fixes mismatch between MIPs DRC and non-DRC modes. Fixes gauntdl MT06724. (nw) --- src/devices/cpu/drcbex64.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/devices/cpu/drcbex64.cpp b/src/devices/cpu/drcbex64.cpp index 1950799624f..1f85f470cd3 100644 --- a/src/devices/cpu/drcbex64.cpp +++ b/src/devices/cpu/drcbex64.cpp @@ -635,10 +635,10 @@ drcbe_x64::drcbe_x64(drcuml_state &drcuml, device_t &device, drc_cache &cache, u // build up necessary arrays static const uint32_t sse_control[4] = { - 0xffc0, // ROUND_TRUNC - 0x9fc0, // ROUND_ROUND - 0xdfc0, // ROUND_CEIL - 0xbfc0 // ROUND_FLOOR + 0xff80, // ROUND_TRUNC + 0x9f80, // ROUND_ROUND + 0xdf80, // ROUND_CEIL + 0xbf80 // ROUND_FLOOR }; memcpy(m_near.ssecontrol, sse_control, sizeof(m_near.ssecontrol)); m_near.single1 = 1.0f; -- cgit v1.2.3