minor fixes for big endian altivec/vsx

This commit is contained in:
Konstantinos Margaritis
2016-07-10 07:05:10 -03:00
parent be107e387b
commit 9f7caa7e7d
3 changed files with 12 additions and 7 deletions

View File

@@ -152,13 +152,14 @@ 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,