diff options
author | Konstantinos Margaritis <markos@freevec.org> | 2014-09-21 13:59:30 +0300 |
---|---|---|
committer | Konstantinos Margaritis <markos@freevec.org> | 2014-09-21 13:59:30 +0300 |
commit | 56408504e4e3fa5f9c59d9edac14ca1ba1255e5a (patch) | |
tree | ec9fe6689843784c3f24213141d6355771c7aac4 /Eigen/src/Core/arch/AltiVec/Complex.h | |
parent | 974fe38ca38fb812f3ce4be105cf2ff69f40aef1 (diff) |
fix compile error on big endian altivec
Diffstat (limited to 'Eigen/src/Core/arch/AltiVec/Complex.h')
-rw-r--r-- | Eigen/src/Core/arch/AltiVec/Complex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/AltiVec/Complex.h b/Eigen/src/Core/arch/AltiVec/Complex.h index 58f5fbd27..30e2088ef 100644 --- a/Eigen/src/Core/arch/AltiVec/Complex.h +++ b/Eigen/src/Core/arch/AltiVec/Complex.h @@ -242,6 +242,7 @@ EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet2cf,2>& kernel) } //---------- double ---------- +#ifdef __VSX__ struct Packet1cd { EIGEN_STRONG_INLINE Packet1cd() {} @@ -419,7 +420,7 @@ EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet1cd,2>& kernel) kernel.packet[1].v = vec_perm(kernel.packet[0].v, kernel.packet[1].v, p16uc_TRANSPOSE64_LO); kernel.packet[0].v = tmp; } - +#endif // __VSX__ } // end namespace internal } // end namespace Eigen |