summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/simd/vzips16_1.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-30 17:19:02 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-30 17:19:02 +0000
commit951019127b9f3cf59989ceb74539d454d535d3b5 (patch)
tree958443e6076f37a3ff7d07d9303f5c4171944638 /gcc/testsuite/gcc.target/aarch64/simd/vzips16_1.c
parentbedbed50ff969478b0c8878678d7c169a8a0cdaf (diff)
parent8a21d39cf1ea8183eb1e95bbb4396d97ae0dc36d (diff)
downloadgcc-951019127b9f3cf59989ceb74539d454d535d3b5.tar.gz
Merge in trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@209944 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/aarch64/simd/vzips16_1.c')
-rw-r--r--gcc/testsuite/gcc.target/aarch64/simd/vzips16_1.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/aarch64/simd/vzips16_1.c b/gcc/testsuite/gcc.target/aarch64/simd/vzips16_1.c
new file mode 100644
index 00000000000..04a97546922
--- /dev/null
+++ b/gcc/testsuite/gcc.target/aarch64/simd/vzips16_1.c
@@ -0,0 +1,11 @@
+/* Test the `vzip_s16' AArch64 SIMD intrinsic. */
+
+/* { dg-do run } */
+/* { dg-options "-save-temps -fno-inline" } */
+
+#include <arm_neon.h>
+#include "vzips16.x"
+
+/* { dg-final { scan-assembler-times "zip1\[ \t\]+v\[0-9\]+\.4h, ?v\[0-9\]+\.4h, ?v\[0-9\]+\.4h!?\(?:\[ \t\]+@\[a-zA-Z0-9 \]+\)?\n" 1 } } */
+/* { dg-final { scan-assembler-times "zip2\[ \t\]+v\[0-9\]+\.4h, ?v\[0-9\]+\.4h, ?v\[0-9\]+\.4h!?\(?:\[ \t\]+@\[a-zA-Z0-9 \]+\)?\n" 1 } } */
+/* { dg-final { cleanup-saved-temps } } */