Home
last modified time | relevance | path

Searched refs:pmul (Results 1 – 25 of 124) sorted by relevance

12345

/external/eigen/Eigen/src/Core/arch/SSE/
DMathFunctions.h80 Packet4f x2 = pmul(x,x);
81 Packet4f x3 = pmul(x2,x);
92 y = pmul(y, x3);
94 y1 = pmul(e, p4f_cephes_log_q1);
95 tmp = pmul(x2, p4f_half);
98 y2 = pmul(e, p4f_cephes_log_q2);
149 tmp = pmul(fx, p4f_cephes_exp_C1);
150 Packet4f z = pmul(fx, p4f_cephes_exp_C2);
154 z = pmul(x,x);
169 return pmax(pmul(y, Packet4f(_mm_castsi128_ps(emm0))), _x);
[all …]
DComplex.h68 template<> EIGEN_STRONG_INLINE Packet2cf pmul<Packet2cf>(const Packet2cf& a, const Packet2cf& b)
162 return pfirst(pmul(a, Packet2cf(_mm_movehl_ps(a.v,a.v))));
181 { return padd(pmul(x,y),c); }
183 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf& a, const Packet2cf& b) const
186 return internal::pmul(a, pconj(b));
199 { return padd(pmul(x,y),c); }
201 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf& a, const Packet2cf& b) const
204 return internal::pmul(pconj(a), b);
217 { return padd(pmul(x,y),c); }
219 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf& a, const Packet2cf& b) const
[all …]
/external/eigen/Eigen/src/Core/arch/AVX512/
DMathFunctions.h96 Packet16f x2 = pmul(x, x);
97 Packet16f x3 = pmul(x2, x);
110 y = pmul(y, x3);
113 y1 = pmul(e, p16f_cephes_log_q1);
114 tmp = pmul(x2, p16f_half);
117 y2 = pmul(e, p16f_cephes_log_q2);
160 Packet16f r2 = pmul(r, r);
178 return pmax(pmul(y, _mm512_castsi512_ps(emm0)), _x);
264 Packet16f neg_half = pmul(_x, p16f_minus_half);
273 x = pmul(x, pmadd(neg_half, pmul(x, x), p16f_one_point_five));
[all …]
DPacketMath.h196 EIGEN_STRONG_INLINE Packet16f pmul<Packet16f>(const Packet16f& a,
201 EIGEN_STRONG_INLINE Packet8d pmul<Packet8d>(const Packet8d& a,
937 Packet8f res = pmul(lane0, lane1);
938 res = pmul(res, _mm256_permute2f128_ps(res, res, 1));
939 res = pmul(res, _mm_permute_ps(res, _MM_SHUFFLE(0, 0, 3, 2)));
940 return pfirst(pmul(res, _mm_permute_ps(res, _MM_SHUFFLE(0, 0, 0, 1))));
946 Packet4f res = pmul(pmul(lane0, lane1), pmul(lane2, lane3));
947 res = pmul(res, _mm_permute_ps(res, _MM_SHUFFLE(0, 0, 3, 2)));
948 return pfirst(pmul(res, _mm_permute_ps(res, _MM_SHUFFLE(0, 0, 0, 1))));
955 Packet4d res = pmul(lane0, lane1);
[all …]
/external/eigen/Eigen/src/Core/arch/AVX/
DMathFunctions.h64 Packet8f z = pmul(x, p8f_one_over_pi);
69 z = pmul(x, p8f_four_over_pi);
87 Packet8f z_minus_two2 = pmul(z_minus_two, z_minus_two);
97 Packet8f z2 = pmul(z, z);
101 left = pmul(left, z);
173 Packet8f x2 = pmul(x, x);
174 Packet8f x3 = pmul(x2, x);
187 y = pmul(y, x3);
190 y1 = pmul(e, p8f_cephes_log_q1);
191 tmp = pmul(x2, p8f_half);
[all …]
DComplex.h62 template<> EIGEN_STRONG_INLINE Packet4cf pmul<Packet4cf>(const Packet4cf& a, const Packet4cf& b)
160 return predux_mul(pmul(Packet2cf(_mm256_extractf128_ps(a.v, 0)),
177 { return padd(pmul(x,y),c); }
179 EIGEN_STRONG_INLINE Packet4cf pmul(const Packet4cf& a, const Packet4cf& b) const
181 return internal::pmul(a, pconj(b));
188 { return padd(pmul(x,y),c); }
190 EIGEN_STRONG_INLINE Packet4cf pmul(const Packet4cf& a, const Packet4cf& b) const
192 return internal::pmul(pconj(a), b);
199 { return padd(pmul(x,y),c); }
201 EIGEN_STRONG_INLINE Packet4cf pmul(const Packet4cf& a, const Packet4cf& b) const
[all …]
/external/eigen/Eigen/src/Core/arch/AltiVec/
DComplex.h103 template<> EIGEN_STRONG_INLINE Packet2cf pmul<Packet2cf>(const Packet2cf& a, const Packet2cf& b)
173 prod = pmul<Packet2cf>(a, Packet2cf(b));
197 { return padd(pmul(x,y),c); }
199 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf& a, const Packet2cf& b) const
201 return internal::pmul(a, pconj(b));
208 { return padd(pmul(x,y),c); }
210 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf& a, const Packet2cf& b) const
212 return internal::pmul(pconj(a), b);
219 { return padd(pmul(x,y),c); }
221 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf& a, const Packet2cf& b) const
[all …]
DMathFunctions.h128 Packet4f x2 = pmul(x,x);
129 Packet4f x3 = pmul(x2,x);
140 y = pmul(y, x3);
142 y1 = pmul(e, p4f_cephes_log_q1);
143 tmp = pmul(x2, p4f_half);
146 y2 = pmul(e, p4f_cephes_log_q2);
171 tmp = pmul(fx, p4f_cephes_exp_C1);
172 Packet4f z = pmul(fx, p4f_cephes_exp_C2);
176 z = pmul(x,x);
195 return vec_sel(_x, pmax(pmul(y, reinterpret_cast<Packet4f>(emm0)), _x),
[all …]
/external/eigen/Eigen/src/Core/products/
DSelfadjointMatrixVector.h91 res[j] += cjd.pmul(numext::real(A0[j]), t0); in run()
92 res[j+1] += cjd.pmul(numext::real(A1[j+1]), t1); in run()
95 res[j] += cj0.pmul(A1[j], t1); in run()
96 t3 += cj1.pmul(A1[j], rhs[j]); in run()
100 res[j+1] += cj0.pmul(A0[j+1],t0); in run()
101 t2 += cj1.pmul(A0[j+1], rhs[j+1]); in run()
106 res[i] += cj0.pmul(A0[i], t0) + cj0.pmul(A1[i],t1); in run()
107 t2 += cj1.pmul(A0[i], rhs[i]); in run()
108 t3 += cj1.pmul(A1[i], rhs[i]); in run()
130 res[i] += cj0.pmul(A0[i], t0) + cj0.pmul(A1[i],t1); in run()
[all …]
DGeneralMatrixVector.h104 padd(pcj.pmul(lhs0.template load<LhsPacket, Alignment0>(j), ptmp0), \
105 pcj.pmul(lhs1.template load<LhsPacket, Alignment13>(j), ptmp1)), \
106 padd(pcj.pmul(lhs2.template load<LhsPacket, Alignment2>(j), ptmp2), \
107 pcj.pmul(lhs3.template load<LhsPacket, Alignment13>(j), ptmp3)) )))
298 res[j] += cj.pmul(lhs0(j), pfirst(ptmp0));
310 res[i] += cj.pmul(lhs0(i), pfirst(ptmp0));
485 tmp0 += cj.pmul(lhs0(j),b); tmp1 += cj.pmul(lhs1(j),b);
486 tmp2 += cj.pmul(lhs2(j),b); tmp3 += cj.pmul(lhs3(j),b);
560 tmp0 += cj.pmul(lhs0(j),b); tmp1 += cj.pmul(lhs1(j),b);
561 tmp2 += cj.pmul(lhs2(j),b); tmp3 += cj.pmul(lhs3(j),b);
[all …]
/external/eigen/Eigen/src/Core/arch/ZVector/
DComplex.h149 template<> EIGEN_STRONG_INLINE Packet1cd pmul<Packet1cd>(const Packet1cd& a, const Packet1cd& b)
166 template<> EIGEN_STRONG_INLINE Packet2cf pmul<Packet2cf>(const Packet2cf& a, const Packet2cf& b)
169 …res.v.v4f[0] = pmul(Packet1cd(reinterpret_cast<Packet2d>(a.v.v4f[0])), Packet1cd(reinterpret_cast<…
170 …res.v.v4f[1] = pmul(Packet1cd(reinterpret_cast<Packet2d>(a.v.v4f[1])), Packet1cd(reinterpret_cast<…
246 Packet1cd b = pmul<Packet1cd>(a.cd[0], a.cd[1]);
276 { return padd(pmul(x,y),c); }
278 EIGEN_STRONG_INLINE Packet1cd pmul(const Packet1cd& a, const Packet1cd& b) const
280 return internal::pmul(a, pconj(b));
287 { return padd(pmul(x,y),c); }
289 EIGEN_STRONG_INLINE Packet1cd pmul(const Packet1cd& a, const Packet1cd& b) const
[all …]
DMathFunctions.h59 tmp = pmul(fx, p2d_cephes_exp_C1);
60 Packet2d z = pmul(fx, p2d_cephes_exp_C2);
64 Packet2d x2 = pmul(x,x);
69 px = pmul (px, x);
91 return vec_sel(_x, pmax(pmul(x, reinterpret_cast<Packet2d>(emm0)), _x),
/external/eigen/Eigen/src/Jacobi/
DJacobi.h359 pstore(px, padd(pm.pmul(pc,xi),pcj.pmul(ps,yi))); in apply_rotation_in_the_plane()
360 pstore(py, psub(pcj.pmul(pc,yi),pm.pmul(ps,xi))); in apply_rotation_in_the_plane()
374 pstoreu(px, padd(pm.pmul(pc,xi),pcj.pmul(ps,yi))); in apply_rotation_in_the_plane()
375 pstoreu(px+PacketSize, padd(pm.pmul(pc,xi1),pcj.pmul(ps,yi1))); in apply_rotation_in_the_plane()
376 pstore (py, psub(pcj.pmul(pc,yi),pm.pmul(ps,xi))); in apply_rotation_in_the_plane()
377 pstore (py+PacketSize, psub(pcj.pmul(pc,yi1),pm.pmul(ps,xi1))); in apply_rotation_in_the_plane()
385 pstoreu(x+peelingEnd, padd(pm.pmul(pc,xi),pcj.pmul(ps,yi))); in apply_rotation_in_the_plane()
386 pstore (y+peelingEnd, psub(pcj.pmul(pc,yi),pm.pmul(ps,xi))); in apply_rotation_in_the_plane()
415 pstore(px, padd(pm.pmul(pc,xi),pcj.pmul(ps,yi))); in apply_rotation_in_the_plane()
416 pstore(py, psub(pcj.pmul(pc,yi),pm.pmul(ps,xi))); in apply_rotation_in_the_plane()
/external/eigen/Eigen/src/Core/arch/NEON/
DComplex.h84 template<> EIGEN_STRONG_INLINE Packet2cf pmul<Packet2cf>(const Packet2cf& a, const Packet2cf& b)
238 { return padd(pmul(x,y),c); }
240 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf& a, const Packet2cf& b) const
242 return internal::pmul(a, pconj(b));
249 { return padd(pmul(x,y),c); }
251 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf& a, const Packet2cf& b) const
253 return internal::pmul(pconj(a), b);
260 { return padd(pmul(x,y),c); }
262 EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf& a, const Packet2cf& b) const
264 return pconj(internal::pmul(a, b));
[all …]
/external/eigen/Eigen/src/Geometry/arch/
DGeometry_SSE.h113 t1 = padd(pmul(a_ww, b_xy), pmul(a_yy, b_zw));
114 t2 = psub(pmul(a_zz, b_xy), pmul(a_xx, b_zw));
127 t1 = psub(pmul(a_ww, b_zw), pmul(a_yy, b_xy));
128 t2 = padd(pmul(a_zz, b_zw), pmul(a_xx, b_xy));
/external/eigen/Eigen/src/Core/util/
DBlasUtil.h66 { return padd(c, pmul(x,y)); }
68 EIGEN_STRONG_INLINE Scalar pmul(const LhsScalar& x, const RhsScalar& y) const
75 …EN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar pmul(const Scalar& x, const Scalar& y) const { return in…
82 { return c + pmul(x,y); }
84 EIGEN_STRONG_INLINE Scalar pmul(const Scalar& x, const Scalar& y) const
92 { return c + pmul(x,y); }
94 EIGEN_STRONG_INLINE Scalar pmul(const Scalar& x, const Scalar& y) const
102 { return c + pmul(x,y); }
104 EIGEN_STRONG_INLINE Scalar pmul(const Scalar& x, const Scalar& y) const
112 { return padd(c, pmul(x,y)); }
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcwise_ops_gradients.h37 return pmul(output_gradient, in packetOp()
38 psub(pset1<Packet>(T(1)), pmul(output, output))); in packetOp()
60 return pmul(output_gradient,
61 pmul(output, psub(pset1<Packet>(T(1)), output)));
89 return mul_no_nan_op<T>().packetOp(pnegate(pmul(out_conj, out_conj)),
153 return safe_pmul(pmul(const_half, pmul(out_conj, out_conj)),
Deigen_activations.h42 return internal::pmul(internal::psub(one, y), y); in packetOp()
76 return internal::psub(one, internal::pmul(y, y));
/external/eigen/unsupported/Eigen/src/MoreVectorization/
DMathFunctions.h62 Packet4f temp=pmul(s4,z1);//not really a madd but a mul by z so that the next term can be a madd in pasin()
71 z2=pmul(x2,x2); in pasin()
76 Packet4f temp=pmul(s4,z2);//not really a madd but a mul by z so that the next term can be a madd in pasin()
/external/eigen/Eigen/src/Core/
DMathFunctionsImpl.h54 const T x2 = pmul(x, x); in generic_fast_tanh_float()
63 p = pmul(x, p); in generic_fast_tanh_float()
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AArch64/
Dneon-mul-div-instructions.s48 pmul v17.8b, v31.8b, v16.8b
49 pmul v0.16b, v1.16b, v2.16b
/external/llvm/test/MC/AArch64/
Dneon-mul-div-instructions.s48 pmul v17.8b, v31.8b, v16.8b
49 pmul v0.16b, v1.16b, v2.16b
/external/capstone/suite/MC/AArch64/
Dneon-mul-div-instructions.s.cs14 0xf1,0x9f,0x30,0x2e = pmul v17.8b, v31.8b, v16.8b
15 0x20,0x9c,0x22,0x6e = pmul v0.16b, v1.16b, v2.16b
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/X86/
Dx86-muldq.ll44 %1 = call <4 x i64> @llvm.x86.avx2.pmul.dq(<8 x i32> undef, <8 x i32> undef)
52 %1 = call <8 x i64> @llvm.x86.avx512.pmul.dq.512(<16 x i32> undef, <16 x i32> undef)
92 %1 = call <4 x i64> @llvm.x86.avx2.pmul.dq(<8 x i32> undef, <8 x i32> zeroinitializer)
100 %1 = call <8 x i64> @llvm.x86.avx512.pmul.dq.512(<16 x i32> zeroinitializer, <16 x i32> undef)
144 …%1 = call <4 x i64> @llvm.x86.avx2.pmul.dq(<8 x i32> <i32 undef, i32 1, i32 -65535, i32 128, i32 6…
152 …%1 = call <8 x i64> @llvm.x86.avx512.pmul.dq.512(<16 x i32> zeroinitializer, <16 x i32> <i32 undef…
248 %3 = call <4 x i64> @llvm.x86.avx2.pmul.dq(<8 x i32> %1, <8 x i32> %2)
269 %3 = call <8 x i64> @llvm.x86.avx512.pmul.dq.512(<16 x i32> %1, <16 x i32> %2)
278 declare <4 x i64> @llvm.x86.avx2.pmul.dq(<8 x i32>, <8 x i32>) nounwind readnone
281 declare <8 x i64> @llvm.x86.avx512.pmul.dq.512(<16 x i32>, <16 x i32>) nounwind readnone
/external/eigen/bench/
Dbench_norm.cpp157 Packet ax_s2m = internal::pmul(ax,ps2m); in pblueNorm()
158 Packet ax_s1m = internal::pmul(ax,ps1m); in pblueNorm()
174 pabig = internal::padd(pabig, internal::pand(maskBig, internal::pmul(ax_s2m,ax_s2m))); in pblueNorm()
175 pasml = internal::padd(pasml, internal::pand(maskSml, internal::pmul(ax_s1m,ax_s1m))); in pblueNorm()
176 …pamed = internal::padd(pamed, internal::pandnot(internal::pmul(ax,ax),internal::pand(maskSml,maskB… in pblueNorm()

12345