public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [r11-1851 Regression] FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2 on Linux/x86_64 (-m64 -march=cascadelake)
@ 2020-08-30  2:06 sunil.k.pandey
  2020-08-31  7:25 ` Richard Biener
  0 siblings, 1 reply; 5+ messages in thread
From: sunil.k.pandey @ 2020-08-30  2:06 UTC (permalink / raw)
  To: gcc-patches, gcc-regression, rguenther

On Linux/x86_64,

dccbf1e2a6e544f71b4a5795f0c79015db019fc3 is the first bad commit
commit dccbf1e2a6e544f71b4a5795f0c79015db019fc3
Author: Richard Biener <rguenther@suse.de>
Date:   Mon Jul 6 16:26:50 2020 +0200

    tree-optimization/96075 - fix bogus misalignment calculation

caused

FAIL: gcc.dg/vect/slp-46.c -flto -ffat-lto-objects  scan-tree-dump-times vect "vectorizing stmts using SLP" 2
FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2

with GCC configured with

../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r11-1851/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++,fortran --enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap

To reproduce:

$ cd {build_dir}/gcc && make check RUNTESTFLAGS="vect.exp=gcc.dg/vect/slp-46.c --target_board='unix{-m64\ -march=cascadelake}'"

(Please do not reply to this email, for question about this report, contact me at skpgkp2 at gmail dot com)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [r11-1851 Regression] FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2 on Linux/x86_64 (-m64 -march=cascadelake)
  2020-08-30  2:06 [r11-1851 Regression] FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2 on Linux/x86_64 (-m64 -march=cascadelake) sunil.k.pandey
@ 2020-08-31  7:25 ` Richard Biener
  2020-08-31 12:35   ` H.J. Lu
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Biener @ 2020-08-31  7:25 UTC (permalink / raw)
  To: skpgkp2; +Cc: gcc-patches

On Sat, 29 Aug 2020, sunil.k.pandey wrote:

> On Linux/x86_64,
> 
> dccbf1e2a6e544f71b4a5795f0c79015db019fc3 is the first bad commit
> commit dccbf1e2a6e544f71b4a5795f0c79015db019fc3
> Author: Richard Biener <rguenther@suse.de>
> Date:   Mon Jul 6 16:26:50 2020 +0200
> 
>     tree-optimization/96075 - fix bogus misalignment calculation
> 
> caused
> 
> FAIL: gcc.dg/vect/slp-46.c -flto -ffat-lto-objects  scan-tree-dump-times vect "vectorizing stmts using SLP" 2
> FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2

It might be useful to point out that the commit in question added the
testcase that "regressed" plus that you are using a non-standard
configuration (x86 vectorization unfortunately is too fragmented to
produce fully attributed or generic testcases that will pass with
any configuration).

So the appropriate report would be "FAIL: gcc.dg/vect/slp-46.c
with -march=cascadelake" which isn't a regression.

Richard.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [r11-1851 Regression] FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2 on Linux/x86_64 (-m64 -march=cascadelake)
  2020-08-31  7:25 ` Richard Biener
@ 2020-08-31 12:35   ` H.J. Lu
  2020-09-07  7:48     ` Hongtao Liu
  0 siblings, 1 reply; 5+ messages in thread
From: H.J. Lu @ 2020-08-31 12:35 UTC (permalink / raw)
  To: Richard Biener; +Cc: Sunil K Pandey, GCC Patches

On Mon, Aug 31, 2020 at 12:25 AM Richard Biener <rguenther@suse.de> wrote:
>
> On Sat, 29 Aug 2020, sunil.k.pandey wrote:
>
> > On Linux/x86_64,
> >
> > dccbf1e2a6e544f71b4a5795f0c79015db019fc3 is the first bad commit
> > commit dccbf1e2a6e544f71b4a5795f0c79015db019fc3
> > Author: Richard Biener <rguenther@suse.de>
> > Date:   Mon Jul 6 16:26:50 2020 +0200
> >
> >     tree-optimization/96075 - fix bogus misalignment calculation
> >
> > caused
> >
> > FAIL: gcc.dg/vect/slp-46.c -flto -ffat-lto-objects  scan-tree-dump-times vect "vectorizing stmts using SLP" 2
> > FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2
>
> It might be useful to point out that the commit in question added the
> testcase that "regressed" plus that you are using a non-standard
> configuration (x86 vectorization unfortunately is too fragmented to
> produce fully attributed or generic testcases that will pass with
> any configuration).
>
> So the appropriate report would be "FAIL: gcc.dg/vect/slp-46.c
> with -march=cascadelake" which isn't a regression.
>

We analyze and report any new failures.  When a testcase fails
with -march=cascadelake, it can be

1. The testcase doesn't expect AVX512.
2. Compiler fails to handle AVX512.

