public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110577] New: s390x: Some tests fail with -march=z13
@ 2023-07-06 18:22 mpolacek at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: mpolacek at gcc dot gnu.org @ 2023-07-06 18:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110577
Bug ID: 110577
Summary: s390x: Some tests fail with -march=z13
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: mpolacek at gcc dot gnu.org
Target Milestone: ---
These tests:
gcc.dg/vect/vect-cond-reduc-4.c
g++.dg/vect/pr89653.cc
gfortran.dg/vect/fast-math-pr38968.f90
gfortran.dg/vect/fast-math-rnflow-trs2a2.f90
gfortran.dg/vect/pr62283.f
gcc.target/s390/vector/partial/s390-vec-length-epil-1.c
gcc.target/s390/vector/partial/s390-vec-length-epil-2.c
gcc.target/s390/vector/partial/s390-vec-length-epil-3.c
gcc.target/s390/vector/partial/s390-vec-length-full-1.c
gcc.target/s390/vector/partial/s390-vec-length-full-2.c
gcc.target/s390/vector/partial/s390-vec-length-full-3.c
work with -march=z14, but fail with -march=z13. E.g.,
# gcc vect-cond-reduc-4.c -fdiagnostics-plain-output --param
min-vect-loop-bound=1 --param max-unrolled-insns=200 --param max-unroll-times=8
--param max-completely-peeled-insns=200 --param max-completely-peel-times=16
-march=z13 -mzarch -ftree-vectorize -fno-tree-loop-distribute-patterns
-fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details --param
vect-epilogues-nomask=0 -march=z14 ; grep "LOOP VECTORIZED"
a-vect-cond-reduc-4.c.172t.vect
vect-cond-reduc-4.c:19:21: note: LOOP VECTORIZED
vect-cond-reduc-4.c:19:21: note: LOOP VECTORIZED
# gcc vect-cond-reduc-4.c -fdiagnostics-plain-output --param
min-vect-loop-bound=1 --param max-unrolled-insns=200 --param max-unroll-times=8
--param max-completely-peeled-insns=200 --param max-completely-peel-times=16
-march=z13 -mzarch -ftree-vectorize -fno-tree-loop-distribute-patterns
-fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details --param
vect-epilogues-nomask=0 -march=z13 ; grep "LOOP VECTORIZED"
a-vect-cond-reduc-4.c.172t.vect
#
or
# gcc s390-vec-length-epil-1.c -fdiagnostics-plain-output -O2 -ftree-vectorize
-fno-vect-cost-model -fno-unroll-loops -fno-trapping-math
--param=vect-partial-vector-usage=1 --param=min-vect-loop-bound=0
-ffat-lto-objects -fno-ident -S -march=z13 -o s390-vec-length-epil-1.s
# grep vll s390-vec-length-epil-1.s | wc -l
12
# grep vstl s390-vec-length-epil-1.s | wc -l
6
# gcc s390-vec-length-epil-1.c -fdiagnostics-plain-output -O2 -ftree-vectorize
-fno-vect-cost-model -fno-unroll-loops -fno-trapping-math
--param=vect-partial-vector-usage=1 --param=min-vect-loop-bound=0
-ffat-lto-objects -fno-ident -S -march=z14 -o s390-vec-length-epil-1.s
# grep vll s390-vec-length-epil-1.s | wc -l
14
# grep vstl s390-vec-length-epil-1.s | wc -l
7
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-06 18:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06 18:22 [Bug target/110577] New: s390x: Some tests fail with -march=z13 mpolacek at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).