From 225ab040e078b923ece75b7a49ae0cef980c226f Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Thu, 7 May 2020 17:14:26 -0700 Subject: Remove unused packet op "palign". Clean up a compiler warning in c++03 mode in AVX512/Complex.h. --- Eigen/src/Core/arch/SSE/Complex.h | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'Eigen/src/Core/arch/SSE/Complex.h') diff --git a/Eigen/src/Core/arch/SSE/Complex.h b/Eigen/src/Core/arch/SSE/Complex.h index d6bfeafe4..a16d73e27 100644 --- a/Eigen/src/Core/arch/SSE/Complex.h +++ b/Eigen/src/Core/arch/SSE/Complex.h @@ -161,19 +161,6 @@ template<> EIGEN_STRONG_INLINE std::complex predux_mul(const P return pfirst(pmul(a, Packet2cf(_mm_movehl_ps(a.v,a.v)))); } -template -struct palign_impl -{ - static EIGEN_STRONG_INLINE void run(Packet2cf& first, const Packet2cf& second) - { - if (Offset==1) - { - first.v = _mm_movehl_ps(first.v, first.v); - first.v = _mm_movelh_ps(first.v, second.v); - } - } -}; - template<> struct conj_helper { EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet2cf& x, const Packet2cf& y, const Packet2cf& c) const @@ -346,16 +333,6 @@ template<> EIGEN_STRONG_INLINE std::complex predux_mul(const return pfirst(a); } -template -struct palign_impl -{ - static EIGEN_STRONG_INLINE void run(Packet1cd& /*first*/, const Packet1cd& /*second*/) - { - // FIXME is it sure we never have to align a Packet1cd? - // Even though a std::complex has 16 bytes, it is not necessarily aligned on a 16 bytes boundary... - } -}; - template<> struct conj_helper { EIGEN_STRONG_INLINE Packet1cd pmadd(const Packet1cd& x, const Packet1cd& y, const Packet1cd& c) const -- cgit v1.2.3