mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
only include SSE3 headers if compiling with SSE3 support
This commit is contained in:
parent
4754fa4868
commit
4f6d7abc87
@ -9,10 +9,12 @@
|
|||||||
#define EIGEN_VECTORIZE_SSE
|
#define EIGEN_VECTORIZE_SSE
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
#include <xmmintrin.h>
|
#include <xmmintrin.h>
|
||||||
// SSE3:
|
#ifdef __SSE3__
|
||||||
#include <pmmintrin.h>
|
#include <pmmintrin.h>
|
||||||
// SSSE3:
|
#endif
|
||||||
|
//#ifdef __SSSE3__
|
||||||
//#include <tmmintrin.h>
|
//#include <tmmintrin.h>
|
||||||
|
//#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef __ALTIVEC__ // There are zero chances of both __SSE2__ AND __ALTIVEC__ been defined
|
#ifdef __ALTIVEC__ // There are zero chances of both __SSE2__ AND __ALTIVEC__ been defined
|
||||||
#define EIGEN_VECTORIZE
|
#define EIGEN_VECTORIZE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user