diff options
author | Konstantinos Margaritis <markos@freevec.org> | 2016-07-10 07:05:10 -0300 |
---|---|---|
committer | Konstantinos Margaritis <markos@freevec.org> | 2016-07-10 07:05:10 -0300 |
commit | 9f7caa7e7dcd195922133e129ce8ef296ff48d13 (patch) | |
tree | e1d4654d63533a0feb15e465cb478f3641b17cf5 /Eigen/src/Core/arch/AltiVec/PacketMath.h | |
parent | be107e387b9b161d9a7f7875f0b8aaee7d407287 (diff) |
minor fixes for big endian altivec/vsx
Diffstat (limited to 'Eigen/src/Core/arch/AltiVec/PacketMath.h')
-rwxr-xr-x | Eigen/src/Core/arch/AltiVec/PacketMath.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Eigen/src/Core/arch/AltiVec/PacketMath.h b/Eigen/src/Core/arch/AltiVec/PacketMath.h index 3f4243995..cbfef3503 100755 --- a/Eigen/src/Core/arch/AltiVec/PacketMath.h +++ b/Eigen/src/Core/arch/AltiVec/PacketMath.h @@ -152,14 +152,15 @@ template<> struct packet_traits<float> : default_packet_traits HasExp = 1, #ifdef __VSX__ HasSqrt = 1, -#else - HasSqrt = 0, -#endif #if !EIGEN_COMP_CLANG HasRsqrt = 1, #else HasRsqrt = 0, #endif +#else + HasSqrt = 0, + HasRsqrt = 0, +#endif HasRound = 1, HasFloor = 1, HasCeil = 1, |