diff options
-rw-r--r-- | core/fpu_ctrl.cpp | 5 |
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" |