mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
we should not directly include the *mmintrin.h headers but include immintrin.h only
This commit is contained in:
parent
1edb396542
commit
7e97dd5bd8
15
Eigen/Core
15
Eigen/Core
@ -87,20 +87,7 @@
|
|||||||
// so, to avoid compile errors when windows.h is included after Eigen/Core, ensure intrinsics are extern "C" here too.
|
// so, to avoid compile errors when windows.h is included after Eigen/Core, ensure intrinsics are extern "C" here too.
|
||||||
// notice that since these are C headers, the extern "C" is theoretically needed anyways.
|
// notice that since these are C headers, the extern "C" is theoretically needed anyways.
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include <emmintrin.h>
|
#include <immintrin.h>
|
||||||
#include <xmmintrin.h>
|
|
||||||
#ifdef EIGEN_VECTORIZE_SSE3
|
|
||||||
#include <pmmintrin.h>
|
|
||||||
#endif
|
|
||||||
#ifdef EIGEN_VECTORIZE_SSSE3
|
|
||||||
#include <tmmintrin.h>
|
|
||||||
#endif
|
|
||||||
#ifdef EIGEN_VECTORIZE_SSE4_1
|
|
||||||
#include <smmintrin.h>
|
|
||||||
#endif
|
|
||||||
#ifdef EIGEN_VECTORIZE_SSE4_2
|
|
||||||
#include <nmmintrin.h>
|
|
||||||
#endif
|
|
||||||
} // end extern "C"
|
} // end extern "C"
|
||||||
#elif defined __ALTIVEC__
|
#elif defined __ALTIVEC__
|
||||||
#define EIGEN_VECTORIZE
|
#define EIGEN_VECTORIZE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user