10 #ifndef EIGEN_COMPLEX_NEON_H    11 #define EIGEN_COMPLEX_NEON_H    54   r64 = vld1_f32((
float *)&from);
    65   return Packet2cf(vreinterpretq_f32_u32(veorq_u32(b, p4ui_CONJ_XOR)));
    73   v1 = vcombine_f32(vdup_lane_f32(vget_low_f32(a.v), 0), vdup_lane_f32(vget_high_f32(a.v), 0));
    75   v2 = vcombine_f32(vdup_lane_f32(vget_low_f32(a.v), 1), vdup_lane_f32(vget_high_f32(a.v), 1));
    77   v1 = vmulq_f32(v1, b.v);
    79   v2 = vmulq_f32(v2, b.v);
    81   v2 = vreinterpretq_f32_u32(veorq_u32(vreinterpretq_u32_f32(v2), p4ui_CONJ_XOR));
    90   return Packet2cf(vreinterpretq_f32_u32(vorrq_u32(vreinterpretq_u32_f32(a.v),vreinterpretq_u32_f32(b.v))));
    94   return Packet2cf(vreinterpretq_f32_u32(vorrq_u32(vreinterpretq_u32_f32(a.v),vreinterpretq_u32_f32(b.v))));
    98   return Packet2cf(vreinterpretq_f32_u32(veorq_u32(vreinterpretq_u32_f32(a.v),vreinterpretq_u32_f32(b.v))));
   102   return Packet2cf(vreinterpretq_f32_u32(vbicq_u32(vreinterpretq_u32_f32(a.v),vreinterpretq_u32_f32(b.v))));
   113 template<> 
EIGEN_STRONG_INLINE void prefetch<std::complex<float> >(
const std::complex<float> *   addr) { 
__pld((
float *)addr); }
   118   vst1q_f32((
float *)x, a.v);
   124   float32x2_t a_lo, a_hi;
   127   a_lo = vget_low_f32(a.
v);
   128   a_hi = vget_high_f32(a.
v);
   129   a_r128 = vcombine_f32(a_hi, a_lo);
   142   std::complex<float> 
s;
   144   a1 = vget_low_f32(a.
v);
   145   a2 = vget_high_f32(a.
v);
   146   a2 = vadd_f32(a1, a2);
   147   vst1_f32((
float *)&s, a2);
   157   sum1 = vcombine_f32(vget_low_f32(vecs[0].
v), vget_low_f32(vecs[1].v));
   158   sum2 = vcombine_f32(vget_high_f32(vecs[0].v), vget_high_f32(vecs[1].v));
   159   sum = vaddq_f32(sum1, sum2);
   166   float32x2_t a1, a2, v1, v2, prod;
   167   std::complex<float> 
s;
   169   a1 = vget_low_f32(a.
v);
   170   a2 = vget_high_f32(a.
v);
   172   v1 = vdup_lane_f32(a1, 0);
   174   v2 = vdup_lane_f32(a1, 1);
   176   v1 = vmul_f32(v1, a2);
   178   v2 = vmul_f32(v2, a2);
   180   v2 = vreinterpret_f32_u32(veor_u32(vreinterpret_u32_f32(v2), p2ui_CONJ_XOR));
   184   prod = vadd_f32(v1, v2);
   186   vst1_f32((
float *)&s, prod);
   198       first.
v = vextq_f32(first.
v, second.
v, 2);
   203 template<> 
struct conj_helper<Packet2cf, Packet2cf, false,true>
   214 template<> 
struct conj_helper<Packet2cf, Packet2cf, true,false>
   225 template<> 
struct conj_helper<Packet2cf, Packet2cf, true,true>
   243   s = vmulq_f32(b.v, b.v);
   244   rev_s = vrev64q_f32(s);
   253 #endif // EIGEN_COMPLEX_NEON_H EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf &a, const Packet2cf &b) const 
