summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/vector-2_y.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/vector-2_y.c')
-rw-r--r--gcc/testsuite/gcc.dg/compat/vector-2_y.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/vector-2_y.c b/gcc/testsuite/gcc.dg/compat/vector-2_y.c
new file mode 100644
index 000000000..a5ab241af
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/compat/vector-2_y.c
@@ -0,0 +1,17 @@
+/* { dg-options "-w" } */
+/* { dg-options "-w -mno-mmx -Wno-psabi" { target { i?86-*-* x86_64-*-* } } } */
+
+#ifndef SKIP_ATTRIBUTE
+
+#include "compat-common.h"
+#include "vector-defs.h"
+#include "vector-check.h"
+
+TEST (2, sf, 301.0)
+TEST (4, sf, 302.0)
+TEST (8, sf, 303.0)
+TEST (16, sf, 304.0)
+TEST (2, df, 402.0)
+TEST (4, df, 402.0)
+
+#endif