mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-13 01:43:13 +08:00
Add missing exp2 definition for Altivec.
This commit is contained in:
parent
b15ebb1c2d
commit
6c04d0cd68
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user