mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-01 16:24:28 +08:00
Fix compilation with PGI version 19
This commit is contained in:
parent
665ac22cc6
commit
ae33e866c7
@ -550,7 +550,7 @@ template<> EIGEN_STRONG_INLINE void pstore1<Packet2d>(double* to, const double&
|
|||||||
pstore(to, Packet2d(vec2d_swizzle1(pa,0,0)));
|
pstore(to, Packet2d(vec2d_swizzle1(pa,0,0)));
|
||||||
}
|
}
|
||||||
|
|
||||||
#if EIGEN_COMP_PGI
|
#if EIGEN_COMP_PGI < 1900
|
||||||
typedef const void * SsePrefetchPtrType;
|
typedef const void * SsePrefetchPtrType;
|
||||||
#else
|
#else
|
||||||
typedef const char * SsePrefetchPtrType;
|
typedef const char * SsePrefetchPtrType;
|
||||||
@ -1051,7 +1051,7 @@ template<> EIGEN_STRONG_INLINE double pmadd(const double& a, const double& b, co
|
|||||||
|
|
||||||
} // end namespace Eigen
|
} // end namespace Eigen
|
||||||
|
|
||||||
#if EIGEN_COMP_PGI
|
#if EIGEN_COMP_PGI < 1900
|
||||||
// PGI++ does not define the following intrinsics in C++ mode.
|
// PGI++ does not define the following intrinsics in C++ mode.
|
||||||
static inline __m128 _mm_castpd_ps (__m128d x) { return reinterpret_cast<__m128&>(x); }
|
static inline __m128 _mm_castpd_ps (__m128d x) { return reinterpret_cast<__m128&>(x); }
|
||||||
static inline __m128i _mm_castpd_si128(__m128d x) { return reinterpret_cast<__m128i&>(x); }
|
static inline __m128i _mm_castpd_si128(__m128d x) { return reinterpret_cast<__m128i&>(x); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user