public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/38785] [4.5/4.6/4.7/4.8 Regression] huge performance regression on EEMBC bitmnp01
Date: Fri, 16 Nov 2012 18:01:00 -0000	[thread overview]
Message-ID: <bug-38785-4-LdNXm9omLH@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-38785-4@http.gcc.gnu.org/bugzilla/>


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38785

--- Comment #33 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-11-16 18:00:54 UTC ---
And at -O3 the testcase does not look really good indeed
  <bb 7>:
  # cstore_51 = PHI <0(5), 2147483647(6)>
  # prephitmp_82 = PHI <1073741823(5), 3221225470(6)>
  # prephitmp_83 = PHI <1789569705(5), 3937053352(6)>
  # prephitmp_84 = PHI <2326440616(5), 4473924263(6)>
  # prephitmp_85 = PHI <2755937345(5), 4903420992(6)>
  # prephitmp_86 = PHI <3113851286(5), 5261334933(6)>
  # prephitmp_87 = PHI <2684354557(5), 4831838204(6)>
  # prephitmp_88 = PHI <2219066434(5), 4366550081(6)>
  # prephitmp_89 = PHI <2576980375(5), 4724464022(6)>
  # prephitmp_90 = PHI <2147483646(5), 4294967293(6)>
  # prephitmp_91 = PHI <1610612734(5), 3758096381(6)>
  # prephitmp_92 = PHI <2040109463(5), 4187593110(6)>
  # prephitmp_93 = PHI <2398023404(5), 4545507051(6)>
  # prephitmp_94 = PHI <1968526675(5), 4116010322(6)>
  # prephitmp_95 = PHI <1503238552(5), 3650722199(6)>
  # prephitmp_96 = PHI <1861152493(5), 4008636140(6)>
  # prephitmp_97 = PHI <1431655764(5), 3579139411(6)>
  # prephitmp_98 = PHI <715827882(5), 2863311529(6)>
  # prephitmp_99 = PHI <1252698793(5), 3400182440(6)>
  # prephitmp_100 = PHI <1682195522(5), 3829679169(6)>
  # prephitmp_103 = PHI <1145324611(5), 3292808258(6)>
  # prephitmp_106 = PHI <536870911(5), 2684354558(6)>
  # prephitmp_107 = PHI <966367640(5), 3113851287(6)>
  # prephitmp_108 = PHI <1324281581(5), 3471765228(6)>
  # prephitmp_109 = PHI <894784852(5), 3042268499(6)>
  # prephitmp_110 = PHI <429496729(5), 2576980376(6)>
  # prephitmp_111 = PHI <787410670(5), 2934894317(6)>
  # prephitmp_112 = PHI <357913941(5), 2505397588(6)>
  *_18 = cstore_51;
  _24 = *_20;
  _25 = _24 << 2;
  if (_25 >= -14)
    goto <bb 8>;
  else
    goto <bb 9>;

The catch is that the patch disabled the partial PRE by an accident. No cold
edges are involved here since we predict all the branches quite even :(


  parent reply	other threads:[~2012-11-16 18:01 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-38785-4@http.gcc.gnu.org/bugzilla/>
2011-06-27 13:41 ` [Bug tree-optimization/38785] [4.3/4.4/4.5/4.6/4.7 " rguenth at gcc dot gnu.org
2012-01-16 13:21 ` [Bug tree-optimization/38785] [4.4/4.5/4.6/4.7 " rguenth at gcc dot gnu.org
2012-03-13 14:33 ` [Bug tree-optimization/38785] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
2012-04-28  1:59 ` mkuvyrkov at gcc dot gnu.org
2012-04-28  2:13 ` mkuvyrkov at gcc dot gnu.org
2012-05-02 10:41 ` rguenth at gcc dot gnu.org
2012-11-16 17:51 ` hubicka at gcc dot gnu.org
2012-11-16 18:01 ` hubicka at gcc dot gnu.org [this message]
2012-11-20 21:01 ` izamyatin at gmail dot com
2012-11-21 17:57 ` hubicka at gcc dot gnu.org
2012-11-21 18:00 ` amylaar at gcc dot gnu.org
2012-11-22  9:51 ` hubicka at gcc dot gnu.org
2012-11-22 13:06 ` hubicka at gcc dot gnu.org
2013-03-22 14:47 ` [Bug tree-optimization/38785] [4.5/4.6/4.7/4.8/4.9 " jakub at gcc dot gnu.org
2013-05-31 10:59 ` [Bug tree-optimization/38785] [4.5/4.7/4.8/4.9 " jakub at gcc dot gnu.org
2013-10-16  9:50 ` jakub at gcc dot gnu.org
2014-05-22  9:07 ` [Bug tree-optimization/38785] [4.5/4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
2014-12-19 13:42 ` [Bug tree-optimization/38785] [4.8/4.9/5 " jakub at gcc dot gnu.org
2015-06-23  8:26 ` [Bug tree-optimization/38785] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
2015-06-26 20:09 ` [Bug tree-optimization/38785] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:35 ` jakub at gcc dot gnu.org
2021-05-04 12:32 ` [Bug tree-optimization/38785] [8/9/10/11/12 " rguenth at gcc dot gnu.org
2021-05-14  9:46 ` [Bug tree-optimization/38785] [9/10/11/12 " jakub at gcc dot gnu.org
2021-06-01  8:04 ` rguenth at gcc dot gnu.org
2022-05-27  9:34 ` [Bug tree-optimization/38785] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:29 ` jakub at gcc dot gnu.org
2023-07-07 10:29 ` [Bug tree-optimization/38785] [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-38785-4-LdNXm9omLH@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: link
Be 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).