diff options
author | 2008-05-08 09:15:16 +0000 | |
---|---|---|
committer | 2008-05-08 09:15:16 +0000 | |
commit | 4f6d7abc8776f508178e7928001f66304c468262 (patch) | |
tree | f0c721bc47708440dfe5a29cc1bac51cf4ec9e5f /Eigen | |
parent | 4754fa48688fa65a4dae003a8a35eabef89b7370 (diff) |
only include SSE3 headers if compiling with SSE3 support
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/Core | 6 |
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 |