aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/vshuf-v8hi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/torture/vshuf-v8hi.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/torture/vshuf-v8hi.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/torture/vshuf-v8hi.c b/gcc-4.9/gcc/testsuite/gcc.dg/torture/vshuf-v8hi.c
new file mode 100644
index 000000000..f4639880f
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/torture/vshuf-v8hi.c
@@ -0,0 +1,11 @@
+/* { dg-do run } */
+/* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
+/* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
+/* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
+
+typedef unsigned short V __attribute__((vector_size(16)));
+typedef V VI;
+
+#include "vshuf-8.inc"
+#include "vshuf-main.inc"