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 <>