From 5ac7984ffa2076cc5b26fb220a3b351951251c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20P=2E=20L=2E=20de=20Carvalho?= Date: Wed, 14 Aug 2019 11:59:12 -0600 Subject: [PATCH] Fix debug macros in p{load,store}u --- Eigen/src/Core/arch/AltiVec/PacketMath.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Eigen/src/Core/arch/AltiVec/PacketMath.h b/Eigen/src/Core/arch/AltiVec/PacketMath.h index 521e6076d..7ee290a29 100755 --- a/Eigen/src/Core/arch/AltiVec/PacketMath.h +++ b/Eigen/src/Core/arch/AltiVec/PacketMath.h @@ -539,12 +539,12 @@ template<> EIGEN_STRONG_INLINE void pstoreu(int* to, const Packet4i& f // We also need to redefine little endian loading of Packet4i/Packet4f using VSX template<> EIGEN_STRONG_INLINE void pstoreu(int* to, const Packet4i& from) { - EIGEN_DEBUG_ALIGNED_STORE + EIGEN_DEBUG_UNALIGNED_STORE vec_vsx_st(from, 0, to); } template<> EIGEN_STRONG_INLINE void pstoreu(float* to, const Packet4f& from) { - EIGEN_DEBUG_ALIGNED_STORE + EIGEN_DEBUG_UNALIGNED_STORE vec_vsx_st(from, 0, to); } #endif @@ -1031,7 +1031,7 @@ template<> EIGEN_STRONG_INLINE Packet2d pfloor(const Packet2d& a) { re template<> EIGEN_STRONG_INLINE Packet2d ploadu(const double* from) { - EIGEN_DEBUG_ALIGNED_LOAD + EIGEN_DEBUG_UNALIGNED_LOAD return vec_vsx_ld(0, from); } @@ -1045,7 +1045,7 @@ template<> EIGEN_STRONG_INLINE Packet2d ploaddup(const double* from) template<> EIGEN_STRONG_INLINE void pstoreu(double* to, const Packet2d& from) { - EIGEN_DEBUG_ALIGNED_STORE + EIGEN_DEBUG_UNALIGNED_STORE vec_vsx_st(from, 0, to); }