Searched refs:Packet4f (Results 1 – 9 of 9) sorted by relevance
/external/eigen/Eigen/src/Core/arch/AltiVec/ |
D | PacketMath.h | 30 typedef __vector float Packet4f; typedef 41 Packet4f p4f_##NAME = (Packet4f) vec_splat_s32(X) 47 Packet4f p4f_##NAME = pset1<Packet4f>(X) 50 Packet4f p4f_##NAME = vreinterpretq_f32_u32(pset1<int>(X)) 59 static Packet4f p4f_COUNTDOWN = { 3.0, 2.0, 1.0, 0.0 }; 70 static Packet4f p4f_ONE = vec_ctf(p4i_ONE, 0); 71 static Packet4f p4f_ZERO_ = (Packet4f) vec_sl((Packet4ui)p4i_MINUS1, (Packet4ui)p4i_MINUS1); 75 typedef Packet4f type; 100 template<> struct unpacket_traits<Packet4f> { typedef float type; enum {size=4}; }; 147 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { [all …]
|
D | Complex.h | 29 EIGEN_STRONG_INLINE explicit Packet2cf(const Packet4f& a) : v(a) {} in Packet2cf() 30 Packet4f v; 61 res.v = pload<Packet4f>((const float *)&from); 63 res.v = ploadu<Packet4f>((const float *)&from); 71 template<> EIGEN_STRONG_INLINE Packet2cf pconj(const Packet2cf& a) { return Packet2cf((Packet4f)vec… 75 Packet4f v1, v2; 85 v2 = (Packet4f) vec_xor((Packet4ui)v2, p4ui_CONJ_XOR); 97 …complex<float>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload<Packet4f>((const float*)fr… 98 …plex<float>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu<Packet4f>((const float*)fr… 120 Packet4f rev_a; [all …]
|
/external/eigen/Eigen/src/Core/arch/NEON/ |
D | PacketMath.h | 29 typedef float32x4_t Packet4f; typedef 34 const Packet4f p4f_##NAME = pset1<Packet4f>(X) 37 const Packet4f p4f_##NAME = vreinterpretq_f32_u32(pset1<int>(X)) 67 typedef Packet4f type; 101 template<> struct unpacket_traits<Packet4f> { typedef float type; enum {size=4}; }; 104 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { return vdupq_n_f32(fr… 107 template<> EIGEN_STRONG_INLINE Packet4f plset<float>(const float& a) 109 Packet4f countdown = EIGEN_INIT_NEON_PACKET4(0, 1, 2, 3); 110 return vaddq_f32(pset1<Packet4f>(a), countdown); 118 template<> EIGEN_STRONG_INLINE Packet4f padd<Packet4f>(const Packet4f& a, const Packet4f& b) { retu… [all …]
|
D | Complex.h | 24 EIGEN_STRONG_INLINE explicit Packet2cf(const Packet4f& a) : v(a) {} in Packet2cf() 25 Packet4f v; 59 …d<Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(padd<Packet4f>(a.v,b.v)); } 60 …b<Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(psub<Packet4f>(a.v,b.v)); } 61 …N_STRONG_INLINE Packet2cf pnegate(const Packet2cf& a) { return Packet2cf(pnegate<Packet4f>(a.v)); } 70 Packet4f v1, v2; 105 …complex<float>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload<Packet4f>((const float*)fr… 106 …plex<float>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu<Packet4f>((const float*)fr… 125 Packet4f a_r128; 154 Packet4f sum1, sum2, sum; [all …]
|
/external/eigen/Eigen/src/Core/arch/SSE/ |
D | PacketMath.h | 25 typedef __m128 Packet4f; typedef 49 const Packet4f p4f_##NAME = pset1<Packet4f>(X) 55 const Packet4f p4f_##NAME = _mm_castsi128_ps(pset1<Packet4i>(X)) 63 typedef Packet4f type; 101 template<> struct unpacket_traits<Packet4f> { typedef float type; enum {size=4}; }; 109 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { return _mm_set_ps(fro… 113 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { return _mm_set1_ps(fr… 118 template<> EIGEN_STRONG_INLINE Packet4f plset<float>(const float& a) { return _mm_add_ps(pset1<Pack… 122 template<> EIGEN_STRONG_INLINE Packet4f padd<Packet4f>(const Packet4f& a, const Packet4f& b) { retu… 126 template<> EIGEN_STRONG_INLINE Packet4f psub<Packet4f>(const Packet4f& a, const Packet4f& b) { retu… [all …]
|
D | MathFunctions.h | 23 Packet4f plog<Packet4f>(const Packet4f& _x) 25 Packet4f x = _x; 55 …Packet4f invalid_mask = _mm_cmpnge_ps(x, _mm_setzero_ps()); // not greater equal is true if x is N… 56 Packet4f iszero_mask = _mm_cmpeq_ps(x, _mm_setzero_ps()); 66 Packet4f e = padd(_mm_cvtepi32_ps(emm0), p4f_1); 74 Packet4f mask = _mm_cmplt_ps(x, p4f_cephes_SQRTHF); 75 Packet4f tmp = _mm_and_ps(x, mask); 80 Packet4f x2 = pmul(x,x); 81 Packet4f x3 = pmul(x2,x); 83 Packet4f y, y1, y2; [all …]
|
D | Complex.h | 84 …complex<float>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload<Packet4f>(&numext::real_re… 85 …plex<float>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu<Packet4f>(&numext::real_re… 211 template<> struct conj_helper<Packet4f, Packet2cf, false,false> 213 …EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet4f& x, const Packet2cf& y, const Packet2cf& c) con… 216 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet4f& x, const Packet2cf& y) const 220 template<> struct conj_helper<Packet2cf, Packet4f, false,false> 222 …EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet2cf& x, const Packet4f& y, const Packet2cf& c) con… 225 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf& x, const Packet4f& y) const
|
/external/eigen/unsupported/Eigen/src/MoreVectorization/ |
D | MathFunctions.h | 23 template<> EIGEN_DONT_INLINE Packet4f pasin(Packet4f x) in pasin() 40 Packet4f a = pabs(x);//got the absolute value in pasin() 42 Packet4f sign_bit= _mm_and_ps(x, p4f_sign_mask);//extracted the sign bit in pasin() 44 Packet4f z1,z2;//will need them during computation in pasin() 50 Packet4f branch_mask= _mm_cmpgt_ps(a, p4f_half);//this is to select which branch to take in pasin() 57 Packet4f x1=psqrt(z1); in pasin() 58 Packet4f s1=pmadd(p4f_asin1, z1, p4f_asin2); in pasin() 59 Packet4f s2=pmadd(s1, z1, p4f_asin3); in pasin() 60 Packet4f s3=pmadd(s2,z1, p4f_asin4); in pasin() 61 Packet4f s4=pmadd(s3,z1, p4f_asin5); in pasin() [all …]
|
/external/eigen/bench/ |
D | bench_norm.cpp | 80 Packet4f internal::plt(const Packet4f& a, Packet4f& b) { return _mm_cmplt_ps(a,b); } in plt() 83 Packet4f internal::pandnot(const Packet4f& a, Packet4f& b) { return _mm_andnot_ps(a,b); } in pandnot()
|