public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion
Date: Wed, 12 Sep 2007 14:44:00 -0000	[thread overview]
Message-ID: <20070912144407.13632.qmail@sourceware.org> (raw)
In-Reply-To: <bug-19580-7958@http.gcc.gnu.org/bugzilla/>



------- Comment #32 from rguenth at gcc dot gnu dot org  2007-09-12 14:44 -------
load-store motion at the tree level should really catch this.  For this it
needs to be extended to disambiguate aliases by looking at the actual memory
references:

<bb 4>:
  # r_8 = PHI <r_29(5), r_23(D)(3)>
  # n_11 = PHI <n_3(5), n_14(3)>
  # VUSE <r_8>
  D.1137_4 = r[0];
  # VUSE <r_8>
  D.1138_5 = r[5];
  D.1139_6 = D.1138_5 + D.1137_4;
  # r_24 = VDEF <r_8>
  r[0] = D.1139_6;
  # VUSE <r_24>
  D.1140_7 = r[1];
  D.1141_9 = D.1139_6 + D.1140_7;
...
  # r_29 = VDEF <r_28>
  r[5] = D.1148_21;
  n_3 = n_11 + -1;
  if (n_3 != 0)
    goto <bb 5>;
  else
    goto <bb 6>;

Zdenek, I think you had a patch to make lim more precise in this regard?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at gcc dot gnu dot
                   |                            |org


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


  parent reply	other threads:[~2007-09-12 14:44 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
2005-10-16 22:14 ` [Bug rtl-optimization/19580] [3.4/4.0/4.1 " pinskia at gcc dot gnu dot org
2005-10-17 10:28 ` uros at kss-loka dot si
2005-10-31  2:34 ` mmitchel at gcc dot gnu dot org
2006-02-03 16:44 ` [Bug rtl-optimization/19580] [3.4/4.0/4.1/4.2 " steven at gcc dot gnu dot org
2006-02-04 13:52 ` rguenth at gcc dot gnu dot org
2006-02-04 21:30 ` dberlin at gcc dot gnu dot org
2006-02-14 16:48 ` rguenth at gcc dot gnu dot org
2006-02-24  0:25 ` mmitchel at gcc dot gnu dot org
2006-05-25  2:34 ` [Bug rtl-optimization/19580] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2007-02-14  9:05 ` [Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
2007-04-17  5:53 ` dberlin at gcc dot gnu dot org
2007-04-17  8:22 ` rguenth at gcc dot gnu dot org
2007-09-12 14:44 ` rguenth at gcc dot gnu dot org [this message]
2007-09-12 14:49 ` rakdver at gcc dot gnu dot org
2007-09-12 15:09 ` eres at il dot ibm dot com
2007-09-13  4:45 ` eres at il dot ibm dot com
2008-01-23  9:28 ` steven at gcc dot gnu dot org
2008-01-23 10:35 ` rguenth at gcc dot gnu dot org
2008-03-28 13:41 ` [Bug rtl-optimization/19580] [4.1/4.2/4.3 " rguenth at gcc dot gnu dot org
2008-03-28 13:46 ` rguenth at gcc dot gnu dot org
2008-07-04 16:49 ` [Bug rtl-optimization/19580] [4.2/4.3 " jsm28 at gcc dot gnu dot org
2009-03-31 16:46 ` [Bug rtl-optimization/19580] [4.3 " jsm28 at gcc dot gnu dot org
2009-04-22 15:09 ` rguenth at gcc dot gnu dot 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=20070912144407.13632.qmail@sourceware.org \
    --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).