10 #ifndef EIGEN_MATH_FUNCTIONS_AVX_H
11 #define EIGEN_MATH_FUNCTIONS_AVX_H
17 #include "../../InternalHeaderCheck.h"
32 return _mm256_sqrt_ps(_x);
36 return _mm256_sqrt_pd(_x);
50 return generic_rsqrt_newton_step<
Packet8f, 1>::run(
a, _mm256_rsqrt_ps(
a));
53 template<> EIGEN_STRONG_INLINE
Packet8f preciprocal<Packet8f>(
const Packet8f&
a) {
54 return generic_reciprocal_newton_step<
Packet8f, 1>::run(
a, _mm256_rcp_ps(
a));
#define BF16_PACKET_FUNCTION(PACKET_F, PACKET_BF16, METHOD)
#define EIGEN_INSTANTIATE_GENERIC_MATH_FUNCS_DOUBLE(PACKET)
#define EIGEN_INSTANTIATE_GENERIC_MATH_FUNCS_FLOAT(PACKET)
#define F16_PACKET_FUNCTION(PACKET_F, PACKET_F16, METHOD)
#define EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet pexpm1(const Packet &a)
Packet8bf F32ToBf16(Packet4f p4f)
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet plog2(const Packet &a)
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet plog(const Packet &a)
Packet8f Bf16ToF32(const Packet8bf &a)
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet pexp(const Packet &a)
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet pcos(const Packet &a)
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet psin(const Packet &a)
Packet8f pldexp< Packet8f >(const Packet8f &a, const Packet8f &exponent)
Packet8h pfrexp(const Packet8h &a, Packet8h &exponent)
eigen_packet_wrapper< __vector unsigned short int, 0 > Packet8bf
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet8f psqrt< Packet8f >(const Packet8f &_x)
Packet8h float2half(const Packet8f &a)
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet ptanh(const Packet &a)
Packet8f pfrexp< Packet8f >(const Packet8f &a, Packet8f &exponent)
Packet4f psqrt(const Packet4f &a)
Packet8f half2float(const Packet8h &a)
Packet8h pldexp(const Packet8h &a, const Packet8h &exponent)
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet plog1p(const Packet &a)
Packet preciprocal(const Packet &a)
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet4d psqrt< Packet4d >(const Packet4d &_x)
eigen_packet_wrapper< __m128i, 2 > Packet8h
Packet4f prsqrt(const Packet4f &a)