#define EIGEN_STRONG_INLINE
EIGEN_STRONG_INLINE Packet2cf por< Packet2cf >(const Packet2cf &a, const Packet2cf &b)
EIGEN_STRONG_INLINE Packet2cf preduxp< Packet2cf >(const Packet2cf *vecs)
#define EIGEN_DEBUG_UNALIGNED_LOAD
EIGEN_STRONG_INLINE Packet2cf pmul< Packet2cf >(const Packet2cf &a, const Packet2cf &b)
static uint32x2_t p2ui_CONJ_XOR
EIGEN_STRONG_INLINE Packet2cf ploadu< Packet2cf >(const std::complex< float > *from)
#define EIGEN_DEBUG_ALIGNED_STORE
EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet2cf &x, const Packet2cf &y, const Packet2cf &c) const 
EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet2cf &x, const Packet2cf &y, const Packet2cf &c) const 
EIGEN_STRONG_INLINE Packet2cf pload< Packet2cf >(const std::complex< float > *from)
EIGEN_STRONG_INLINE Packet2cf pset1< Packet2cf >(const std::complex< float > &from)
EIGEN_STRONG_INLINE std::complex< float > pfirst< Packet2cf >(const Packet2cf &a)
#define EIGEN_DEBUG_UNALIGNED_STORE
#define EIGEN_DEBUG_ALIGNED_LOAD
EIGEN_STRONG_INLINE Packet2cf psub< Packet2cf >(const Packet2cf &a, const Packet2cf &b)
void pstore(Scalar *to, const Packet &from)
EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf &a, const Packet2cf &b) const 
EIGEN_STRONG_INLINE Packet2cf(const Packet4f &a)
EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet2cf &x, const Packet2cf &y, const Packet2cf &c) const 
void pstoreu(Scalar *to, const Packet &from)
#define EIGEN_INIT_NEON_PACKET2(X, Y)
EIGEN_STRONG_INLINE Packet4f ploadu< Packet4f >(const float *from)
EIGEN_STRONG_INLINE Packet2cf pand< Packet2cf >(const Packet2cf &a, const Packet2cf &b)
EIGEN_STRONG_INLINE Packet2cf()
EIGEN_STRONG_INLINE std::complex< float > predux_mul< Packet2cf >(const Packet2cf &a)
EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf &a, const Packet2cf &b) const 
TFSIMD_FORCE_INLINE const tfScalar & x() const 
EIGEN_STRONG_INLINE Packet2cf pconj(const Packet2cf &a)
#define EIGEN_INIT_NEON_PACKET4(X, Y, Z, W)
EIGEN_STRONG_INLINE std::complex< float > predux< Packet2cf >(const Packet2cf &a)
EIGEN_STRONG_INLINE Packet2cf ploaddup< Packet2cf >(const std::complex< float > *from)
EIGEN_STRONG_INLINE Packet4f pload< Packet4f >(const float *from)
Packet pdiv(const Packet &a, const Packet &b)
EIGEN_STRONG_INLINE Packet2cf pnegate(const Packet2cf &a)
static EIGEN_STRONG_INLINE void run(Packet2cf &first, const Packet2cf &second)
EIGEN_STRONG_INLINE Packet4f padd< Packet4f >(const Packet4f &a, const Packet4f &b)
__vector unsigned int Packet4ui
static Packet4ui p4ui_CONJ_XOR
Packet pmul(const Packet &a, const Packet &b)
std::complex< float > type
EIGEN_STRONG_INLINE Packet2cf pxor< Packet2cf >(const Packet2cf &a, const Packet2cf &b)
EIGEN_STRONG_INLINE Packet2cf padd< Packet2cf >(const Packet2cf &a, const Packet2cf &b)
EIGEN_STRONG_INLINE Packet4f psub< Packet4f >(const Packet4f &a, const Packet4f &b)
EIGEN_STRONG_INLINE Packet2cf pandnot< Packet2cf >(const Packet2cf &a, const Packet2cf &b)
Packet padd(const Packet &a, const Packet &b)
EIGEN_STRONG_INLINE Packet2cf pdiv< Packet2cf >(const Packet2cf &a, const Packet2cf &b)
EIGEN_STRONG_INLINE Packet2cf pcplxflip< Packet2cf >(const Packet2cf &x)
EIGEN_STRONG_INLINE Packet2cf preverse(const Packet2cf &a)