summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-06-12 22:39:05 -0400
committerErik Schnetter <schnetter@gmail.com>2013-06-12 22:39:05 -0400
commit9b74eeede3fde858a53b3c0d32f5961cfda86b32 (patch)
treebeb674f2145c7a56c3335572fe1bffd8ebeb5c1c
parent2eb5b62af9141d3298decb64244a65617576d43c (diff)
downloadvecmathlib-9b74eeede3fde858a53b3c0d32f5961cfda86b32.zip
vecmathlib-9b74eeede3fde858a53b3c0d32f5961cfda86b32.tar.gz
Test NEON as well (first float2 architecture)
-rw-r--r--test.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/test.cc b/test.cc
index d26ad6c..2a0ea52 100644
--- a/test.cc
+++ b/test.cc
@@ -1431,6 +1431,9 @@ int main(int argc, char** argv)
#ifdef VML_DEBUG
"-DEBUG"
#endif
+#ifdef __ARM_PCS_VFP
+ "-NEON"
+#endif
#ifdef __ALTIVEC__
"-Altivec"
#endif
@@ -1463,6 +1466,12 @@ int main(int argc, char** argv)
#ifdef VECMATHLIB_HAVE_VEC_FLOAT_1
vecmathlib_test<realvec<float,1>>::test();
#endif
+ vecmathlib_test<realpseudovec<float,2>>::test();
+ // vecmathlib_test<realbuiltinvec<float,2>>::test();
+ vecmathlib_test<realtestvec<float,2>>::test();
+#ifdef VECMATHLIB_HAVE_VEC_FLOAT_2
+ vecmathlib_test<realvec<float,2>>::test();
+#endif
vecmathlib_test<realpseudovec<float,4>>::test();
// vecmathlib_test<realbuiltinvec<float,4>>::test();
vecmathlib_test<realtestvec<float,4>>::test();
OpenPOWER on IntegriCloud