aboutsummaryrefslogtreecommitdiffstats
path: root/core/fpu_ctrl.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-03-10 18:05:07 -0800
committerChris Robinson <[email protected]>2022-03-10 18:05:07 -0800
commit8e0164df9619bd14092ed82ebdba71140080d09c (patch)
treef3a1351f045cfc4a444a916b245d6ee007be8395 /core/fpu_ctrl.cpp
parent609ee742115aa10139d5e4c3f8915306751c227f (diff)
Fix for some missing macros
Diffstat (limited to 'core/fpu_ctrl.cpp')
-rw-r--r--core/fpu_ctrl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/fpu_ctrl.cpp b/core/fpu_ctrl.cpp
index bc398448..0cf0d6e7 100644
--- a/core/fpu_ctrl.cpp
+++ b/core/fpu_ctrl.cpp
@@ -8,6 +8,11 @@
#endif
#ifdef HAVE_SSE_INTRINSICS
#include <emmintrin.h>
+#ifndef _MM_DENORMALS_ZERO_MASK
+/* Some headers seem to be missing these? */
+#define _MM_DENORMALS_ZERO_MASK 0x0040u
+#define _MM_DENORMALS_ZERO_ON 0x0040u
+#endif
#endif
#include "cpu_caps.h"