fix enabling FMA macro for MSVC

This commit is contained in:
Recep Aslantas
2021-04-19 06:04:22 +03:00
parent 12dc054e49
commit 2de1133012

View File

@@ -198,7 +198,7 @@ glmm_store3(float v[3], __m128 vx) {
} }
/* enable FMA macro for MSVC? */ /* enable FMA macro for MSVC? */
#if !defined(__FMA__) && defined(__AVX2__) #if defined(_MSC_VER) && !defined(__FMA__) && defined(__AVX2__)
# define __FMA__ 1 # define __FMA__ 1
#endif #endif