mirror of
https://github.com/holub/mame
synced 2025-07-02 00:29:37 +03:00
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)
This commit is contained in:
parent
4ba1b37392
commit
c3192b25ab
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user