public inbox for gcc-regression@sourceware.org help / color / mirror / Atom feed
From: Hongtao Liu <crazylht@gmail.com> To: "sunil.k.pandey" <skpandey@sc.intel.com> Cc: GCC Patches <gcc-patches@gcc.gnu.org>, gcc-regression@gcc.gnu.org, "Liu, Hongtao" <hongtao.liu@intel.com> Subject: Re: [r12-4240 Regression] FAIL: libgomp.c++/scan-9.C scan-tree-dump-times vect "vectorized [2-6] loops" 2 on Linux/x86_64 Date: Sat, 9 Oct 2021 10:52:19 +0800 [thread overview] Message-ID: <CAMZc-bz9OJH-KB20gKa9jD-U=dqz_poR=3PMaVqFgGA__n_+Kw@mail.gmail.com> (raw) In-Reply-To: <20211008120146.AAAF22864721@gskx-2.sc.intel.com> On Fri, Oct 8, 2021 at 8:02 PM sunil.k.pandey via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > On Linux/x86_64, > > 2b8453c401b699ed93c085d0413ab4b5030bcdb8 is the first bad commit > commit 2b8453c401b699ed93c085d0413ab4b5030bcdb8 > Author: liuhongt <hongtao.liu@intel.com> > Date: Mon Sep 6 13:48:49 2021 +0800 > > Enable auto-vectorization at O2 with very-cheap cost model. > > caused > > FAIL: libgomp.c++/scan-10.C scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-11.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c++/scan-11.C scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-12.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c++/scan-12.C scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-13.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c++/scan-13.C scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-14.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c++/scan-14.C scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-15.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c++/scan-15.C scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-16.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c++/scan-16.C scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-17.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-18.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-19.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-20.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-21.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c/scan-22.c scan-tree-dump-times vect "vectorized [2-6] loops" 2 > FAIL: libgomp.c++/scan-9.C scan-tree-dump-times vect "vectorized [2-6] loops" 2 > > with GCC configured with > > ../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r12-4240/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}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/lastprivate-conditional-7.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/lastprivate-conditional-7.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/lastprivate-conditional-7.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/lastprivate-conditional-7.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/lastprivate-conditional-8.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/lastprivate-conditional-8.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/lastprivate-conditional-8.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/lastprivate-conditional-8.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-10.C --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-10.C --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-10.C --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-10.C --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-11.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-11.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-11.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-11.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-11.C --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-11.C --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-11.C --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-11.C --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-12.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-12.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-12.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-12.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-12.C --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-12.C --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-12.C --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-12.C --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-13.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-13.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-13.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-13.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-13.C --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-13.C --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-13.C --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-13.C --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-14.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-14.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-14.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-14.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-14.C --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-14.C --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-14.C --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-14.C --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-15.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-15.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-15.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-15.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-15.C --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-15.C --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-15.C --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-15.C --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-16.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-16.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-16.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-16.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-16.C --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-16.C --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-16.C --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-16.C --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-17.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-17.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-17.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-17.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-18.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-18.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-18.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-18.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-19.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-19.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-19.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-19.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-20.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-20.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-20.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-20.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-21.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-21.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-21.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-21.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-22.c --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-22.c --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-22.c --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c.exp=libgomp.c/scan-22.c --target_board='unix{-m64\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-9.C --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-9.C --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-9.C --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/scan-9.C --target_board='unix{-m64\ -march=cascadelake}'" > I'll post a patch to add -fvect-cost-model=cheap to them. > (Please do not reply to this email, for question about this report, contact me at skpgkp2 at gmail dot com) -- BR, Hongtao
next prev parent reply other threads:[~2021-10-09 2:45 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-08 12:01 sunil.k.pandey 2021-10-09 2:52 ` Hongtao Liu [this message] 2021-10-08 17:27 sunil.k.pandey 2021-10-09 2:53 ` Hongtao Liu 2021-10-09 2:57 ` Hongtao Liu
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='CAMZc-bz9OJH-KB20gKa9jD-U=dqz_poR=3PMaVqFgGA__n_+Kw@mail.gmail.com' \ --to=crazylht@gmail.com \ --cc=gcc-patches@gcc.gnu.org \ --cc=gcc-regression@gcc.gnu.org \ --cc=hongtao.liu@intel.com \ --cc=skpandey@sc.intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).