diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-06-26 05:32:21 +0200 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-06-26 05:32:21 +0200 |
commit | fc9000f23ed5d9c902e2153a5008d9a24adf930c (patch) | |
tree | 4b1ca2602f559db92948ff277e4a9f5bc76819fd /Eigen | |
parent | 6ccb97620aa1206b992f81b048c586a4b9d51d05 (diff) |
only disable the inline ASM if we're NEITHER gcc nor icc. right ??
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/arch/SSE/PacketMath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/SSE/PacketMath.h b/Eigen/src/Core/arch/SSE/PacketMath.h index 660ca61c6..287008b3e 100644 --- a/Eigen/src/Core/arch/SSE/PacketMath.h +++ b/Eigen/src/Core/arch/SSE/PacketMath.h @@ -163,7 +163,7 @@ template<> EIGEN_STRONG_INLINE Packet4f ei_pload<float>(const float* from) { template<> EIGEN_STRONG_INLINE Packet2d ei_pload<double>(const double* from) { return _mm_load_pd(from); } template<> EIGEN_STRONG_INLINE Packet4i ei_pload<int>(const int* from) { return _mm_load_si128(reinterpret_cast<const Packet4i*>(from)); } -#if (!defined __GNUC__) || (!defined __ICC) +#if (!defined __GNUC__) && (!defined __ICC) template<> EIGEN_STRONG_INLINE Packet4f ei_ploadu(const float* from) { return _mm_loadu_ps(from); } template<> EIGEN_STRONG_INLINE Packet2d ei_ploadu<double>(const double* from) { return _mm_loadu_pd(from); } template<> EIGEN_STRONG_INLINE Packet4i ei_ploadu<int>(const int* from) { return _mm_loadu_si128(reinterpret_cast<const Packet4i*>(from)); } |