aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-05-08 09:15:16 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-05-08 09:15:16 +0000
commit4f6d7abc8776f508178e7928001f66304c468262 (patch)
treef0c721bc47708440dfe5a29cc1bac51cf4ec9e5f /Eigen
parent4754fa48688fa65a4dae003a8a35eabef89b7370 (diff)
only include SSE3 headers if compiling with SSE3 support
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/Core6
1 files changed, 4 insertions, 2 deletions
diff --git a/Eigen/Core b/Eigen/Core
index cc05c308e..aec206aea 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -9,10 +9,12 @@
#define EIGEN_VECTORIZE_SSE
#include <emmintrin.h>
#include <xmmintrin.h>
-// SSE3:
+#ifdef __SSE3__
#include <pmmintrin.h>
-// SSSE3:
+#endif
+//#ifdef __SSSE3__
//#include <tmmintrin.h>
+//#endif
#endif
#ifdef __ALTIVEC__ // There are zero chances of both __SSE2__ AND __ALTIVEC__ been defined
#define EIGEN_VECTORIZE