aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/arch/NEON/Complex.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-07-20 14:24:01 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-07-20 14:24:01 +0200
commitced1a45f82684ab18cbe4d830f6832407cabadb3 (patch)
tree6ce3ee31975aa924d33daf3e5e20e600de48ab35 /Eigen/src/Core/arch/NEON/Complex.h
parent193eedbfe2380cfc5d9ac84d68ba1275da28c416 (diff)
add NEON ploaddup and pcplxflip functions
Diffstat (limited to 'Eigen/src/Core/arch/NEON/Complex.h')
-rw-r--r--Eigen/src/Core/arch/NEON/Complex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Eigen/src/Core/arch/NEON/Complex.h b/Eigen/src/Core/arch/NEON/Complex.h
index 6d9e8da85..9678040e7 100644
--- a/Eigen/src/Core/arch/NEON/Complex.h
+++ b/Eigen/src/Core/arch/NEON/Complex.h
@@ -141,6 +141,11 @@ template<> EIGEN_STRONG_INLINE Packet2cf ei_preverse(const Packet2cf& a)
return Packet2cf(a_r128);
}
+EIGEN_STRONG_INLINE Packet2cf ei_pcplxflip/*<Packet2cf>*/(const Packet2cf& x)
+{
+ return Packet2cf(vrev64q_f32(a.v));
+}
+
template<> EIGEN_STRONG_INLINE std::complex<float> ei_predux<Packet2cf>(const Packet2cf& a)
{
float32x2_t a1, a2;