summaryrefslogtreecommitdiffstats
path: root/vecmathlib.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-06-02 22:51:29 -0400
committerErik Schnetter <schnetter@gmail.com>2013-06-02 22:51:29 -0400
commit9b7484946de4087cc42626d35bce4042348806ef (patch)
tree2d165971908751e34c30ad948dcfa4c69aa97e7c /vecmathlib.h
parent4aaa9fb9938b1f58caf6260a6030c40676b362b0 (diff)
downloadvecmathlib-9b7484946de4087cc42626d35bce4042348806ef.zip
vecmathlib-9b7484946de4087cc42626d35bce4042348806ef.tar.gz
Implement VSX support
Diffstat (limited to 'vecmathlib.h')
-rw-r--r--vecmathlib.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/vecmathlib.h b/vecmathlib.h
index d1b0505..ae09165 100644
--- a/vecmathlib.h
+++ b/vecmathlib.h
@@ -51,25 +51,25 @@ namespace std { class type_info; }
// Vecmathlib's functions (mostly useful for testing Vecmathlib)
#include "vec_test.h"
-// Intel SSE 2
-#if defined __SSE2__
+#if defined __SSE2__ // Intel SSE 2
# include "vec_float_sse2_scalar.h"
# include "vec_double_sse2_scalar.h"
# include "vec_float_sse2.h"
# include "vec_double_sse2.h"
#endif
-// Intel AVX
-#if defined __AVX__
+#if defined __AVX__ // Intel AVX
# include "vec_fp8_avx.h"
# include "vec_fp16_avx.h"
# include "vec_float_avx.h"
# include "vec_double_avx.h"
#endif
-// IBM Altivec
-#if defined __ALTIVEC__
+#if defined __ALTIVEC__ // IBM Altivec
# include "vec_float_altivec.h"
#endif
+#if defined __VSX__ // IBM VSX
+# include "vec_double_vsx.h"
+#endif
#endif // #ifndef VECMATHLIB_H
OpenPOWER on IntegriCloud