11#ifndef EIGEN_MOREVECTORIZATION_MATHFUNCTIONS_H
12#define EIGEN_MOREVECTORIZATION_MATHFUNCTIONS_H
21#ifdef EIGEN_VECTORIZE_SSE
42 Packet4f sign_bit= _mm_and_ps(
x, p4f_sign_mask);
50 Packet4f branch_mask= _mm_cmpgt_ps(
a, p4f_half);
56 z1=
pmadd(p4f_minus_half,
a,p4f_half);
65 z1=
psub(p4f_pi_over_2,z1);
81 z1 = _mm_and_ps(branch_mask, z1);
82 z2 = _mm_andnot_ps(branch_mask, z2);
86 return _mm_xor_ps(z, sign_bit);
#define _EIGEN_DECLARE_CONST_Packet4f(NAME, X)
Definition PacketMath.h:57
#define _EIGEN_DECLARE_CONST_Packet4f_FROM_INT(NAME, X)
Definition PacketMath.h:69
ArrayXXi a
Definition Array_initializer_list_23_cxx11.cpp:1
#define EIGEN_DONT_INLINE
Definition Macros.h:940
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Definition gnuplot_common_settings.hh:12
EIGEN_DEVICE_FUNC Packet padd(const Packet &a, const Packet &b)
Definition GenericPacketMath.h:215
EIGEN_STRONG_INLINE Packet4f pmadd(const Packet4f &a, const Packet4f &b, const Packet4f &c)
Definition PacketMath.h:827
EIGEN_DEVICE_FUNC Packet pmul(const Packet &a, const Packet &b)
Definition GenericPacketMath.h:237
EIGEN_STRONG_INLINE Packet4f pabs(const Packet4f &a)
Definition PacketMath.h:1176
EIGEN_STRONG_INLINE Packet4f psqrt(const Packet4f &a)
Definition PacketMath.h:723
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet pasin(const Packet &a)
Definition GenericPacketMath.h:764
EIGEN_DEVICE_FUNC Packet psub(const Packet &a, const Packet &b)
Definition GenericPacketMath.h:222
__vector float Packet4f
Definition PacketMath.h:30
Namespace containing all symbols from the Eigen library.
Definition bench_norm.cpp:85
Definition BandTriangularSolver.h:13