summaryrefslogtreecommitdiff
path: root/cmake/CheckVSX.c.in
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/CheckVSX.c.in')
-rw-r--r--cmake/CheckVSX.c.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/CheckVSX.c.in b/cmake/CheckVSX.c.in
new file mode 100644
index 00000000..b172a491
--- /dev/null
+++ b/cmake/CheckVSX.c.in
@@ -0,0 +1,6 @@
+#include <altivec.h>
+int main (void)
+{
+ vector float d = {0.0f,0.0f,0.0f,0.0f};
+ vec_doubleh(d);
+} \ No newline at end of file