In any case, there are failures which didn't exist before the commit.

-- 
H.J.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [r11-1851 Regression] FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2 on Linux/x86_64 (-m64 -march=cascadelake)
  2020-08-31 12:35   ` H.J. Lu
@ 2020-09-07  7:48     ` Hongtao Liu
  2020-09-07  8:03       ` Richard Biener
  0 siblings, 1 reply; 5+ messages in thread
From: Hongtao Liu @ 2020-09-07  7:48 UTC (permalink / raw)
  To: H.J. Lu; +Cc: Richard Biener, GCC Patches

On Mon, Aug 31, 2020 at 8:35 PM H.J. Lu via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> On Mon, Aug 31, 2020 at 12:25 AM Richard Biener <rguenther@suse.de> wrote:
> >
> > On Sat, 29 Aug 2020, sunil.k.pandey wrote:
> >
> > > On Linux/x86_64,
> > >
> > > dccbf1e2a6e544f71b4a5795f0c79015db019fc3 is the first bad commit
> > > commit dccbf1e2a6e544f71b4a5795f0c79015db019fc3
> > > Author: Richard Biener <rguenther@suse.de>
> > > Date:   Mon Jul 6 16:26:50 2020 +0200
> > >
> > >     tree-optimization/96075 - fix bogus misalignment calculation
> > >
> > > caused
> > >
> > > FAIL: gcc.dg/vect/slp-46.c -flto -ffat-lto-objects  scan-tree-dump-times vect "vectorizing stmts using SLP" 2
> > > FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2
> >
> > It might be useful to point out that the commit in question added the
> > testcase that "regressed" plus that you are using a non-standard
> > configuration (x86 vectorization unfortunately is too fragmented to
> > produce fully attributed or generic testcases that will pass with
> > any configuration).
> >
> > So the appropriate report would be "FAIL: gcc.dg/vect/slp-46.c
> > with -march=cascadelake" which isn't a regression.
> >

Add /* { dg-additional-options "--param vect-epilogues-nomask=0" } */ ?

>
> We analyze and report any new failures.  When a testcase fails
> with -march=cascadelake, it can be
>
> 1. The testcase doesn't expect AVX512.
> 2. Compiler fails to handle AVX512.
>
> In any case, there are failures which didn't exist before the commit.
>
> --
> H.J.



-- 
BR,
Hongtao

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [r11-1851 Regression] FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2 on Linux/x86_64 (-m64 -march=cascadelake)
  2020-09-07  7:48     ` Hongtao Liu
@ 2020-09-07  8:03       ` Richard Biener
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Biener @ 2020-09-07  8:03 UTC (permalink / raw)
  To: Hongtao Liu; +Cc: H.J. Lu, GCC Patches

On Mon, 7 Sep 2020, Hongtao Liu wrote:

> On Mon, Aug 31, 2020 at 8:35 PM H.J. Lu via Gcc-patches
> <gcc-patches@gcc.gnu.org> wrote:
> >
> > On Mon, Aug 31, 2020 at 12:25 AM Richard Biener <rguenther@suse.de> wrote:
> > >
> > > On Sat, 29 Aug 2020, sunil.k.pandey wrote:
> > >
> > > > On Linux/x86_64,
> > > >
> > > > dccbf1e2a6e544f71b4a5795f0c79015db019fc3 is the first bad commit
> > > > commit dccbf1e2a6e544f71b4a5795f0c79015db019fc3
> > > > Author: Richard Biener <rguenther@suse.de>
> > > > Date:   Mon Jul 6 16:26:50 2020 +0200
> > > >
> > > >     tree-optimization/96075 - fix bogus misalignment calculation
> > > >
> > > > caused
> > > >
> > > > FAIL: gcc.dg/vect/slp-46.c -flto -ffat-lto-objects  scan-tree-dump-times vect "vectorizing stmts using SLP" 2
> > > > FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2
> > >
> > > It might be useful to point out that the commit in question added the
> > > testcase that "regressed" plus that you are using a non-standard
> > > configuration (x86 vectorization unfortunately is too fragmented to
> > > produce fully attributed or generic testcases that will pass with
> > > any configuration).
> > >
> > > So the appropriate report would be "FAIL: gcc.dg/vect/slp-46.c
> > > with -march=cascadelake" which isn't a regression.
> > >
> 
> Add /* { dg-additional-options "--param vect-epilogues-nomask=0" } */ ?

Works for me.

Richard.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-07  8:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-30  2:06 [r11-1851 Regression] FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2 on Linux/x86_64 (-m64 -march=cascadelake) sunil.k.pandey
2020-08-31  7:25 ` Richard Biener
2020-08-31 12:35   ` H.J. Lu
2020-09-07  7:48     ` Hongtao Liu
2020-09-07  8:03       ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).