aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2019-02-15 10:30:28 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2019-02-15 10:30:28 +0100
commit559320745e87984fd863b535932105177e5ad795 (patch)
treef916257d986d533b17cd12f4f1637c25196f6d82
parentd85ae650bf0baa55956e11489888f62b60530e70 (diff)
bug #1678: Fix lack of __FMA__ macro on MSVC with AVX512
-rw-r--r--Eigen/src/Core/util/ConfigureVectorization.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/ConfigureVectorization.h b/Eigen/src/Core/util/ConfigureVectorization.h
index 68765d4b2..b00d8b038 100644
--- a/Eigen/src/Core/util/ConfigureVectorization.h
+++ b/Eigen/src/Core/util/ConfigureVectorization.h
@@ -261,7 +261,7 @@
#define EIGEN_VECTORIZE_FMA
#endif
#if defined(__AVX512F__)
- #ifndef __FMA__
+ #ifndef EIGEN_VECTORIZE_FMA
#if EIGEN_COMP_GNUC
#error Please add -mfma to your compiler flags: compiling with -mavx512f alone without SSE/AVX FMA is not supported (bug 1638).
#else