diff --git a/Eigen/src/Core/arch/AltiVec/PacketMath.h b/Eigen/src/Core/arch/AltiVec/PacketMath.h index 6998e7c05..688f9f09d 100644 --- a/Eigen/src/Core/arch/AltiVec/PacketMath.h +++ b/Eigen/src/Core/arch/AltiVec/PacketMath.h @@ -2309,6 +2309,11 @@ EIGEN_STRONG_INLINE Packet8bf pexp(const Packet8bf& a) { BF16_TO_F32_UNARY_OP_WRAPPER(pexp_float, a); } +template <> +EIGEN_STRONG_INLINE Packet8bf pexp2(const Packet8bf& a) { + BF16_TO_F32_UNARY_OP_WRAPPER(generic_pexp2, a); +} + template <> EIGEN_STRONG_INLINE Packet4f pldexp(const Packet4f& a, const Packet4f& exponent) { return pldexp_generic(a, exponent);