On Mon, Jun 17, 2024 at 09:09:37PM +0200, Andreas Krebbel wrote: > On 6/14/24 20:03, Jakub Jelinek wrote: > > Also wonder about the > > // { dg-additional-options "-march=z14" { target s390*-*-* } } > > line, doesn't that mean the test will FAIL on all pre-z14 HW? > > Shouldn't it use some z14_runtime or similar effective target, or > > check in main (in that case copied over to g++.target/s390) whether > > z14 instructions can be actually used at runtime? > > Oh right. I'll remove that line and replicate the testcase in the arch > specific test dir.
Though, looking around some more, perhaps // { dg-additional-options "-march=z14" { target s390_vxe } } might be all that is needed, even in current dir. Jakub