Message ID | 20231013060126.503655-1-juzhe.zhong@rivai.ai |
---|---|
State | New |
Headers | show |
Series | RISC-V Regression: Fix FAIL of bb-slp-68.c for RVV | expand |
On Fri, 13 Oct 2023, Juzhe-Zhong wrote: > Like comment said, this test failed on 64 bytes vector. > Both RVV and GCN has 64 bytes vector. > > So it's more reasonable to use vect512. OK > gcc/testsuite/ChangeLog: > > * gcc.dg/vect/bb-slp-68.c: Use vect512. > > --- > gcc/testsuite/gcc.dg/vect/bb-slp-68.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-68.c b/gcc/testsuite/gcc.dg/vect/bb-slp-68.c > index e7573a14933..2dd3d8ee90c 100644 > --- a/gcc/testsuite/gcc.dg/vect/bb-slp-68.c > +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-68.c > @@ -20,4 +20,4 @@ void foo () > > /* We want to have the store group split into 4, 2, 4 when using 32byte vectors. > Unfortunately it does not work when 64-byte vectors are available. */ > -/* { dg-final { scan-tree-dump-not "from scalars" "slp2" { xfail amdgcn-*-* } } } */ > +/* { dg-final { scan-tree-dump-not "from scalars" "slp2" { xfail vect512 } } } */ >
Committed, thanks Richard. Pan -----Original Message----- From: Richard Biener <rguenther@suse.de> Sent: Friday, October 13, 2023 8:00 PM To: Juzhe-Zhong <juzhe.zhong@rivai.ai> Cc: gcc-patches@gcc.gnu.org; jeffreyalaw@gmail.com Subject: Re: [PATCH] RISC-V Regression: Fix FAIL of bb-slp-68.c for RVV On Fri, 13 Oct 2023, Juzhe-Zhong wrote: > Like comment said, this test failed on 64 bytes vector. > Both RVV and GCN has 64 bytes vector. > > So it's more reasonable to use vect512. OK > gcc/testsuite/ChangeLog: > > * gcc.dg/vect/bb-slp-68.c: Use vect512. > > --- > gcc/testsuite/gcc.dg/vect/bb-slp-68.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-68.c b/gcc/testsuite/gcc.dg/vect/bb-slp-68.c > index e7573a14933..2dd3d8ee90c 100644 > --- a/gcc/testsuite/gcc.dg/vect/bb-slp-68.c > +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-68.c > @@ -20,4 +20,4 @@ void foo () > > /* We want to have the store group split into 4, 2, 4 when using 32byte vectors. > Unfortunately it does not work when 64-byte vectors are available. */ > -/* { dg-final { scan-tree-dump-not "from scalars" "slp2" { xfail amdgcn-*-* } } } */ > +/* { dg-final { scan-tree-dump-not "from scalars" "slp2" { xfail vect512 } } } */ >
diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-68.c b/gcc/testsuite/gcc.dg/vect/bb-slp-68.c index e7573a14933..2dd3d8ee90c 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-68.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-68.c @@ -20,4 +20,4 @@ void foo () /* We want to have the store group split into 4, 2, 4 when using 32byte vectors. Unfortunately it does not work when 64-byte vectors are available. */ -/* { dg-final { scan-tree-dump-not "from scalars" "slp2" { xfail amdgcn-*-* } } } */ +/* { dg-final { scan-tree-dump-not "from scalars" "slp2" { xfail vect512 } } } */