diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-01-25 17:00:21 -0800 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-01-25 17:00:21 -0800 |
commit | 71429883ee41689fd657cdca824459f38ae53423 (patch) | |
tree | 2eca10aa383ededd87ce2e0ca1a2ce9eca792278 /Eigen/src/Core/products | |
parent | 934b8a1304f4d210520c1b158c2ee3da78062532 (diff) |
Fix compilation error in NEON GEBP specializaition of madd.
Diffstat (limited to 'Eigen/src/Core/products')
-rw-r--r-- | Eigen/src/Core/products/GeneralBlockPanelKernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <float, float, false, false,Architecture::NEON> 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 |