Move C++ SVE tests to g++.target/aarch64/sve
authorRichard Sandiford <richard.sandiford@linaro.org>
Tue, 8 May 2018 11:42:15 +0000 (11:42 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 8 May 2018 11:42:15 +0000 (11:42 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.target/aarch64/sve/const_pred_1.C [moved from gcc/testsuite/g++.dg/other/sve_const_pred_1.C with 78% similarity]
gcc/testsuite/g++.target/aarch64/sve/const_pred_2.C [moved from gcc/testsuite/g++.dg/other/sve_const_pred_2.C with 75% similarity]
gcc/testsuite/g++.target/aarch64/sve/const_pred_3.C [moved from gcc/testsuite/g++.dg/other/sve_const_pred_3.C with 73% similarity]
gcc/testsuite/g++.target/aarch64/sve/const_pred_4.C [moved from gcc/testsuite/g++.dg/other/sve_const_pred_4.C with 72% similarity]
gcc/testsuite/g++.target/aarch64/sve/tls_2.C [moved from gcc/testsuite/g++.dg/other/sve_tls_2.C with 85% similarity]
gcc/testsuite/g++.target/aarch64/sve/vcond_1.C [moved from gcc/testsuite/g++.dg/other/sve_vcond_1.C with 99% similarity]
gcc/testsuite/g++.target/aarch64/sve/vcond_1_run.C [moved from gcc/testsuite/g++.dg/other/sve_vcond_1_run.C with 88% similarity]

index 5393aab..2628d55 100644 (file)
@@ -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.
@@ -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>
 
@@ -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>
 
@@ -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>
 
@@ -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>
 
similarity index 85%
rename from gcc/testsuite/g++.dg/other/sve_tls_2.C
rename to gcc/testsuite/g++.target/aarch64/sve/tls_2.C
index ed46893..9267f1e 100644 (file)
@@ -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>
 
similarity index 99%
rename from gcc/testsuite/g++.dg/other/sve_vcond_1.C
rename to gcc/testsuite/g++.target/aarch64/sve/vcond_1.C
index c1ad0b9..2a80d21 100644 (file)
@@ -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)));
@@ -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"