win, msvc: enable FMA macro for MSVC
@@ -197,6 +197,11 @@ glmm_store3(float v[3], __m128 vx) {
_mm_store_ss(&v[2], glmm_shuff1(vx, 2, 2, 2, 2));
}
+/* enable FMA macro for MSVC? */
+#if !defined(__FMA__) && defined(__AVX2__)
+# define __FMA__ 1
+#endif
+
static inline
__m128
glmm_fmadd(__m128 a, __m128 b, __m128 c) {
