Home
last modified time | relevance | path

Searched refs:Packet2d (Results 1 – 17 of 17) sorted by relevance

/external/eigen/Eigen/src/Core/arch/ZVector/
DPacketMath.h40 typedef __vector double Packet2d; typedef
45 Packet2d v4f[2];
58 Packet2d v2d;
68 Packet2d p2d_##NAME = reinterpret_cast<Packet2d>(vec_splat_s64(X))
77 Packet2d p2d_##NAME = pset1<Packet2d>(X)
90 static Packet2d p2d_ONE = { 1.0, 1.0 };
91 static Packet2d p2d_ZERO_ = { -0.0, -0.0 };
95 static Packet2d p2d_COUNTDOWN = reinterpret_cast<Packet2d>(vec_sld(reinterpret_cast<Packet16uc>(p2d…
185 typedef Packet2d type;
186 typedef Packet2d half;
[all …]
DMathFunctions.h45 Packet2d pexp<Packet2d>(const Packet2d& _x)
47 Packet2d x = _x;
49 Packet2d tmp, fx;
60 Packet2d z = pmul(fx, p2d_cephes_exp_C2);
64 Packet2d x2 = pmul(x,x);
66 Packet2d px = p2d_cephes_exp_p0;
71 Packet2d qx = p2d_cephes_exp_q0;
91 return vec_sel(_x, pmax(pmul(x, reinterpret_cast<Packet2d>(emm0)), _x),
99 res.v4f[0] = pexp<Packet2d>(x.v4f[0]);
100 res.v4f[1] = pexp<Packet2d>(x.v4f[1]);
[all …]
DComplex.h24 EIGEN_STRONG_INLINE explicit Packet1cd(const Packet2d& a) : v(a) {} in Packet1cd()
25 Packet2d v;
93 …omplex<double>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet1cd(pload<Packet2d>((const double*)f…
95 …lex<double>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet1cd(ploadu<Packet2d>((const double*)f…
138 …N_STRONG_INLINE Packet1cd pnegate(const Packet1cd& a) { return Packet1cd(pnegate(Packet2d(a.v))); }
140 …Packet1cd pconj(const Packet1cd& a) { return Packet1cd((Packet2d)vec_xor((Packet2d)a.v, (Packet2d)…
144 res.v.v4f[0] = pconj(Packet1cd(reinterpret_cast<Packet2d>(a.v.v4f[0]))).v;
145 res.v.v4f[1] = pconj(Packet1cd(reinterpret_cast<Packet2d>(a.v.v4f[1]))).v;
151 Packet2d a_re, a_im, v1, v2;
161 v2 = (Packet2d) vec_sld((Packet4ui)v2, (Packet4ui)v2, 8);
[all …]
/external/eigen/Eigen/src/Core/arch/SSE/
DPacketMath.h53 typedef eigen_packet_wrapper<__m128d> Packet2d; typedef
57 typedef __m128d Packet2d;
83 const Packet2d p2d_##NAME = pset1<Packet2d>(X)
125 typedef Packet2d type;
126 typedef Packet2d half;
162 template<> struct unpacket_traits<Packet2d> { typedef double type; enum {size=2, alignment=Aligned1…
175 template<> EIGEN_STRONG_INLINE Packet2d pset1<Packet2d>(const double& from) { return _mm_set_pd(fro…
179 template<> EIGEN_STRONG_INLINE Packet2d pset1<Packet2d>(const double& from) { return _mm_set1_pd(fr…
195 template<> EIGEN_STRONG_INLINE Packet2d plset<Packet2d>(const double& a) { return _mm_add_pd(pset1<
199 template<> EIGEN_STRONG_INLINE Packet2d padd<Packet2d>(const Packet2d& a, const Packet2d& b) { retu…
[all …]
DTypeCasting.h54 template<> EIGEN_STRONG_INLINE Packet4f pcast<Packet2d, Packet4f>(const Packet2d& a, const Packet2d
67 template<> EIGEN_STRONG_INLINE Packet2d pcast<Packet4f, Packet2d>(const Packet4f& a) {
DMathFunctions.h172 Packet2d pexp<Packet2d>(const Packet2d& _x)
174 Packet2d x = _x;
198 Packet2d tmp, fx;
212 Packet2d mask = _mm_cmpgt_pd(tmp, fx);
218 Packet2d z = pmul(fx, p2d_cephes_exp_C2);
222 Packet2d x2 = pmul(x,x);
224 Packet2d px = p2d_cephes_exp_p0;
229 Packet2d qx = p2d_cephes_exp_q0;
242 return pmax(pmul(x, Packet2d(_mm_castsi128_pd(emm0))), _x);
479 Packet2d psqrt<Packet2d>(const Packet2d& x) { return _mm_sqrt_pd(x); }
[all …]
DComplex.h148 … preverse(const Packet2cf& a) { return Packet2cf(_mm_castpd_ps(preverse(Packet2d(_mm_castps_pd(a.v…
303 …N_STRONG_INLINE Packet1cd pnegate(const Packet1cd& a) { return Packet1cd(pnegate(Packet2d(a.v))); }
331 { EIGEN_DEBUG_ALIGNED_LOAD return Packet1cd(pload<Packet2d>((const double*)from)); }
333 { EIGEN_DEBUG_UNALIGNED_LOAD return Packet1cd(ploadu<Packet2d>((const double*)from)); }
340 …* to, const Packet1cd& from) { EIGEN_DEBUG_ALIGNED_STORE pstore((double*)to, Packet2d(from.v)); }
341 … to, const Packet1cd& from) { EIGEN_DEBUG_UNALIGNED_STORE pstoreu((double*)to, Packet2d(from.v)); }
433 template<> struct conj_helper<Packet2d, Packet1cd, false,false>
435 …EIGEN_STRONG_INLINE Packet1cd pmadd(const Packet2d& x, const Packet1cd& y, const Packet1cd& c) con…
438 EIGEN_STRONG_INLINE Packet1cd pmul(const Packet2d& x, const Packet1cd& y) const
439 { return Packet1cd(Eigen::internal::pmul<Packet2d>(x, y.v)); }
[all …]
/external/eigen/Eigen/src/Core/arch/AltiVec/
DPacketMath.h57 Packet2d p2d_##NAME = pset1<Packet2d>(X)
756 typedef __vector double Packet2d;
767 static Packet2d p2d_ONE = { 1.0, 1.0 };
768 static Packet2d p2d_ZERO = reinterpret_cast<Packet2d>(p4f_ZERO);
769 static Packet2d p2d_MZERO = { -0.0, -0.0 };
772 static Packet2d p2d_COUNTDOWN = reinterpret_cast<Packet2d>(vec_sld(reinterpret_cast<Packet4f>(p2d_Z…
774 static Packet2d p2d_COUNTDOWN = reinterpret_cast<Packet2d>(vec_sld(reinterpret_cast<Packet4f>(p2d_O…
777 template<int index> Packet2d vec_splat_dbl(Packet2d& a);
779 template<> EIGEN_STRONG_INLINE Packet2d vec_splat_dbl<0>(Packet2d& a)
781 return reinterpret_cast<Packet2d>(vec_perm(a, a, p16uc_PSET64_HI));
[all …]
DMathFunctions.h210 Packet2d prsqrt<Packet2d>(const Packet2d& x)
223 Packet2d psqrt<Packet2d>(const Packet2d& x)
234 static inline Packet2l ConvertToPacket2l(const Packet2d& x) { in ConvertToPacket2l()
248 Packet2d pexp<Packet2d>(const Packet2d& _x)
250 Packet2d x = _x;
252 Packet2d tmp, fx;
264 Packet2d z = pmul(fx, p2d_cephes_exp_C2);
268 Packet2d x2 = pmul(x,x);
270 Packet2d px = p2d_cephes_exp_p0;
275 Packet2d qx = p2d_cephes_exp_q0;
[all …]
DComplex.h268 …einterpret_cast<Packet4f>(pblend<Packet2d>(ifPacket, reinterpret_cast<Packet2d>(thenPacket.v), rei…
278 EIGEN_STRONG_INLINE explicit Packet1cd(const Packet2d& a) : v(a) {}
279 Packet2d v;
307 … <Packet1cd>(const std::complex<double>* from) { return Packet1cd(pload<Packet2d>((const double*)f…
308 …<Packet1cd>(const std::complex<double>* from) { return Packet1cd(ploadu<Packet2d>((const double*)f…
332 …N_STRONG_INLINE Packet1cd pnegate(const Packet1cd& a) { return Packet1cd(pnegate(Packet2d(a.v))); }
333 …pconj(const Packet1cd& a) { return Packet1cd(pxor(a.v, reinterpret_cast<Packet2d>(p2ul_CONJ_XOR2))…
337 Packet2d a_re, a_im, v1, v2;
347 …v2 = reinterpret_cast<Packet2d>(vec_sld(reinterpret_cast<Packet4ui>(v2), reinterpret_cast<Packet4u…
348 v2 = pxor(v2, reinterpret_cast<Packet2d>(p2ul_CONJ_XOR1));
[all …]
/external/eigen/Eigen/src/Core/arch/NEON/
DPacketMath.h555 typedef float64x2_t Packet2d;
560 typedef Packet2d type;
561 typedef Packet2d half;
578 …emplate<> struct unpacket_traits<Packet2d> { typedef double type; enum {size=2, alignment=Aligned…
580 template<> EIGEN_STRONG_INLINE Packet2d pset1<Packet2d>(const double& from) { return vdupq_n_f64(f…
582 template<> EIGEN_STRONG_INLINE Packet2d plset<Packet2d>(const double& a)
585 const Packet2d countdown = vld1q_f64(countdown_raw);
586 return vaddq_f64(pset1<Packet2d>(a), countdown);
588 template<> EIGEN_STRONG_INLINE Packet2d padd<Packet2d>(const Packet2d& a, const Packet2d& b) { retu…
590 template<> EIGEN_STRONG_INLINE Packet2d psub<Packet2d>(const Packet2d& a, const Packet2d& b) { retu…
[all …]
DComplex.h302 EIGEN_STRONG_INLINE explicit Packet1cd(const Packet2d& a) : v(a) {}
303 Packet2d v;
331 …omplex<double>* from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet1cd(pload<Packet2d>((const double*)f…
332 …lex<double>* from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet1cd(ploadu<Packet2d>((const double*)f…
337 …d<Packet1cd>(const Packet1cd& a, const Packet1cd& b) { return Packet1cd(padd<Packet2d>(a.v,b.v)); }
338 …b<Packet1cd>(const Packet1cd& a, const Packet1cd& b) { return Packet1cd(psub<Packet2d>(a.v,b.v)); }
339 …N_STRONG_INLINE Packet1cd pnegate(const Packet1cd& a) { return Packet1cd(pnegate<Packet2d>(a.v)); }
344 Packet2d v1, v2;
357 v2 = preverse<Packet2d>(v2);
388 Packet2d res = pset1<Packet2d>(0.0);
[all …]
/external/eigen/Eigen/src/Geometry/arch/
DGeometry_SSE.h93 const Packet2d mask = _mm_castsi128_pd(_mm_set_epi32(0x0,0x0,0x80000000,0x0));
98 Packet2d b_xy = _b.coeffs().template packet<BAlignment>(0);
99 Packet2d b_zw = _b.coeffs().template packet<BAlignment>(2);
100 Packet2d a_xx = pset1<Packet2d>(a[0]);
101 Packet2d a_yy = pset1<Packet2d>(a[1]);
102 Packet2d a_zz = pset1<Packet2d>(a[2]);
103 Packet2d a_ww = pset1<Packet2d>(a[3]);
106 Packet2d t1, t2;
117 pstoret<double,Packet2d,ResAlignment>(&res.x(), _mm_addsub_pd(t1, preverse(t2)));
119 pstoret<double,Packet2d,ResAlignment>(&res.x(), padd(t1, pxor(mask,preverse(t2))));
[all …]
/external/eigen/Eigen/src/LU/arch/
DInverse_SSE.h323 …pstoret<double, Packet2d, ResultAlignment>(res+0, _mm_mul_pd(_mm_shuffle_pd(iA2, iA1, …
324 …pstoret<double, Packet2d, ResultAlignment>(res+res_stride, _mm_mul_pd(_mm_shuffle_pd(iA2, iA1, …
325 …pstoret<double, Packet2d, ResultAlignment>(res+2, _mm_mul_pd(_mm_shuffle_pd(iB2, iB1, …
326 …pstoret<double, Packet2d, ResultAlignment>(res+res_stride+2, _mm_mul_pd(_mm_shuffle_pd(iB2, iB1, …
327 …pstoret<double, Packet2d, ResultAlignment>(res+2*res_stride, _mm_mul_pd(_mm_shuffle_pd(iC2, iC1, …
328 …pstoret<double, Packet2d, ResultAlignment>(res+3*res_stride, _mm_mul_pd(_mm_shuffle_pd(iC2, iC1, …
329 …pstoret<double, Packet2d, ResultAlignment>(res+2*res_stride+2,_mm_mul_pd(_mm_shuffle_pd(iD2, iD1, …
330 …pstoret<double, Packet2d, ResultAlignment>(res+3*res_stride+2,_mm_mul_pd(_mm_shuffle_pd(iD2, iD1, …
/external/eigen/bench/
Dbench_norm.cpp89 Packet2d plt(const Packet2d& a, Packet2d& b) { return _mm_cmplt_pd(a,b); } in plt()
92 Packet2d pandnot(const Packet2d& a, Packet2d& b) { return _mm_andnot_pd(a,b); } in pandnot()
/external/eigen/Eigen/src/Core/arch/AVX/
DPacketMath.h81 typedef Packet2d half;
117 template<> struct unpacket_traits<Packet4d> { typedef double type; typedef Packet2d half; enum {siz…
402 return predux(Packet2d(_mm_add_pd(_mm256_castpd256_pd128(a),_mm256_extractf128_pd(a,1))));
/external/eigen/Eigen/src/Core/arch/AVX512/
DPacketMath.h529 Packet2d tmp0 = _mm_load_pd1(from);
530 Packet2d tmp1 = _mm_load_pd1(from + 1);