From 71429883ee41689fd657cdca824459f38ae53423 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Fri, 25 Jan 2019 17:00:21 -0800 Subject: Fix compilation error in NEON GEBP specializaition of madd. --- Eigen/src/Core/products/GeneralBlockPanelKernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/products') diff --git a/Eigen/src/Core/products/GeneralBlockPanelKernel.h b/Eigen/src/Core/products/GeneralBlockPanelKernel.h index c5d77763a..cc6f3f029 100644 --- a/Eigen/src/Core/products/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/products/GeneralBlockPanelKernel.h @@ -1031,7 +1031,7 @@ struct gebp_traits EIGEN_STRONG_INLINE void madd(const LhsPacket& a, const RhsPacket& b, AccPacket& c, RhsPacket& /*tmp*/, const FixedInt<0>&) const { - c += a * b; + c = vfmaq_n_f32(c, a, b); } EIGEN_STRONG_INLINE void madd(const LhsPacket& a, const RhsPacketx4& b, AccPacket& c, RhsPacket& /*tmp*/, const FixedInt<0>&) const -- cgit v1.2.3