[PATCH] IBM Z: ldist-{rawmemchr, strlen} tests require vector extensions

Andreas Schwab schwab@linux-m68k.org
Tue Nov 2 15:20:01 GMT 2021


On Nov 02 2021, Stefan Schulze Frielinghaus via Gcc-patches wrote:

> diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ldist-rawmemchr-1.c b/gcc/testsuite/gcc.dg/tree-ssa/ldist-rawmemchr-1.c
> index 6abfd278351..bf6335f6360 100644
> --- a/gcc/testsuite/gcc.dg/tree-ssa/ldist-rawmemchr-1.c
> +++ b/gcc/testsuite/gcc.dg/tree-ssa/ldist-rawmemchr-1.c
> @@ -1,5 +1,6 @@
>  /* { dg-do run { target s390x-*-* } } */
>  /* { dg-options "-O2 -ftree-loop-distribution -fdump-tree-ldist-details" } */
> +/* { dg-additional-options "-march=z13 -mzarch" { target s390x-*-* } } */

I think that should use an effective_target check.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Gcc-patches mailing list