mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-17 18:09:55 +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
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user