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

/external/eigen/Eigen/src/Core/arch/SSE/
H A DTypeCasting.h26 template<> EIGEN_STRONG_INLINE Packet4i pcast<Packet4f, Packet4i>(const Packet4f& a) {
40 template<> EIGEN_STRONG_INLINE Packet4f pcast<Packet4i, Packet4f>(const Packet4i& a) {
54 template<> EIGEN_STRONG_INLINE Packet4f pcast<Packet2d, Packet4f>(const Packet2d& a, const Packet2d& b) {
67 template<> EIGEN_STRONG_INLINE Packet2d pcast<Packet4f, Packet2d>(const Packet4f& a) {
H A DPacketMath.h51 typedef eigen_packet_wrapper<__m128> Packet4f; typedef in namespace:Eigen::internal
55 typedef __m128 Packet4f;
80 const Packet4f p4f_##NAME = pset1<Packet4f>(X)
86 const Packet4f p4f_##NAME = _mm_castsi128_ps(pset1<Packet4i>(X))
97 typedef Packet4f type;
98 typedef Packet4f half;
161 template<> struct unpacket_traits<Packet4f> { typedef float type; enum {size=4, alignment=Aligned16}; typedef Packet4f half; };
174 template<> EIGEN_STRONG_INLINE Packet4f pset
[all...]
H A DMathFunctions.h23 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 NaN
56 Packet4f iszero_mask = _mm_cmpeq_ps(x, _mm_setzero_ps());
66 Packet4f e = padd(Packet4f(_mm_cvtepi32_ps(emm0)), p4f_1);
74 Packet4f mask = _mm_cmplt_ps(x, p4f_cephes_SQRTHF);
75 Packet4f tm
[all...]
H A DComplex.h90 template<> EIGEN_STRONG_INLINE Packet2cf pload <Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload<Packet4f>(&numext::real_ref(*from))); }
91 template<> EIGEN_STRONG_INLINE Packet2cf ploadu<Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu<Packet4f>(&numext::real_ref(*from))); }
113 template<> EIGEN_STRONG_INLINE void pstore <std::complex<float> >(std::complex<float> * to, const Packet2cf& from) { EIGEN_DEBUG_ALIGNED_STORE pstore(&numext::real_ref(*to), Packet4f(from.v)); }
114 template<> EIGEN_STRONG_INLINE void pstoreu<std::complex<float> >(std::complex<float> * to, const Packet2cf& from) { EIGEN_DEBUG_UNALIGNED_STORE pstoreu(&numext::real_ref(*to), Packet4f(from.v)); }
232 template<> struct conj_helper<Packet4f, Packet2cf, false,false>
234 EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet4f& x, const Packet2cf& y, const Packet2cf& c) const
237 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet4f& x, const Packet2cf& y) const
238 { return Packet2cf(Eigen::internal::pmul<Packet4f>(x, y.v)); }
241 template<> struct conj_helper<Packet2cf, Packet4f, false,false>
243 EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet2cf& x, const Packet4f
[all...]
/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.h34 typedef __vector float Packet4f; typedef in namespace:Eigen::internal
45 Packet4f p4f_##NAME = reinterpret_cast<Packet4f>(vec_splat_s32(X))
51 Packet4f p4f_##NAME = pset1<Packet4f>(X)
63 const Packet4f p4f_##NAME = reinterpret_cast<Packet4f>(pset1<Packet4i>(X))
75 static Packet4f p4f_MZERO = (Packet4f) vec_sl((Packet4ui)p4i_MINUS1, (Packet4ui)p4i_MINUS1); //{ 0x80000000, 0x80000000, 0x80000000, 0x80000000}
77 static Packet4f p4f_ON
[all...]
H A DMathFunctions.h95 Packet4f plog<Packet4f>(const Packet4f& _x)
97 Packet4f x = _x;
114 Packet4f e = padd(vec_ctf(emm0, 0), p4f_1);
122 Packet4f mask = reinterpret_cast<Packet4f>(vec_cmplt(x, p4f_cephes_SQRTHF));
123 Packet4f tmp = pand(x, mask);
128 Packet4f x2 = pmul(x,x);
129 Packet4f x
[all...]
H A DComplex.h33 EIGEN_STRONG_INLINE explicit Packet2cf(const Packet4f& a) : v(a) {}
34 Packet4f v;
69 res.v = pload<Packet4f>((const float *)&from);
71 res.v = ploadu<Packet4f>((const float *)&from);
76 template<> EIGEN_STRONG_INLINE Packet2cf pload<Packet2cf>(const std::complex<float>* from) { return Packet2cf(pload<Packet4f>((const float *) from)); }
77 template<> EIGEN_STRONG_INLINE Packet2cf ploadu<Packet2cf>(const std::complex<float>* from) { return Packet2cf(ploadu<Packet4f>((const float*) from)); }
101 template<> EIGEN_STRONG_INLINE Packet2cf pconj(const Packet2cf& a) { return Packet2cf(pxor<Packet4f>(a.v, reinterpret_cast<Packet4f>(p4ui_CONJ_XOR))); }
105 Packet4f v1, v2;
115 v2 = reinterpret_cast<Packet4f>(pxo
[all...]
/external/eigen/Eigen/src/Core/arch/ZVector/
H A DPacketMath.h46 } Packet4f; typedef in namespace:Eigen::internal
94 static Packet4f p4f_COUNTDOWN = { 0.0, 1.0, 2.0, 3.0 };
154 typedef Packet4f type;
155 typedef Packet4f half;
215 template<> struct unpacket_traits<Packet4f> { typedef float type; enum {size=4, alignment=Aligned16}; typedef Packet4f half; };
219 EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<Packet4f,4>& kernel);
263 template<int element> EIGEN_STRONG_INLINE Packet4f vec_splat_packet4f(const Packet4f& from)
265 Packet4f spla
[all...]
H A DMathFunctions.h96 Packet4f pexp<Packet4f>(const Packet4f& x)
98 Packet4f res;
111 Packet4f psqrt<Packet4f>(const Packet4f& x)
113 Packet4f res;
126 Packet4f prsqrt<Packet4f>(cons
[all...]
H A DComplex.h31 EIGEN_STRONG_INLINE explicit Packet2cf(const Packet4f& a) : v(a) {}
33 Packet4f v;
92 template<> EIGEN_STRONG_INLINE Packet2cf pload <Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload<Packet4f>((const float*)from)); }
94 template<> EIGEN_STRONG_INLINE Packet2cf ploadu<Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu<Packet4f>((const float*)from)); }
134 template<> EIGEN_STRONG_INLINE Packet2cf padd<Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(padd<Packet4f>(a.v, b.v)); }
136 template<> EIGEN_STRONG_INLINE Packet2cf psub<Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(psub<Packet4f>(a.v, b.v)); }
139 template<> EIGEN_STRONG_INLINE Packet2cf pnegate(const Packet2cf& a) { return Packet2cf(pnegate(Packet4f(a.v))); }
175 template<> EIGEN_STRONG_INLINE Packet2cf pand <Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(pand<Packet4f>(a.v,b.v)); }
177 template<> EIGEN_STRONG_INLINE Packet2cf por <Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(por<Packet4f>(a.v,b.v)); }
179 template<> EIGEN_STRONG_INLINE Packet2cf pxor <Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(pxor<Packet4f>(
[all...]
/external/eigen/Eigen/src/Core/arch/NEON/
H A DPacketMath.h40 typedef float32x4_t Packet4f; typedef in namespace:Eigen::internal
46 const Packet4f p4f_##NAME = pset1<Packet4f>(X)
49 const Packet4f p4f_##NAME = vreinterpretq_f32_u32(pset1<int32_t>(X))
69 typedef Packet4f type;
70 typedef Packet4f half; // Packet2f intrinsics not implemented yet
108 template<> struct unpacket_traits<Packet4f> { typedef float type; enum {size=4, alignment=Aligned16}; typedef Packet4f half; };
111 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(cons
[all...]
H A DMathFunctions.h20 Packet4f pexp<Packet4f>(const Packet4f& _x)
22 Packet4f x = _x;
23 Packet4f tmp, fx;
56 Packet4f z = vmulq_f32(fx, p4f_cephes_exp_C2);
60 Packet4f y = vmulq_f32(p4f_cephes_exp_p0, x);
81 Packet4f pow2n = vreinterpretq_f32_s32(mm);
H A DComplex.h38 EIGEN_STRONG_INLINE explicit Packet2cf(const Packet4f& a) : v(a) {}
39 Packet4f v;
75 template<> EIGEN_STRONG_INLINE Packet2cf padd<Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(padd<Packet4f>(a.v,b.v)); }
76 template<> EIGEN_STRONG_INLINE Packet2cf psub<Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(psub<Packet4f>(a.v,b.v)); }
77 template<> EIGEN_STRONG_INLINE Packet2cf pnegate(const Packet2cf& a) { return Packet2cf(pnegate<Packet4f>(a.v)); }
86 Packet4f v1, v2;
121 template<> EIGEN_STRONG_INLINE Packet2cf pload<Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload<Packet4f>((const float*)from)); }
122 template<> EIGEN_STRONG_INLINE Packet2cf ploadu<Packet2cf>(const std::complex<float>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu<Packet4f>((const float*)from)); }
131 Packet4f res = pset1<Packet4f>(
[all...]
/external/eigen/Eigen/src/Core/arch/AVX512/
H A DPacketMath.h259 Packet4f lane0_a = _mm512_extractf32x4_ps(a, 0);
260 Packet4f lane0_b = _mm512_extractf32x4_ps(b, 0);
263 Packet4f lane1_a = _mm512_extractf32x4_ps(a, 1);
264 Packet4f lane1_b = _mm512_extractf32x4_ps(b, 1);
267 Packet4f lane2_a = _mm512_extractf32x4_ps(a, 2);
268 Packet4f lane2_b = _mm512_extractf32x4_ps(b, 2);
271 Packet4f lane3_a = _mm512_extractf32x4_ps(a, 3);
272 Packet4f lane3_b = _mm512_extractf32x4_ps(b, 3);
303 Packet4f lane0_a = _mm512_extractf32x4_ps(a, 0);
304 Packet4f lane0_
[all...]
/external/eigen/Eigen/src/Core/arch/CUDA/
H A DTypeCasting.h171 template<> EIGEN_STRONG_INLINE Packet4f pcast<Packet4h, Packet4f>(const Packet4h& a) {
193 template<> EIGEN_STRONG_INLINE Packet4h pcast<Packet4f, Packet4h>(const Packet4f& a) {
/external/eigen/bench/
H A Dbench_norm.cpp88 Packet4f plt(const Packet4f& a, Packet4f& b) { return _mm_cmplt_ps(a,b); }
91 Packet4f pandnot(const Packet4f& a, Packet4f& b) { return _mm_andnot_ps(a,b); }
/external/eigen/Eigen/src/LU/arch/
H A DInverse_SSE.h158 pstoret<float, Packet4f, ResultAlignment>(res+0, _mm_shuffle_ps(iA,iB,0x77));
159 pstoret<float, Packet4f, ResultAlignment>(res+res_stride, _mm_shuffle_ps(iA,iB,0x22));
160 pstoret<float, Packet4f, ResultAlignment>(res+2*res_stride, _mm_shuffle_ps(iC,iD,0x77));
161 pstoret<float, Packet4f, ResultAlignment>(res+3*res_stride, _mm_shuffle_ps(iC,iD,0x22));
/external/eigen/Eigen/src/Core/arch/AVX/
H A DPacketMath.h57 typedef Packet4f half;
116 template<> struct unpacket_traits<Packet8f> { typedef float type; typedef Packet4f half; enum {size=8, alignment=Aligned32}; };
398 return predux(Packet4f(_mm_add_ps(_mm256_castps256_ps128(a),_mm256_extractf128_ps(a,1))));
405 template<> EIGEN_STRONG_INLINE Packet4f predux_downto4<Packet8f>(const Packet8f& a)

Completed in 254 milliseconds