diff options
author | Chris Robinson <[email protected]> | 2022-03-10 18:05:07 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-03-10 18:05:07 -0800 |
commit | 8e0164df9619bd14092ed82ebdba71140080d09c (patch) | |
tree | f3a1351f045cfc4a444a916b245d6ee007be8395 /core/fpu_ctrl.cpp | |
parent | 609ee742115aa10139d5e4c3f8915306751c227f (diff) |
Fix for some missing macros
Diffstat (limited to 'core/fpu_ctrl.cpp')
-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" |