From 172db7bfc32def5ed0f885287e352b63dd5cd767 Mon Sep 17 00:00:00 2001 From: Antonio Sanchez Date: Tue, 27 Apr 2021 14:12:11 -0700 Subject: Add missing pcmp_lt_or_nan for NEON Packet4bf. --- Eigen/src/Core/arch/NEON/PacketMath.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Eigen') diff --git a/Eigen/src/Core/arch/NEON/PacketMath.h b/Eigen/src/Core/arch/NEON/PacketMath.h index 9cf4e0712..2b48570d1 100644 --- a/Eigen/src/Core/arch/NEON/PacketMath.h +++ b/Eigen/src/Core/arch/NEON/PacketMath.h @@ -3701,6 +3701,11 @@ template<> EIGEN_STRONG_INLINE Packet4bf pcmp_lt(const Packet4bf& a, return F32MaskToBf16Mask(pcmp_lt(Bf16ToF32(a), Bf16ToF32(b))); } +template<> EIGEN_STRONG_INLINE Packet4bf pcmp_lt_or_nan(const Packet4bf& a, const Packet4bf& b) +{ + return F32MaskToBf16Mask(pcmp_lt_or_nan(Bf16ToF32(a), Bf16ToF32(b))); +} + template<> EIGEN_STRONG_INLINE Packet4bf pcmp_le(const Packet4bf& a, const Packet4bf& b) { return F32MaskToBf16Mask(pcmp_le(Bf16ToF32(a), Bf16ToF32(b))); -- cgit v1.2.3