https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127100

--- Comment #10 from Stefan Schulze Frielinghaus <stefansf at gcc dot gnu.org> 
---
(In reply to Jakub Jelinek from comment #7)
> Created attachment 65432 [details]
> gcc17-pr127100.patch
> 
> This is what I came up with.  It doesn't help that I think only s390 ever
> has non-zero bias and only on len_load/len_store, while most of the other
> named patterns are riscv only and always 0 bias, for which + vs. - doesn't
> really matter.
> The patch doesn't include the testcase, unsure what to do about that.
> On one side, it is already tested whenever one configures s390x gcc with
> --with-arch=z13 or --with-arch=z14 (or perhaps higher).  If we wanted to
> test it even in other configurations, there is currently no
> gfortran.target/s390 and using s390_useable_hw outside of s390 specific
> directories (e.g. in gfortran.dg) is not possible because the tcl function
> is only defined in s390.exp.

Regarding vll there are no real changes or new/similar instructions in newer
architectures.  Therefore, I think it would be fine to fix the test to
-march=z13 for a dg-compile test.  If you think it would be worthwhile to have
gfortran.target/s390 I'm fine with coming up with one.

> Plus, I can test this in 16 branch in Fedora build system, but it takes
> there ~ 2 days, or I can test on cfarm192 which could be somewhat faster,
> but still I think Stefan has faster boxes around.

I already started a bootstrap+regtest for z13,z14,z17 and will report back once
they finished.  Btw. feel free to throw any patches over the fence, I'm happy
if I can help out here and there.

Reply via email to