summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-06-02 21:41:18 -0400
committerErik Schnetter <schnetter@gmail.com>2013-06-02 21:41:18 -0400
commit0579080072e6571bf39c5884a678920209758048 (patch)
tree75b2ef9720b488f3cbc626bae2c86b40fe30dde9
parent6a4bf2fdcfced7b9f79cd069197dd280588d9c47 (diff)
downloadvecmathlib-0579080072e6571bf39c5884a678920209758048.zip
vecmathlib-0579080072e6571bf39c5884a678920209758048.tar.gz
Use different macro to detect PPC architecture
-rw-r--r--vec_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vec_test.h b/vec_test.h
index 4db1d46..c7c00af 100644
--- a/vec_test.h
+++ b/vec_test.h
@@ -393,7 +393,7 @@ namespace vecmathlib {
// GCC crashes when +X is used as constraint
# if defined __SSE2__
for (int d=0; d<size; ++d) __asm__("": "+x" (v[d]));
-# elif defined _ARCH_PPC64 // __ALTIVEC__
+# elif defined __PPC64__ // __ALTIVEC__
for (int d=0; d<size; ++d) __asm__("": "+f" (v[d]));
# else
# error "Floating point barrier undefined on this architecture"
OpenPOWER on IntegriCloud