From c121e6f390783b8da2c3a67cd71c271238317b64 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 23 Feb 2011 16:31:42 +0100 Subject: implement ploaddup for complex and SSE/NEON even though they are not used in practice --- Eigen/src/Core/arch/NEON/Complex.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Eigen/src/Core/arch/NEON/Complex.h') diff --git a/Eigen/src/Core/arch/NEON/Complex.h b/Eigen/src/Core/arch/NEON/Complex.h index 1665d7ba3..a88354bd3 100644 --- a/Eigen/src/Core/arch/NEON/Complex.h +++ b/Eigen/src/Core/arch/NEON/Complex.h @@ -120,6 +120,8 @@ template<> EIGEN_STRONG_INLINE Packet2cf pandnot(const Packet2cf& a, template<> EIGEN_STRONG_INLINE Packet2cf pload(const std::complex* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload((const float*)from)); } template<> EIGEN_STRONG_INLINE Packet2cf ploadu(const std::complex* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu((const float*)from)); } +template<> EIGEN_STRONG_INLINE Packet2cf ploaddup(const std::complex* from) { return pset1(*from); } + template<> EIGEN_STRONG_INLINE void pstore >(std::complex * to, const Packet2cf& from) { EIGEN_DEBUG_ALIGNED_STORE pstore((float*)to, from.v); } template<> EIGEN_STRONG_INLINE void pstoreu >(std::complex * to, const Packet2cf& from) { EIGEN_DEBUG_UNALIGNED_STORE pstoreu((float*)to, from.v); } -- cgit v1.2.3