Searched refs:Packet4f (Results 1 - 9 of 9) sorted by relevance

/external/eigen/unsupported/Eigen/src/MoreVectorization/
H A DMathFunctions.h23 template<> EIGEN_DONT_INLINE Packet4f pasin(Packet4f x)
40 Packet4f a = pabs(x);//got the absolute value
42 Packet4f sign_bit= _mm_and_ps(x, p4f_sign_mask);//extracted the sign bit
44 Packet4f z1,z2;//will need them during computation
50 Packet4f branch_mask= _mm_cmpgt_ps(a, p4f_half);//this is to select which branch to take
57 Packet4f x1=psqrt(z1);
58 Packet4f s1=pmadd(p4f_asin1, z1, p4f_asin2);
59 Packet4f s2=pmadd(s1, z1, p4f_asin3);
60 Packet4f s
[all...]
/external/eigen/Eigen/src/Core/arch/AltiVec/
H A DPacketMath.h30 typedef __vector float Packet4f; typedef in namespace:Eigen::internal
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_s
[all...]
H A DComplex.h29 EIGEN_STRONG_INLINE explicit Packet2cf(const Packet4f& a) : v(a) {}
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_xor((Packet4ui)a.v, p4ui_CONJ_XOR)); }
75 Packet4f v1, v2;
85 v2 = (Packet4f) vec_xor((Packet4ui)v2, p4ui_CONJ_XOR);
97 template<> EIGEN_STRONG_INLINE Packet2cf pload <Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload<Packet4f>((const float*)from)); }
98 template<> EIGEN_STRONG_INLINE Packet2cf ploadu<Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu<Packet4f>((const float*)from)); }
120 Packet4f rev_
[all...]
/external/eigen/Eigen/src/Core/arch/NEON/
H A DPacketMath.h29 typedef float32x4_t Packet4f; typedef in namespace:Eigen::internal
34 const Packet4f p4f_##NAME = pset1<Packet4f>(X)
37 const Packet4f p4f_##NAME = vreinterpretq_f32_u32(pset1<int>(X))
58 typedef Packet4f type;
92 template<> struct unpacket_traits<Packet4f> { typedef float type; enum {size=4}; };
95 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { return vdupq_n_f32(from); }
98 template<> EIGEN_STRONG_INLINE Packet4f plset<float>(const float& a)
100 Packet4f countdow
[all...]
H A DComplex.h24 EIGEN_STRONG_INLINE explicit Packet2cf(const Packet4f& a) : v(a) {}
25 Packet4f v;
59 template<> EIGEN_STRONG_INLINE Packet2cf padd<Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(padd<Packet4f>(a.v,b.v)); }
60 template<> EIGEN_STRONG_INLINE Packet2cf psub<Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(psub<Packet4f>(a.v,b.v)); }
61 template<> EIGEN_STRONG_INLINE Packet2cf pnegate(const Packet2cf& a) { return Packet2cf(pnegate<Packet4f>(a.v)); }
70 Packet4f v1, v2;
108 template<> EIGEN_STRONG_INLINE Packet2cf pload<Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload<Packet4f>((const float*)from)); }
109 template<> EIGEN_STRONG_INLINE Packet2cf ploadu<Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu<Packet4f>((const float*)from)); }
128 Packet4f a_r128;
157 Packet4f sum
[all...]
/external/eigen/Eigen/src/Core/arch/SSE/
H A DMathFunctions.h23 Packet4f plog<Packet4f>(const Packet4f& _x)
25 Packet4f x = _x;
54 Packet4f invalid_mask = _mm_cmple_ps(x, _mm_setzero_ps());
64 Packet4f e = padd(_mm_cvtepi32_ps(emm0), p4f_1);
72 Packet4f mask = _mm_cmplt_ps(x, p4f_cephes_SQRTHF);
73 Packet4f tmp = _mm_and_ps(x, mask);
78 Packet4f x2 = pmul(x,x);
79 Packet4f x
[all...]
H A DPacketMath.h25 typedef __m128 Packet4f; typedef in namespace:Eigen::internal
49 const Packet4f p4f_##NAME = pset1<Packet4f>(X)
52 const Packet4f p4f_##NAME = _mm_castsi128_ps(pset1<Packet4i>(X))
60 typedef Packet4f type;
96 template<> struct unpacket_traits<Packet4f> { typedef float type; enum {size=4}; };
104 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { return _mm_set_ps(from,from,from,from); }
108 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(cons
[all...]
H A DComplex.h84 template<> EIGEN_STRONG_INLINE Packet2cf pload <Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload<Packet4f>(&real_ref(*from))); }
85 template<> EIGEN_STRONG_INLINE Packet2cf ploadu<Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu<Packet4f>(&real_ref(*from))); }
205 template<> struct conj_helper<Packet4f, Packet2cf, false,false>
207 EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet4f& x, const Packet2cf& y, const Packet2cf& c) const
210 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet4f& x, const Packet2cf& y) const
214 template<> struct conj_helper<Packet2cf, Packet4f, false,false>
216 EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet2cf& x, const Packet4f& y, const Packet2cf& c) const
219 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf& x, const Packet4f& y) const
/external/eigen/bench/
H A Dbench_norm.cpp80 Packet4f internal::plt(const Packet4f& a, Packet4f& b) { return _mm_cmplt_ps(a,b); }
83 Packet4f internal::pandnot(const Packet4f& a, Packet4f& b) { return _mm_andnot_ps(a,b); }

Completed in 111 milliseconds