diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-09-21 14:20:41 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-09-21 14:20:41 +0200 |
commit | c331c092d5bb7f9c4d8f0067198a8b9c9cb79e79 (patch) | |
tree | 6628e84879ce44328f3c5beb8b10602f6db3ea76 /Eigen/src/Core/arch/SSE/PacketMath.h | |
parent | 7301f4345c31f0f8c74cabbcd576b2bce64ffad6 (diff) |
no comment
Diffstat (limited to 'Eigen/src/Core/arch/SSE/PacketMath.h')
-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 4d8468146..a4cffb804 100644 --- a/Eigen/src/Core/arch/SSE/PacketMath.h +++ b/Eigen/src/Core/arch/SSE/PacketMath.h @@ -115,7 +115,7 @@ template<> struct unpacket_traits<Packet4i> { typedef int type; enum {size=4} // TODO: It has been detected with win64 builds (amd64), so let's check whether it also happens in 32bits+SSE mode // TODO: let's check whether there does not exist a better fix, like adding a pset0() function. (it crashed on pset1(0)). template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { return _mm_set_ps(from,from,from,from); } -template<> EIGEN_STRONG_INLINE Packet2d pset1<Packet2d>(const double& from) { return _mm_set_pd(from,from,from,from); } +template<> EIGEN_STRONG_INLINE Packet2d pset1<Packet2d>(const double& from) { return _mm_set_pd(from,from); } template<> EIGEN_STRONG_INLINE Packet4i pset1<Packet4i>(const int& from) { return _mm_set_epi32(from,from,from,from); } #else template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { return _mm_set1_ps(from); } |