From f7ab506bd0fa655d0b35aeb1bf33da6b404f4c83 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen <4643818-rmlarsen1@users.noreply.gitlab.com> Date: Sun, 2 Nov 2025 23:58:16 +0000 Subject: [PATCH] Fixes #2998. (cherry picked from commit bfdbc031c2c6d6fabeea45dd9d1d6eb6b31c9d39) --- Eigen/src/Core/arch/NEON/PacketMath.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Eigen/src/Core/arch/NEON/PacketMath.h b/Eigen/src/Core/arch/NEON/PacketMath.h index 8a3fb5be0..e9b612e62 100644 --- a/Eigen/src/Core/arch/NEON/PacketMath.h +++ b/Eigen/src/Core/arch/NEON/PacketMath.h @@ -2576,7 +2576,7 @@ EIGEN_STRONG_INLINE void pstore(int8_t* to, const Packet4c& from) { } template <> EIGEN_STRONG_INLINE void pstore(int8_t* to, const Packet8c& from) { - EIGEN_DEBUG_ALIGNED_STORE vst1_s8(assume_aligned::alignment>(to), from); + EIGEN_DEBUG_ALIGNED_STORE vst1_s8(assume_aligned::alignment>(to), from); } template <> EIGEN_STRONG_INLINE void pstore(int8_t* to, const Packet16c& from) { @@ -5751,14 +5751,14 @@ EIGEN_STRONG_INLINE Packet4hf pandnot(const Packet4hf& a, const Packe template <> EIGEN_STRONG_INLINE Packet8hf pload(const Eigen::half* from) { -unpacket_traits::alignment); -EIGEN_DEBUG_ALIGNED_LOAD return vld1q_f16(reinterpret_cast(from)); + EIGEN_DEBUG_ALIGNED_LOAD return vld1q_f16(reinterpret_cast( + assume_aligned::alignment>(from))); } template <> EIGEN_STRONG_INLINE Packet4hf pload(const Eigen::half* from) { -unpacket_traits::alignment); -EIGEN_DEBUG_ALIGNED_LOAD return vld1_f16(reinterpret_cast(from)); + EIGEN_DEBUG_ALIGNED_LOAD return vld1_f16(reinterpret_cast( + assume_aligned::alignment>(from))); } template <>