diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-06-02 21:41:18 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-06-02 21:41:18 -0400 |
commit | 0579080072e6571bf39c5884a678920209758048 (patch) | |
tree | 75b2ef9720b488f3cbc626bae2c86b40fe30dde9 | |
parent | 6a4bf2fdcfced7b9f79cd069197dd280588d9c47 (diff) | |
download | vecmathlib-0579080072e6571bf39c5884a678920209758048.zip vecmathlib-0579080072e6571bf39c5884a678920209758048.tar.gz |
Use different macro to detect PPC architecture
-rw-r--r-- | vec_test.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |