add SSE4 support, start with integer multiplication

This commit is contained in:
Benoit Jacob
2009-11-24 15:12:43 -05:00
parent abdb2a2bd5
commit 684d76eba3
4 changed files with 49 additions and 15 deletions

View File

@@ -67,6 +67,12 @@
#ifdef __SSSE3__
#include <tmmintrin.h>
#endif
#ifdef __SSE4_1__
#include <smmintrin.h>
#endif
#ifdef __SSE4_2__
#include <nmmintrin.h>
#endif
#elif defined __ALTIVEC__
#define EIGEN_VECTORIZE
#define EIGEN_VECTORIZE_ALTIVEC