Enable SSE with ICC even when it mimics a gcc version lower than 4.2

(transplanted from 6eaff5a098
)
This commit is contained in:
Gael Guennebaud
2013-04-11 19:48:34 +02:00
parent 69ff8afea7
commit 2234043f99

View File

@@ -44,7 +44,7 @@
#endif
#else
// Remember that usage of defined() in a #define is undefined by the standard
#if (defined __SSE2__) && ( (!defined __GNUC__) || EIGEN_GNUC_AT_LEAST(4,2) )
#if (defined __SSE2__) && ( (!defined __GNUC__) || (defined __INTEL_COMPILER) || EIGEN_GNUC_AT_LEAST(4,2) )
#define EIGEN_SSE2_ON_NON_MSVC_BUT_NOT_OLD_GCC
#endif
#endif