From def145547fc6abd14236e103b9443a36064f664f Mon Sep 17 00:00:00 2001 From: Antonio Sanchez Date: Thu, 2 Sep 2021 16:21:07 -0700 Subject: [PATCH] Add missing packet types in pset1 call. Oops, introduced this when "fixing" integer packets. --- Eigen/src/Core/arch/AVX/PacketMath.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/third_party/eigen3/src/Eigen/src/Core/arch/AVX/PacketMath.h b/third_party/eigen3/src/Eigen/src/Core/arch/AVX/PacketMath.h index 247ee4efd..8da9031dc 100644 --- a/third_party/eigen3/src/Eigen/src/Core/arch/AVX/PacketMath.h +++ b/third_party/eigen3/src/Eigen/src/Core/arch/AVX/PacketMath.h @@ -274,9 +274,9 @@ template<> EIGEN_STRONG_INLINE Packet8i padd(const Packet8i& a, const #endif } -template<> EIGEN_STRONG_INLINE Packet8f plset(const float& a) { return padd(pset1(a), _mm256_set_ps(7.0,6.0,5.0,4.0,3.0,2.0,1.0,0.0)); } -template<> EIGEN_STRONG_INLINE Packet4d plset(const double& a) { return padd(pset1(a), _mm256_set_pd(3.0,2.0,1.0,0.0)); } -template<> EIGEN_STRONG_INLINE Packet8i plset(const int& a) { return padd(pset1(a), _mm256_set_epi32(7,6,5,4,3,2,1,0)); } +template<> EIGEN_STRONG_INLINE Packet8f plset(const float& a) { return padd(pset1(a), _mm256_set_ps(7.0,6.0,5.0,4.0,3.0,2.0,1.0,0.0)); } +template<> EIGEN_STRONG_INLINE Packet4d plset(const double& a) { return padd(pset1(a), _mm256_set_pd(3.0,2.0,1.0,0.0)); } +template<> EIGEN_STRONG_INLINE Packet8i plset(const int& a) { return padd(pset1(a), _mm256_set_epi32(7,6,5,4,3,2,1,0)); } template<> EIGEN_STRONG_INLINE Packet8f psub(const Packet8f& a, const Packet8f& b) { return _mm256_sub_ps(a,b); } template<> EIGEN_STRONG_INLINE Packet4d psub(const Packet4d& a, const Packet4d& b) { return _mm256_sub_pd(a,b); } -- GitLab