From 3af744b02394a359737b3491a50460e0ce871a47 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Fri, 18 Sep 2020 01:07:01 +0000 Subject: Add missing packet op pcmp_lt_or_nan for Packet2d on ARM. --- Eigen/src/Core/arch/NEON/PacketMath.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Eigen/src/Core/arch/NEON/PacketMath.h') diff --git a/Eigen/src/Core/arch/NEON/PacketMath.h b/Eigen/src/Core/arch/NEON/PacketMath.h index 463ae58ad..65a15d6a1 100644 --- a/Eigen/src/Core/arch/NEON/PacketMath.h +++ b/Eigen/src/Core/arch/NEON/PacketMath.h @@ -3642,6 +3642,9 @@ template<> EIGEN_STRONG_INLINE Packet2d pcmp_le(const Packet2d& a, const Packet2 template<> EIGEN_STRONG_INLINE Packet2d pcmp_lt(const Packet2d& a, const Packet2d& b) { return vreinterpretq_f64_u64(vcltq_f64(a,b)); } +template<> EIGEN_STRONG_INLINE Packet2d pcmp_lt_or_nan(const Packet2d& a, const Packet2d& b) +{ return vreinterpret_f32_u32(vmvnq_u64(vcgeq_f64(a,b))); } + template<> EIGEN_STRONG_INLINE Packet2d pcmp_eq(const Packet2d& a, const Packet2d& b) { return vreinterpretq_f64_u64(vceqq_f64(a,b)); } -- cgit v1.2.3