Add missing exp2 definition for Altivec.

This commit is contained in:
Rasmus Munk Larsen 2024-10-28 18:12:36 +00:00
parent b15ebb1c2d
commit 6c04d0cd68

View File

@ -2309,6 +2309,11 @@ EIGEN_STRONG_INLINE Packet8bf pexp<Packet8bf>(const Packet8bf& a) {
BF16_TO_F32_UNARY_OP_WRAPPER(pexp_float, a); BF16_TO_F32_UNARY_OP_WRAPPER(pexp_float, a);
} }
template <>
EIGEN_STRONG_INLINE Packet8bf pexp2<Packet8bf>(const Packet8bf& a) {
BF16_TO_F32_UNARY_OP_WRAPPER(generic_pexp2, a);
}
template <> template <>
EIGEN_STRONG_INLINE Packet4f pldexp<Packet4f>(const Packet4f& a, const Packet4f& exponent) { EIGEN_STRONG_INLINE Packet4f pldexp<Packet4f>(const Packet4f& a, const Packet4f& exponent) {
return pldexp_generic(a, exponent); return pldexp_generic(a, exponent);