aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-04-19 15:25:00 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-04-19 15:25:00 +0200
commit67d50f539bbd254dbb6cbe15568888aec99b2535 (patch)
tree16cfced7035b2b224d980dd906a72a0828c76780 /Eigen
parente48bc0dfe3410168a1ebe4a1c7cf06c2d860c549 (diff)
fix bug #242: vectorization was wrongly enabled on MSVC 2005
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/Core12
1 files changed, 6 insertions, 6 deletions
diff --git a/Eigen/Core b/Eigen/Core
index ad86be3dd..a59c4c08c 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -51,16 +51,16 @@
#define EIGEN_SSE2_ON_MSVC_2008_OR_LATER
#endif
#endif
-#endif
-
-// Remember that usage of defined() in a #define is undefined by the standard
-#if (defined __SSE2__) && ( (!defined __GNUC__) || EIGEN_GNUC_AT_LEAST(4,2) )
- #define EIGEN_SSE2_BUT_NOT_OLD_GCC
+#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) )
+ #define EIGEN_SSE2_ON_NON_MSVC_BUT_NOT_OLD_GCC
+ #endif
#endif
#ifndef EIGEN_DONT_VECTORIZE
- #if defined (EIGEN_SSE2_BUT_NOT_OLD_GCC) || defined(EIGEN_SSE2_ON_MSVC_2008_OR_LATER)
+ #if defined (EIGEN_SSE2_ON_NON_MSVC_BUT_NOT_OLD_GCC) || defined(EIGEN_SSE2_ON_MSVC_2008_OR_LATER)
// Defines symbols for compile-time detection of which instructions are
// used.