On Wed, 30 Aug 2023, Juzhe-Zhong wrote: > XPASS: gcc.dg/vect/vect-outer-4e.c -flto -ffat-lto-objects > scan-tree-dump-times vect "OUTER LOOP VECTORIZED" 1 > XPASS: gcc.dg/vect/vect-outer-4e.c scan-tree-dump-times vect "OUTER LOOP > VECTORIZED" 1 > XPASS: gcc.dg/vect/vect-outer-4f.c -flto -ffat-lto-objects > scan-tree-dump-times vect "OUTER LOOP VECTORIZED" 1 > XPASS: gcc.dg/vect/vect-outer-4f.c scan-tree-dump-times vect "OUTER LOOP > VECTORIZED" 1 > XPASS: gcc.dg/vect/vect-outer-4g.c -flto -ffat-lto-objects > scan-tree-dump-times vect "OUTER LOOP VECTORIZED" 1 > XPASS: gcc.dg/vect/vect-outer-4g.c scan-tree-dump-times vect "OUTER LOOP > VECTORIZED" 1 > XPASS: gcc.dg/vect/vect-outer-4k.c -flto -ffat-lto-objects > scan-tree-dump-times vect "OUTER LOOP VECTORIZED" 1 > XPASS: gcc.dg/vect/vect-outer-4k.c scan-tree-dump-times vect "OUTER LOOP > VECTORIZED" 1 > XPASS: gcc.dg/vect/vect-outer-4l.c -flto -ffat-lto-objects > scan-tree-dump-times vect "OUTER LOOP VECTORIZED" 1 > XPASS: gcc.dg/vect/vect-outer-4l.c scan-tree-dump-times vect "OUTER LOOP > VECTORIZED" 1 > > Like ARM SVE, Fix these XPASS for RVV.
OK. > gcc/testsuite/ChangeLog: > > * gcc.dg/vect/vect-double-reduc-5.c: Add riscv. > * gcc.dg/vect/vect-outer-4e.c: Ditto. > * gcc.dg/vect/vect-outer-4f.c: Ditto. > * gcc.dg/vect/vect-outer-4g.c: Ditto. > * gcc.dg/vect/vect-outer-4k.c: Ditto. > * gcc.dg/vect/vect-outer-4l.c: Ditto. > > --- > gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c | 2 +- > gcc/testsuite/gcc.dg/vect/vect-outer-4e.c | 2 +- > gcc/testsuite/gcc.dg/vect/vect-outer-4f.c | 2 +- > gcc/testsuite/gcc.dg/vect/vect-outer-4g.c | 2 +- > gcc/testsuite/gcc.dg/vect/vect-outer-4k.c | 2 +- > gcc/testsuite/gcc.dg/vect/vect-outer-4l.c | 2 +- > 6 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c > b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c > index 7465eae1c47..b990405745e 100644 > --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c > +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c > @@ -53,5 +53,5 @@ int main () > > /* Vectorization of loops with multiple types and double reduction is not > supported yet. */ > -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! aarch64*-*-* } } } } */ > +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! { aarch64*-*-* riscv*-*-* } } } } } */ > > diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4e.c > b/gcc/testsuite/gcc.dg/vect/vect-outer-4e.c > index e65a092f5bf..cc9e96f5d58 100644 > --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4e.c > +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4e.c > @@ -23,4 +23,4 @@ foo (){ > return; > } > > -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! aarch64*-*-* } } } } */ > +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! { aarch64*-*-* riscv*-*-* } } } } } */ > diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4f.c > b/gcc/testsuite/gcc.dg/vect/vect-outer-4f.c > index a88014a2fbf..c903dc9bfea 100644 > --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4f.c > +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4f.c > @@ -65,4 +65,4 @@ int main (void) > return 0; > } > > -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! aarch64*-*-* } } } } */ > +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! { aarch64*-*-* riscv*-*-* } } } } } */ > diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4g.c > b/gcc/testsuite/gcc.dg/vect/vect-outer-4g.c > index a88014a2fbf..c903dc9bfea 100644 > --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4g.c > +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4g.c > @@ -65,4 +65,4 @@ int main (void) > return 0; > } > > -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! aarch64*-*-* } } } } */ > +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! { aarch64*-*-* riscv*-*-* } } } } } */ > diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4k.c > b/gcc/testsuite/gcc.dg/vect/vect-outer-4k.c > index a88014a2fbf..c903dc9bfea 100644 > --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4k.c > +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4k.c > @@ -65,4 +65,4 @@ int main (void) > return 0; > } > > -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! aarch64*-*-* } } } } */ > +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! { aarch64*-*-* riscv*-*-* } } } } } */ > diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4l.c > b/gcc/testsuite/gcc.dg/vect/vect-outer-4l.c > index 4f95c652ee3..a63b9332afa 100644 > --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4l.c > +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4l.c > @@ -65,4 +65,4 @@ int main (void) > return 0; > } > > -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! aarch64*-*-* } } } }*/ > +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { > xfail { ! { aarch64*-*-* riscv*-*-* } } } } }*/ > -- Richard Biener <rguent...@suse.de> SUSE Software Solutions Germany GmbH, Frankenstrasse 146, 90461 Nuernberg, Germany; GF: Ivo Totev, Andrew McDonald, Werner Knoblich; (HRB 36809, AG Nuernberg)