Fix NEON pmax<PropagateNumbers,Packet4bf>.

Simple typo, the max impl called pmin instead of pmax for floats.
This commit is contained in:
Antonio Sanchez 2020-12-11 21:50:52 -08:00
parent 839aa505c3
commit 55967f87d1

View File

@ -3458,7 +3458,7 @@ template <> EIGEN_STRONG_INLINE Packet4bf pmin<Packet4bf>(const Packet4bf &a,
template <> EIGEN_STRONG_INLINE Packet4bf pmax<PropagateNumbers, Packet4bf>(const Packet4bf &a,
const Packet4bf &b)
{
return F32ToBf16(pmin<PropagateNumbers, Packet4f>(Bf16ToF32(a), Bf16ToF32(b)));
return F32ToBf16(pmax<PropagateNumbers, Packet4f>(Bf16ToF32(a), Bf16ToF32(b)));
}
template <> EIGEN_STRONG_INLINE Packet4bf pmax<PropagateNaN, Packet4bf>(const Packet4bf &a,
const Packet4bf &b)