From 8e0164df9619bd14092ed82ebdba71140080d09c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 10 Mar 2022 18:05:07 -0800 Subject: [PATCH] Fix for some missing macros --- core/fpu_ctrl.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 +#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"