aboutsummaryrefslogtreecommitdiff
path: root/tests/device/b8708181-Vector4/jni/Vector4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/device/b8708181-Vector4/jni/Vector4.cpp')
-rw-r--r--tests/device/b8708181-Vector4/jni/Vector4.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/device/b8708181-Vector4/jni/Vector4.cpp b/tests/device/b8708181-Vector4/jni/Vector4.cpp
index 6083a34dc..fd10faa5b 100644
--- a/tests/device/b8708181-Vector4/jni/Vector4.cpp
+++ b/tests/device/b8708181-Vector4/jni/Vector4.cpp
@@ -1,5 +1,17 @@
#include <stdio.h>
+#if defined(__clang__) && defined(__aarch64__) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ <= 4))
+/* Disable test for clang3.4/aarch64 because it cause the following error:
+ ..../lib/clang/3.4/include/arm_neon.h:65:24: error: 'neon_vector_type' attribute is not
+ supported for this target
+ */
+int main()
+{
+ return 0;
+}
+
+#else
+
#if defined(__arm__) || defined(__aarch64__)
#include <arm_neon.h>
#define SP "sp"
@@ -73,3 +85,4 @@ int main()
}
#endif
+#endif