Searched refs:pset1 (Results 1 - 18 of 18) sorted by relevance

/external/eigen/Eigen/src/Geometry/arch/
H A DGeometry_SSE.h71 Packet2d a_xx = pset1<Packet2d>(a[0]);
72 Packet2d a_yy = pset1<Packet2d>(a[1]);
73 Packet2d a_zz = pset1<Packet2d>(a[2]);
74 Packet2d a_ww = pset1<Packet2d>(a[3]);
/external/eigen/bench/
H A Dbench_norm.cpp137 Packet pasml = internal::pset1(Scalar(0));
138 Packet pamed = internal::pset1(Scalar(0));
139 Packet pabig = internal::pset1(Scalar(0));
140 Packet ps2m = internal::pset1(s2m);
141 Packet ps1m = internal::pset1(s1m);
142 Packet pb2 = internal::pset1(b2);
143 Packet pb1 = internal::pset1(b1);
153 // Packet scale = internal::pset1(Scalar(0));
156 // scale = internal::por(scale, internal::pandnot(internal::pset1(Scalar(1)),maskMed));
/external/eigen/Eigen/src/Core/arch/SSE/
H A DPacketMath.h49 const Packet4f p4f_##NAME = pset1<Packet4f>(X)
52 const Packet4f p4f_##NAME = _mm_castsi128_ps(pset1<Packet4i>(X))
55 const Packet4i p4i_##NAME = pset1<Packet4i>(X)
103 // TODO: let's check whether there does not exist a better fix, like adding a pset0() function. (it crashed on pset1(0)).
104 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { return _mm_set_ps(from,from,from,from); } function in namespace:Eigen::internal
105 template<> EIGEN_STRONG_INLINE Packet2d pset1<Packet2d>(const double& from) { return _mm_set_pd(from,from); } function in namespace:Eigen::internal
106 template<> EIGEN_STRONG_INLINE Packet4i pset1<Packet4i>(const int& from) { return _mm_set_epi32(from,from,from,from); } function in namespace:Eigen::internal
108 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { return _mm_set1_ps(from); } function in namespace:Eigen::internal
109 template<> EIGEN_STRONG_INLINE Packet2d pset1<Packet2d>(const double& from) { return _mm_set1_pd(from); } function in namespace:Eigen::internal
110 template<> EIGEN_STRONG_INLINE Packet4i pset1<Packet4 function in namespace:Eigen::internal
[all...]
H A DMathFunctions.h370 Packet4f half = pmul(_x, pset1<Packet4f>(.5f));
373 Packet4f non_zero_mask = _mm_cmpgt_ps(_x, pset1<Packet4f>(std::numeric_limits<float>::epsilon()));
376 x = pmul(x, psub(pset1<Packet4f>(1.5f), pmul(half, pmul(x,x))));
H A DComplex.h87 template<> EIGEN_STRONG_INLINE Packet2cf pset1<Packet2cf>(const std::complex<float>& from) function in namespace:Eigen::internal
99 template<> EIGEN_STRONG_INLINE Packet2cf ploaddup<Packet2cf>(const std::complex<float>* from) { return pset1<Packet2cf>(*from); }
302 template<> EIGEN_STRONG_INLINE Packet1cd pset1<Packet1cd>(const std::complex<double>& from) function in namespace:Eigen::internal
305 template<> EIGEN_STRONG_INLINE Packet1cd ploaddup<Packet1cd>(const std::complex<double>* from) { return pset1<Packet1cd>(*from); }
/external/eigen/Eigen/src/Core/arch/AltiVec/
H A DPacketMath.h47 Packet4f p4f_##NAME = pset1<Packet4f>(X)
50 Packet4f p4f_##NAME = vreinterpretq_f32_u32(pset1<int>(X))
53 Packet4i p4i_##NAME = pset1<Packet4i>(X)
147 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { function in namespace:Eigen::internal
156 template<> EIGEN_STRONG_INLINE Packet4i pset1<Packet4i>(const int& from) { function in namespace:Eigen::internal
164 template<> EIGEN_STRONG_INLINE Packet4f plset<float>(const float& a) { return vec_add(pset1<Packet4f>(a), p4f_COUNTDOWN); }
165 template<> EIGEN_STRONG_INLINE Packet4i plset<int>(const int& a) { return vec_add(pset1<Packet4i>(a), p4i_COUNTDOWN); }
230 return pset1<Packet4i>(0);
H A DComplex.h56 template<> EIGEN_STRONG_INLINE Packet2cf pset1<Packet2cf>(const std::complex<float>& from) function in namespace:Eigen::internal
102 return pset1<Packet2cf>(*from);
/external/eigen/Eigen/src/Core/arch/NEON/
H A DPacketMath.h34 const Packet4f p4f_##NAME = pset1<Packet4f>(X)
37 const Packet4f p4f_##NAME = vreinterpretq_f32_u32(pset1<int>(X))
40 const Packet4i p4i_##NAME = pset1<Packet4i>(X)
95 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { return vdupq_n_f32(from); } function in namespace:Eigen::internal
96 template<> EIGEN_STRONG_INLINE Packet4i pset1<Packet4i>(const int& from) { return vdupq_n_s32(from); } function in namespace:Eigen::internal
101 return vaddq_f32(pset1<Packet4f>(a), countdown);
106 return vaddq_s32(pset1<Packet4i>(a), countdown);
144 return pset1<Packet4i>(0);
H A DComplex.h51 template<> EIGEN_STRONG_INLINE Packet2cf pset1<Packet2cf>(const std::complex<float>& from) function in namespace:Eigen::internal
111 template<> EIGEN_STRONG_INLINE Packet2cf ploaddup<Packet2cf>(const std::complex<float>* from) { return pset1<Packet2cf>(*from); }
/external/eigen/Eigen/src/Core/products/
H A DCoeffBasedProduct.h376 res = pmadd(pset1<Packet>(lhs.coeff(row, UnrollingIndex)), rhs.template packet<LoadMode>(UnrollingIndex, col), res);
387 res = pmadd(lhs.template packet<LoadMode>(row, UnrollingIndex), pset1<Packet>(rhs.coeff(UnrollingIndex, col)), res);
397 res = pmul(pset1<Packet>(lhs.coeff(row, 0)),rhs.template packet<LoadMode>(0, col));
407 res = pmul(lhs.template packet<LoadMode>(row, 0), pset1<Packet>(rhs.coeff(0, col)));
418 res = pmul(pset1<Packet>(lhs.coeff(row, 0)),rhs.template packet<LoadMode>(0, col));
420 res = pmadd(pset1<Packet>(lhs.coeff(row, i)), rhs.template packet<LoadMode>(i, col), res);
431 res = pmul(lhs.template packet<LoadMode>(row, 0), pset1<Packet>(rhs.coeff(0, col)));
433 res = pmadd(lhs.template packet<LoadMode>(row, i), pset1<Packet>(rhs.coeff(i, col)), res);
H A DGeneralMatrixVector.h146 RhsPacket ptmp0 = pset1<RhsPacket>(alpha*rhs[i*rhsIncr]),
147 ptmp1 = pset1<RhsPacket>(alpha*rhs[(i+offset1)*rhsIncr]),
148 ptmp2 = pset1<RhsPacket>(alpha*rhs[(i+2)*rhsIncr]),
149 ptmp3 = pset1<RhsPacket>(alpha*rhs[(i+offset3)*rhsIncr]);
241 RhsPacket ptmp0 = pset1<RhsPacket>(alpha*rhs[k*rhsIncr]);
408 ResPacket ptmp0 = pset1<ResPacket>(ResScalar(0)), ptmp1 = pset1<ResPacket>(ResScalar(0)),
409 ptmp2 = pset1<ResPacket>(ResScalar(0)), ptmp3 = pset1<ResPacket>(ResScalar(0));
505 ResPacket ptmp0 = pset1<ResPacke
[all...]
H A DSelfadjointMatrixVector.h78 Packet ptmp0 = pset1<Packet>(t0);
80 Packet ptmp1 = pset1<Packet>(t1);
83 Packet ptmp2 = pset1<Packet>(t2);
85 Packet ptmp3 = pset1<Packet>(t3);
H A DGeneralBlockPanelKernel.h187 p = pset1<ResPacket>(ResScalar(0));
258 p = pset1<ResPacket>(ResScalar(0));
343 p.first = pset1<RealPacket>(RealScalar(0));
344 p.second = pset1<RealPacket>(RealScalar(0));
463 p = pset1<ResPacket>(ResScalar(0));
751 ResPacket alphav = pset1<ResPacket>(alpha);
783 ResPacket alphav = pset1<ResPacket>(alpha);
929 ResPacket alphav = pset1<ResPacket>(alpha);
1034 ResPacket alphav = pset1<ResPacket>(alpha);
1068 ResPacket alphav = pset1<ResPacke
[all...]
/external/eigen/Eigen/src/Core/
H A DFunctors.h446 /* NOTE why doing the pset1() in packetOp *is* an optimization ?
447 * indeed it seems better to declare m_other as a Packet and do the pset1() once
450 * - on the other hand GCC is able to moves the pset1() away the loop :)
462 { return internal::pmul(a, pset1<Packet>(m_other)); }
489 { return internal::pmul(a, pset1<Packet>(m_other)); }
536 EIGEN_STRONG_INLINE const Packet packetOp(Index, Index = 0) const { return internal::pset1<Packet>(m_other); }
567 m_packetStep(pset1<Packet>(packet_traits<Scalar>::size*step)),
568 m_base(padd(pset1<Packet>(low),pmul(pset1<Packet>(step),plset<Scalar>(-packet_traits<Scalar>::size)))) {}
591 m_lowPacket(pset1<Packe
[all...]
H A DDiagonalProduct.h83 internal::pset1<PacketScalar>(m_diagonal.diagonal().coeff(id)));
H A DGenericPacketMath.h165 pset1(const typename unpacket_traits<Packet>::type& a) { return a; } function in namespace:Eigen::internal
265 pstore(to, pset1<Packet>(a));
/external/eigen/Eigen/src/Jacobi/
H A DJacobi.h319 const Packet pc = pset1<Packet>(j.c());
320 const Packet ps = pset1<Packet>(j.s());
385 const Packet pc = pset1<Packet>(j.c());
386 const Packet ps = pset1<Packet>(j.s());
/external/eigen/test/
H A Dpacketmath.cpp165 internal::pstore(data2, internal::pset1<Packet>(data1[offset]));
166 VERIFY(areApprox(ref, data2, PacketSize) && "internal::pset1");

Completed in 146 milliseconds