aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-22 16:31:43 -0700
committerChris Robinson <[email protected]>2013-05-22 16:31:43 -0700
commitb80efeb87d719fc87501e9042ff2bfe4bf38e739 (patch)
tree3587fe896221e01049d8922ff7875ca0838a62c6 /Alc/helpers.c
parent52efb8d7f43e85659bc84455361f8685a5f493ed (diff)
Set the correct SSE bits for round-to-zero
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 36934ca4..9e347396 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -205,7 +205,7 @@ void SetMixerFPUMode(FPUCtl *ctl)
int sseState;
__asm__ __volatile__("stmxcsr %0" : "=m" (*&sseState));
ctl->sse_state = sseState;
- sseState |= 0x0C00; /* set round-to-zero */
+ sseState |= 0x6000; /* set round-to-zero */
sseState |= 0x8000; /* set flush-to-zero */
__asm__ __volatile__("ldmxcsr %0" : : "m" (*&sseState));
}