]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
s390: testsuite: Use arch z14 instead of native
authorStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Mon, 9 Feb 2026 16:22:08 +0000 (17:22 +0100)
committerStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Mon, 9 Feb 2026 16:22:08 +0000 (17:22 +0100)
Pin those tests to z14.  Strictly speaking those are mostly fine for
z13, too.  However, vectors with 32-bit float elements are only natively
supported since z14.

gcc/testsuite/ChangeLog:

* gcc.target/s390/vector/partial/s390-vec-length-epil-1.c:
Use arch z14 instead of native.
* gcc.target/s390/vector/partial/s390-vec-length-epil-2.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-epil-3.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-epil-7.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-epil-run-1.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-epil-run-2.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-epil-run-3.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-epil-run-7.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-full-1.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-full-2.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-full-3.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-full-7.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-full-run-1.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-full-run-2.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-full-run-3.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-full-run-7.c:
Ditto.
* gcc.target/s390/vector/partial/s390-vec-length-small.c:
Ditto.

17 files changed:
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-epil-1.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-epil-2.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-epil-3.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-epil-7.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-epil-run-1.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-epil-run-2.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-epil-run-3.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-epil-run-7.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-full-1.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-full-2.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-full-3.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-full-7.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-full-run-1.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-full-run-2.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-full-run-3.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-full-run-7.c
gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-small.c

index ca844f79f61760fa950cc9b2ccb9c409e18e1a9d..05bf7ce053d68f460fbf66bf1e6443da9df21b69 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=1 --param=min-vect-loop-bound=0" } */
 
index 31850f81c809867fe583a756f8c44ef065aed2c9..f2798a99a94313b64f529dc0a8dc1ed49e95d384 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=1 --param=min-vect-loop-bound=0" } */
 
index 4e342de331c492cfa9d8c9b39667382f78b19208..89ee67c1c24834761461c0addc192750d9a3c075 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=1 --param=min-vect-loop-bound=0" } */
 
index c85c93e17d875e831eaf3b59c2785764abecb3eb..590c6555156303d8a2e08573824277434712323f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -ffast-math -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -ffast-math -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=1 --param=min-vect-loop-bound=0" } */
 
index 83d986451cb069c66cb60452c3aaf2fd86454d72..0675146235e8835df656716f970d56dd8b327127 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */
 
index 8b3b19516bfa74f10933ff5d047e161d9679c915..559f57c13d49329844f81f0fa1be5271f18f7de2 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */
 
index f2f94efc14bbc35d088a82c48c3d78412915eab6..914e30d2e41814c4d3b13eb56f933542935461ef 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */
 
index c1f58c3ee4273866609148cd28abb9eef38ad7d9..085e871633ee1305ba205e05c1bd68fe8fb9555a 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -ffast-math -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -ffast-math -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */
 
index 0ff86e70e48ef537a81b7e8d4bc45122360bd382..de42eb73cdb6ad00c9f0f976a372bcfcceea8e6d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
 
index f47fb8949437588991ee5c5c7ec254937c6cafb0..2a87c1795ad2c0e0a9c25e81f2e3fa7f4011c040 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
 
index 086185f461b026d80d0d2934c1ef7d93088dbf00..f3b33b531b806e3525fe51c252937b7684228fcd 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=2 --param=min-vect-loop-bound=0" } */
 
index 23856e1c5fa0e95328cc44a088d9505c31146ef3..81208fc486d654ca4ecfb207b65d498972277cec 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
 
index b064706c63edf06f75d0b07dc1868bc1b99230c9..b31b2ffec5cf1d0434469cfd7725ed44c5cce1bf 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
 
index c9a4ae8f3a6aac163653e76bbfa5c883db9f75c2..55c9d48445e236ab3a4f4c8b495a8565c77af776 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
 
index b422119b7ecea29ce956967c2261203d3c83c29b..5a9b916d8235482bee4a2b3b4f62b22d8ab0a28e 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
 
index dea7a0acec74e3d878b4b24a85287822b913d05e..5eedc4ddd3d3acf3214aafb616a7259fd7c22d5e 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run { target { lp64 && s390_vx } } } */
-/* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -ffast-math -fno-trapping-math" } */
+/* { dg-options "-march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -ffast-math -fno-trapping-math" } */
 
 /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
 
index ed953c876e4bc4984a211d3e33d6dee8d53fe2d2..0564c5d71d9d24d36974683b9b837aa1b9127b8f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { lp64 && s390_vx } } } */
-/* { dg-options "-mzarch -march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops" } */
+/* { dg-options "-mzarch -march=z14 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops" } */
 
 /* { dg-additional-options "--param=min-vect-loop-bound=0 --param=vect-partial-vector-usage=2 -fno-trapping-math" } */