aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2018-05-08 11:42:15 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2018-05-08 11:42:15 +0000
commit57cfbfbab8ec2a2ca4fb060bf95e0d03a8df57f2 (patch)
tree39ded4d69f7676cddce6284cf1679be82ae60b54 /gcc
parentad088249a266b75343cfa293ae16cc03996f3695 (diff)
downloadgcc-57cfbfbab8ec2a2ca4fb060bf95e0d03a8df57f2.zip
gcc-57cfbfbab8ec2a2ca4fb060bf95e0d03a8df57f2.tar.gz
gcc-57cfbfbab8ec2a2ca4fb060bf95e0d03a8df57f2.tar.bz2
Move C++ SVE tests to g++.target/aarch64/sve
2018-05-08 Richard Sandiford <richard.sandiford@linaro.org> gcc/testsuite/ * g++.dg/other/sve_const_pred_1.C: Rename to... * g++.target/aarch64/sve/const_pred_1.C: ...this. Remove aarch64 target selectors and explicit -march options. * g++.dg/other/sve_const_pred_2.C: Rename to... * g++.target/aarch64/sve/const_pred_2.C: ...this and adjust likewise. * g++.dg/other/sve_const_pred_3.C: Rename to... * g++.target/aarch64/sve/const_pred_3.C: ...this and adjust likewise. * g++.dg/other/sve_const_pred_4.C: Rename to... * g++.target/aarch64/sve/const_pred_4.C: ...this and adjust likewise. * g++.dg/other/sve_tls_2.C: Rename to... * g++.target/aarch64/sve/tls_2.C: ...this and adjust likewise. * g++.dg/other/sve_vcond_1.C: Rename to... * g++.target/aarch64/sve/vcond_1.C: ...this and adjust likewise. * g++.dg/other/sve_vcond_1_run.C: Rename to... * g++.target/aarch64/sve/vcond_1_run.C: ...this and adjust likewise. From-SVN: r260038
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog18
-rw-r--r--gcc/testsuite/g++.target/aarch64/sve/const_pred_1.C (renamed from gcc/testsuite/g++.dg/other/sve_const_pred_1.C)4
-rw-r--r--gcc/testsuite/g++.target/aarch64/sve/const_pred_2.C (renamed from gcc/testsuite/g++.dg/other/sve_const_pred_2.C)4
-rw-r--r--gcc/testsuite/g++.target/aarch64/sve/const_pred_3.C (renamed from gcc/testsuite/g++.dg/other/sve_const_pred_3.C)4
-rw-r--r--gcc/testsuite/g++.target/aarch64/sve/const_pred_4.C (renamed from gcc/testsuite/g++.dg/other/sve_const_pred_4.C)4
-rw-r--r--gcc/testsuite/g++.target/aarch64/sve/tls_2.C (renamed from gcc/testsuite/g++.dg/other/sve_tls_2.C)4
-rw-r--r--gcc/testsuite/g++.target/aarch64/sve/vcond_1.C (renamed from gcc/testsuite/g++.dg/other/sve_vcond_1.C)2
-rw-r--r--gcc/testsuite/g++.target/aarch64/sve/vcond_1_run.C (renamed from gcc/testsuite/g++.dg/other/sve_vcond_1_run.C)4
8 files changed, 31 insertions, 13 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5393aab..2628d55 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,23 @@
2018-05-08 Richard Sandiford <richard.sandiford@linaro.org>
+ * g++.dg/other/sve_const_pred_1.C: Rename to...
+ * g++.target/aarch64/sve/const_pred_1.C: ...this. Remove aarch64
+ target selectors and explicit -march options.
+ * g++.dg/other/sve_const_pred_2.C: Rename to...
+ * g++.target/aarch64/sve/const_pred_2.C: ...this and adjust likewise.
+ * g++.dg/other/sve_const_pred_3.C: Rename to...
+ * g++.target/aarch64/sve/const_pred_3.C: ...this and adjust likewise.
+ * g++.dg/other/sve_const_pred_4.C: Rename to...
+ * g++.target/aarch64/sve/const_pred_4.C: ...this and adjust likewise.
+ * g++.dg/other/sve_tls_2.C: Rename to...
+ * g++.target/aarch64/sve/tls_2.C: ...this and adjust likewise.
+ * g++.dg/other/sve_vcond_1.C: Rename to...
+ * g++.target/aarch64/sve/vcond_1.C: ...this and adjust likewise.
+ * g++.dg/other/sve_vcond_1_run.C: Rename to...
+ * g++.target/aarch64/sve/vcond_1_run.C: ...this and adjust likewise.
+
+2018-05-08 Richard Sandiford <richard.sandiford@linaro.org>
+
PR testsuite/85586
* gcc.dg/vect/pr85586.c: Restrict LOOP VECTORIZED test to
!vect_no_align.
diff --git a/gcc/testsuite/g++.dg/other/sve_const_pred_1.C b/gcc/testsuite/g++.target/aarch64/sve/const_pred_1.C
index cc124c0..25b7663 100644
--- a/gcc/testsuite/g++.dg/other/sve_const_pred_1.C
+++ b/gcc/testsuite/g++.target/aarch64/sve/const_pred_1.C
@@ -1,5 +1,5 @@
-/* { dg-do compile { target aarch64*-*-* } } */
-/* { dg-options "-O2 -march=armv8.2-a+sve -msve-vector-bits=256" } */
+/* { dg-do compile } */
+/* { dg-options "-O2 -msve-vector-bits=256" } */
#include <stdint.h>
diff --git a/gcc/testsuite/g++.dg/other/sve_const_pred_2.C b/gcc/testsuite/g++.target/aarch64/sve/const_pred_2.C
index e3bce39..4c781ca 100644
--- a/gcc/testsuite/g++.dg/other/sve_const_pred_2.C
+++ b/gcc/testsuite/g++.target/aarch64/sve/const_pred_2.C
@@ -1,5 +1,5 @@
-/* { dg-do compile { target aarch64*-*-* } } */
-/* { dg-options "-O2 -march=armv8.2-a+sve -msve-vector-bits=256" } */
+/* { dg-do compile } */
+/* { dg-options "-O2 -msve-vector-bits=256" } */
#include <stdint.h>
diff --git a/gcc/testsuite/g++.dg/other/sve_const_pred_3.C b/gcc/testsuite/g++.target/aarch64/sve/const_pred_3.C
index 9e75f39..6196ee0 100644
--- a/gcc/testsuite/g++.dg/other/sve_const_pred_3.C
+++ b/gcc/testsuite/g++.target/aarch64/sve/const_pred_3.C
@@ -1,5 +1,5 @@
-/* { dg-do compile { target aarch64*-*-* } } */
-/* { dg-options "-O2 -march=armv8.2-a+sve -msve-vector-bits=256" } */
+/* { dg-do compile } */
+/* { dg-options "-O2 -msve-vector-bits=256" } */
#include <stdint.h>
diff --git a/gcc/testsuite/g++.dg/other/sve_const_pred_4.C b/gcc/testsuite/g++.target/aarch64/sve/const_pred_4.C
index 04a1351..2bdf67fd 100644
--- a/gcc/testsuite/g++.dg/other/sve_const_pred_4.C
+++ b/gcc/testsuite/g++.target/aarch64/sve/const_pred_4.C
@@ -1,5 +1,5 @@
-/* { dg-do compile { target aarch64*-*-* } } */
-/* { dg-options "-O2 -march=armv8.2-a+sve -msve-vector-bits=256" } */
+/* { dg-do compile } */
+/* { dg-options "-O2 -msve-vector-bits=256" } */
#include <stdint.h>
diff --git a/gcc/testsuite/g++.dg/other/sve_tls_2.C b/gcc/testsuite/g++.target/aarch64/sve/tls_2.C
index ed46893..9267f1e 100644
--- a/gcc/testsuite/g++.dg/other/sve_tls_2.C
+++ b/gcc/testsuite/g++.target/aarch64/sve/tls_2.C
@@ -1,6 +1,6 @@
-/* { dg-do compile { target aarch64*-*-* } } */
+/* { dg-do compile } */
/* { dg-require-effective-target tls } */
-/* { dg-options "-O2 -march=armv8.2-a+sve -fPIC -msve-vector-bits=256" } */
+/* { dg-options "-O2 -fPIC -msve-vector-bits=256" } */
#include <stdint.h>
diff --git a/gcc/testsuite/g++.dg/other/sve_vcond_1.C b/gcc/testsuite/g++.target/aarch64/sve/vcond_1.C
index c1ad0b9..2a80d21 100644
--- a/gcc/testsuite/g++.dg/other/sve_vcond_1.C
+++ b/gcc/testsuite/g++.target/aarch64/sve/vcond_1.C
@@ -1,5 +1,5 @@
/* { dg-do assemble { target { aarch64_asm_sve_ok && { ! ilp32 } } } } */
-/* { dg-options "-march=armv8.2-a+sve -O -msve-vector-bits=256 --save-temps" } */
+/* { dg-options "-O -msve-vector-bits=256 --save-temps" } */
typedef __INT8_TYPE__ vnx16qi __attribute__((vector_size(32)));
typedef __INT16_TYPE__ vnx8hi __attribute__((vector_size(32)));
diff --git a/gcc/testsuite/g++.dg/other/sve_vcond_1_run.C b/gcc/testsuite/g++.target/aarch64/sve/vcond_1_run.C
index b542356..d01745e 100644
--- a/gcc/testsuite/g++.dg/other/sve_vcond_1_run.C
+++ b/gcc/testsuite/g++.target/aarch64/sve/vcond_1_run.C
@@ -1,6 +1,6 @@
/* { dg-do run { target aarch64_sve_hw } } */
-/* { dg-options "-O -march=armv8.2-a+sve" } */
-/* { dg-options "-O -march=armv8.2-a+sve -msve-vector-bits=256" { target aarch64_sve256_hw } } */
+/* { dg-options "-O" } */
+/* { dg-options "-O -msve-vector-bits=256" { target aarch64_sve256_hw } } */
#include "sve_vcond_1.c"