public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/53533] [10/11/12/13 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark Date: Thu, 16 Jun 2022 01:29:01 +0000 [thread overview] Message-ID: <bug-53533-4-vWeFbfYzNR@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53533-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53533 --- Comment #49 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>: https://gcc.gnu.org/g:1089d083117f28f3518f5ec3c7a153236cb92334 commit r13-1126-g1089d083117f28f3518f5ec3c7a153236cb92334 Author: liuhongt <hongtao.liu@intel.com> Date: Tue May 31 17:13:21 2022 +0800 Simplify (B * v + C) * D -> BD* v + CD when B,C,D are all INTEGER_CST. Similar for (v + B) * C + D -> C * v + BCD. Don't simplify it when there's overflow and overflow is UB for type v. gcc/ChangeLog: PR tree-optimization/53533 * match.pd: Simplify (B * v + C) * D -> BD * v + CD and (v + B) * C + D -> C * v + BCD when B,C,D are all INTEGER_CST, and there's no overflow or !TYPE_OVERFLOW_UNDEFINED. gcc/testsuite/ChangeLog: * gcc.target/i386/pr53533-1.c: New test. * gcc.target/i386/pr53533-2.c: New test. * gcc.target/i386/pr53533-3.c: New test. * gcc.target/i386/pr53533-4.c: New test. * gcc.target/i386/pr53533-5.c: New test. * gcc.dg/vect/slp-11a.c: Adjust testcase.
next prev parent reply other threads:[~2022-06-16 1:29 UTC|newest] Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-05-31 0:55 [Bug middle-end/53533] New: [4.7 regression] loop unrolling as measured by Adobe's C++Benchmark is twice as slow versus 4.4-4.6 matt at use dot net 2012-05-31 0:58 ` [Bug middle-end/53533] " matt at use dot net 2012-05-31 9:59 ` rguenth at gcc dot gnu.org 2012-06-11 19:56 ` matt at use dot net 2012-06-11 19:57 ` matt at use dot net 2012-06-11 20:02 ` matt at use dot net 2012-06-12 9:54 ` [Bug rtl-optimization/53533] [4.7/4.8 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark rguenth at gcc dot gnu.org 2012-06-12 10:12 ` rguenth at gcc dot gnu.org 2012-06-12 10:27 ` rguenth at gcc dot gnu.org 2012-06-12 10:39 ` rguenth at gcc dot gnu.org 2012-06-12 11:57 ` rguenth at gcc dot gnu.org 2012-06-12 18:26 ` matt at use dot net 2012-06-12 18:55 ` rth at gcc dot gnu.org 2012-06-13 9:44 ` rguenth at gcc dot gnu.org 2012-06-14 14:39 ` rth at gcc dot gnu.org 2012-06-14 18:02 ` matt at use dot net 2012-06-14 18:39 ` rth at gcc dot gnu.org 2012-06-15 9:04 ` jakub at gcc dot gnu.org 2012-06-15 21:05 ` rth at gcc dot gnu.org 2012-08-10 9:43 ` rguenth at gcc dot gnu.org 2012-08-14 17:26 ` matt at use dot net 2012-08-20 23:53 ` matt at use dot net 2012-09-20 10:27 ` jakub at gcc dot gnu.org 2012-11-29 21:17 ` rth at gcc dot gnu.org 2012-12-03 15:27 ` rguenth at gcc dot gnu.org 2013-04-11 8:00 ` [Bug rtl-optimization/53533] [4.7/4.8/4.9 " rguenth at gcc dot gnu.org 2014-06-12 13:45 ` [Bug rtl-optimization/53533] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org 2014-12-19 13:28 ` [Bug rtl-optimization/53533] [4.8/4.9/5 " jakub at gcc dot gnu.org 2015-05-03 13:00 ` [Bug rtl-optimization/53533] [4.8/4.9/5/6 " trippels at gcc dot gnu.org 2015-05-03 13:01 ` trippels at gcc dot gnu.org 2015-05-04 14:46 ` maltsevm at gmail dot com 2015-05-04 15:00 ` maltsevm at gmail dot com 2015-06-23 8:22 ` rguenth at gcc dot gnu.org 2015-06-26 19:58 ` [Bug rtl-optimization/53533] [4.9/5/6 " jakub at gcc dot gnu.org 2015-06-26 20:29 ` jakub at gcc dot gnu.org 2021-02-23 12:24 ` [Bug rtl-optimization/53533] [8/9/10/11 " rguenth at gcc dot gnu.org 2021-05-14 9:46 ` [Bug rtl-optimization/53533] [9/10/11/12 " jakub at gcc dot gnu.org 2021-06-01 8:05 ` rguenth at gcc dot gnu.org 2022-05-27 9:34 ` [Bug rtl-optimization/53533] [10/11/12/13 " rguenth at gcc dot gnu.org 2022-05-30 6:40 ` crazylht at gmail dot com 2022-05-30 8:57 ` rguenther at suse dot de 2022-05-30 9:10 ` crazylht at gmail dot com 2022-05-30 9:14 ` rguenther at suse dot de 2022-06-16 1:29 ` cvs-commit at gcc dot gnu.org [this message] 2022-06-16 2:31 ` crazylht at gmail dot com 2022-06-28 10:30 ` jakub at gcc dot gnu.org 2023-07-07 10:29 ` [Bug rtl-optimization/53533] [11/12/13/14 " rguenth at gcc dot gnu.org
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=bug-53533-4-vWeFbfYzNR@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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).