11 #ifndef EIGEN_MOREVECTORIZATION_MATHFUNCTIONS_H
12 #define EIGEN_MOREVECTORIZATION_MATHFUNCTIONS_H
21 template<
typename Packet>
inline static Packet
pasin(Packet a) {
return std::asin(
a); }
23 #ifdef EIGEN_VECTORIZE_SSE
44 Packet4f sign_bit= _mm_and_ps(
x, p4f_sign_mask);
52 Packet4f branch_mask= _mm_cmpgt_ps(a, p4f_half);
58 z1=
pmadd(p4f_minus_half,a,p4f_half);
67 z1=
psub(p4f_pi_over_2,z1);
83 z1 = _mm_and_ps(branch_mask, z1);
84 z2 = _mm_andnot_ps(branch_mask, z2);
88 return _mm_xor_ps(z, sign_bit);
#define EIGEN_DONT_INLINE
bool pmul(const bool &a, const bool &b)
static EIGEN_DECLARE_CONST_Packet4f(1, 1.0f)
static EIGEN_DECLARE_CONST_Packet4f_FROM_INT(inv_mant_mask, ~0x7f800000)
Packet pabs(const Packet &a)
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet psqrt(const Packet &a)
Packet psub(const Packet &a, const Packet &b)
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet pasin(const Packet &a)
Packet pmadd(const Packet &a, const Packet &b, const Packet &c)
bool padd(const bool &a, const bool &b)
: TensorContractionSycl.h, provides various tensor contraction kernel for SYCL backend
Eigen::AutoDiffScalar< EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(Eigen::internal::remove_all_t< DerType >, typename Eigen::internal::traits< Eigen::internal::remove_all_t< DerType >>::Scalar, product) > asin(const Eigen::AutoDiffScalar< DerType > &x)