diff options
author | Konstantinos Margaritis <markos@freevec.org> | 2014-08-29 20:03:49 +0000 |
---|---|---|
committer | Konstantinos Margaritis <markos@freevec.org> | 2014-08-29 20:03:49 +0000 |
commit | 7ff266e3ce592ec1a6284cf16811965eec775f25 (patch) | |
tree | 1ecdefe5273874d85f5b03651f74fead61317d9b /test | |
parent | 01f3ca3e8d58394f1d42155d5499b7566050c8e7 (diff) |
Initial VSX commit
Diffstat (limited to 'test')
-rw-r--r-- | test/main.h | 2 | ||||
-rw-r--r-- | test/packetmath.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/main.h b/test/main.h index 773873a0d..7667eaa18 100644 --- a/test/main.h +++ b/test/main.h @@ -76,7 +76,7 @@ #endif // bounds integer values for AltiVec -#ifdef __ALTIVEC__ +#if defined(__ALTIVEC__) || defined(__VSX__) #define EIGEN_MAKING_DOCS #endif diff --git a/test/packetmath.cpp b/test/packetmath.cpp index e5dc473c2..e716d6d9a 100644 --- a/test/packetmath.cpp +++ b/test/packetmath.cpp @@ -156,7 +156,7 @@ template<typename Scalar> void packetmath() CHECK_CWISE2(REF_ADD, internal::padd); CHECK_CWISE2(REF_SUB, internal::psub); CHECK_CWISE2(REF_MUL, internal::pmul); - #ifndef EIGEN_VECTORIZE_ALTIVEC + #if !defined(EIGEN_VECTORIZE_ALTIVEC) && !defined(EIGEN_VECTORIZE_VSX) if (!internal::is_same<Scalar,int>::value) CHECK_CWISE2(REF_DIV, internal::pdiv); #endif |