11 #ifndef EIGEN_GEOMETRY_SSE_H 12 #define EIGEN_GEOMETRY_SSE_H 18 template<
class Derived,
class OtherDerived>
23 const __m128 mask = _mm_castsi128_ps(_mm_setr_epi32(0,0,0,0x80000000));
25 __m128 a = _a.
coeffs().template packet<Aligned>(0);
26 __m128 b = _b.
coeffs().template packet<Aligned>(0);
35 _mm_add_ps(flip1,flip2)));
40 template<
typename VectorLhs,
typename VectorRhs>
44 run(
const VectorLhs& lhs,
const VectorRhs&
rhs)
46 __m128 a = lhs.template packet<VectorLhs::Flags&AlignedBit ? Aligned : Unaligned>(0);
47 __m128 b = rhs.template packet<VectorRhs::Flags&AlignedBit ? Aligned : Unaligned>(0);
51 pstore(&res.x(),_mm_sub_ps(mul1,mul2));
59 template<
class Derived,
class OtherDerived>
64 const Packet2d mask = _mm_castsi128_pd(_mm_set_epi32(0x0,0x0,0x80000000,0x0));
68 const double* a = _a.
coeffs().data();
86 #ifdef EIGEN_VECTORIZE_SSE3 100 #ifdef EIGEN_VECTORIZE_SSE3 115 #endif // EIGEN_GEOMETRY_SSE_H static plain_matrix_type< VectorLhs >::type run(const VectorLhs &lhs, const VectorRhs &rhs)
#define EIGEN_UNUSED_VARIABLE(var)
iterative scaling algorithm to equilibrate rows and column norms in matrices
const internal::traits< Derived >::Coefficients & coeffs() const
void pstore(Scalar *to, const Packet &from)
Packet psub(const Packet &a, const Packet &b)
#define vec4f_swizzle1(v, p, q, r, s)
static Quaternion< double > run(const QuaternionBase< Derived > &_a, const QuaternionBase< OtherDerived > &_b)
Base class for quaternion expressions.
Packet pxor(const Packet &a, const Packet &b)
void rhs(const real_t *x, real_t *f)
static Quaternion< float > run(const QuaternionBase< Derived > &_a, const QuaternionBase< OtherDerived > &_b)
The quaternion class used to represent 3D orientations and rotations.
Packet pmul(const Packet &a, const Packet &b)
EIGEN_STRONG_INLINE Packet2d pset1< Packet2d >(const double &from)
Packet padd(const Packet &a, const Packet &b)
EIGEN_STRONG_INLINE Packet2cf preverse(const Packet2cf &a)