diff options
author | Andy May <ajmay81@gmail.com> | 2019-04-25 21:23:19 +0100 |
---|---|---|
committer | Andy May <ajmay81@gmail.com> | 2019-04-25 21:23:19 +0100 |
commit | ae33e866c750c6c24ada5c6f7f3ec15815d0e683 (patch) | |
tree | e36c8fdbe72aa59d360e6f4df860febdb40586bc /Eigen/src/Core/arch/SSE | |
parent | 665ac22cc6b1cb86a3f9200e0b6b9eb7dbdc834e (diff) |
Fix compilation with PGI version 19
Diffstat (limited to 'Eigen/src/Core/arch/SSE')
-rwxr-xr-x | Eigen/src/Core/arch/SSE/PacketMath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/arch/SSE/PacketMath.h b/Eigen/src/Core/arch/SSE/PacketMath.h index 04b63601b..d7f610550 100755 --- a/Eigen/src/Core/arch/SSE/PacketMath.h +++ b/Eigen/src/Core/arch/SSE/PacketMath.h @@ -550,7 +550,7 @@ template<> EIGEN_STRONG_INLINE void pstore1<Packet2d>(double* to, const double& pstore(to, Packet2d(vec2d_swizzle1(pa,0,0))); } -#if EIGEN_COMP_PGI +#if EIGEN_COMP_PGI < 1900 typedef const void * SsePrefetchPtrType; #else typedef const char * SsePrefetchPtrType; @@ -1051,7 +1051,7 @@ template<> EIGEN_STRONG_INLINE double pmadd(const double& a, const double& b, co } // end namespace Eigen -#if EIGEN_COMP_PGI +#if EIGEN_COMP_PGI < 1900 // 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 __m128i _mm_castpd_si128(__m128d x) { return reinterpret_cast<__m128i&>(x); } |