public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/19580] [3.4/4.0/4.1 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
@ 2005-10-16 22:14 ` pinskia at gcc dot gnu dot org
  2005-10-17 10:28 ` uros at kss-loka dot si
                   ` (21 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-16 22:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from pinskia at gcc dot gnu dot org  2005-10-16 22:14 -------
We really should turn on gcse-sm for 4.1 but then again maybe it is too late
for that.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |minor


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


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

* [Bug rtl-optimization/19580] [3.4/4.0/4.1 Regression] missed load/store motion
       [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 Regression] missed load/store motion 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
                   ` (20 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: uros at kss-loka dot si @ 2005-10-17 10:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from uros at kss-loka dot si  2005-10-17 10:28 -------
(In reply to comment #21)
> We really should turn on gcse-sm for 4.1 but then again maybe it is too late
> for that.

Better not. Look at PR 24257, comment #4 and comment #5, why.


-- 


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


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

* [Bug rtl-optimization/19580] [3.4/4.0/4.1 Regression] missed load/store motion
       [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 Regression] missed load/store motion 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
                   ` (19 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31  2:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #23 from mmitchel at gcc dot gnu dot org  2005-10-31 02:34 -------
This is not a very helpful audit trail.  However, I agree that the two samples
in Comment #19 would ideally result in pretty similar code.  If we think the
fix is to turn on -fgcse-sm by default, then this bug depends on 24257.

I'll leave this as P2, for now.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |24257


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


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

* [Bug rtl-optimization/19580] [3.4/4.0/4.1/4.2 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-31  2:34 ` mmitchel at gcc dot gnu dot org
@ 2006-02-03 16:44 ` steven at gcc dot gnu dot org
  2006-02-04 13:52 ` rguenth at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-02-03 16:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #24 from steven at gcc dot gnu dot org  2006-02-03 16:44 -------
Realistically this is not fixable for GCC 4.1.


-- 


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


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

* [Bug rtl-optimization/19580] [3.4/4.0/4.1/4.2 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  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
                   ` (17 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-02-04 13:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #25 from rguenth at gcc dot gnu dot org  2006-02-04 13:52 -------
On the mainline now even g() regresses, probably because of the reassoc pass
rewrite.  Of course on the mainline this is also "fixed" by --param
salias-max-array-elements=6, which makes load/store motion work on the tree
level.
It looks like expand only with

<L0>:;
  r[0] = r[0] + r[1];
  r[1] = r[1] + r[2];
  r[2] = r[2] + r[3];
  r[3] = r[3] + r[4];
  r[4] = r[4] + r[5];
  r[5] = r[5] + r[0];
  ivtmp.63 = ivtmp.63 + 1;
  if (ivtmp.63 != (unsigned int) n.68) goto <L0>; else goto <L2>;

produces RTL that we can optimize to

.L13:
        addl    %edi, %esi
        incl    %ebp
        addl    %ebx, %edi
        addl    %ecx, %ebx
        addl    %edx, %ecx
        addl    %eax, %edx
        addl    %esi, %eax
        cmpl    (%esp), %ebp
        jne     .L13

but not for (mainline)

<L0>:;
  D.1544 = r[1] + r[0];
  r[0] = D.1544;
  r[1] = r[2] + r[1];
  r[2] = r[3] + r[2];
  r[3] = r[4] + r[3];
  r[4] = r[5] + r[4];
  r[5] = D.1544 + r[5];
  n.61 = n.61 - 1;
  if (n.61 != 0) goto <L0>; else goto <L2>;


-- 


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


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

* [Bug rtl-optimization/19580] [3.4/4.0/4.1/4.2 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  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
                   ` (16 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2006-02-04 21:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #26 from dberlin at gcc dot gnu dot org  2006-02-04 21:30 -------
Buzz, thanks for playing.
The reassoc rewrite has nothing to do with this. It won't actually touch those
operations because they are memory loads and stores.

If you look at the reassoc dumps, the most it will do here is
Transforming D.1551_26 + D.1542_27 into D.1542_27 + D.1551_26;

(IE just swap the operands so they are in sorted order)

This has no effect on anything, it used to be done automatically, and is now
done manually.


-- 


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


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

* [Bug rtl-optimization/19580] [3.4/4.0/4.1/4.2 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  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
                   ` (15 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-02-14 16:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #27 from rguenth at gcc dot gnu dot org  2006-02-14 16:48 -------
The mainline has again returned to sane behavior for g() and -fgcse-sm does not
make any difference for f().  And we now use lea on i686:

.L11:
        addl    %edi, -16(%ebp)
        leal    (%ebx,%edi), %edi
        leal    (%ecx,%ebx), %ebx
        leal    (%edx,%ecx), %ecx
        leal    (%eax,%edx), %edx
        addl    -16(%ebp), %eax
        subl    $1, %esi
        jne     .L11


-- 


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


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

* [Bug rtl-optimization/19580] [3.4/4.0/4.1/4.2 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  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
                   ` (14 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-24  0:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #28 from mmitchel at gcc dot gnu dot org  2006-02-24 00:25 -------
This issue will not be resolved in GCC 4.1.0; retargeted at GCC 4.1.1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.3                       |4.1.1


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


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

* [Bug rtl-optimization/19580] [4.0/4.1/4.2 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2006-02-24  0:25 ` mmitchel at gcc dot gnu dot org
@ 2006-05-25  2:34 ` 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
                   ` (13 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25  2:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #29 from mmitchel at gcc dot gnu dot org  2006-05-25 02:32 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.1                       |4.1.2


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


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

* [Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  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 ` mmitchel at gcc dot gnu dot org
  2007-04-17  5:53 ` dberlin at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:05 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  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
                   ` (11 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2007-04-17  5:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #30 from dberlin at gcc dot gnu dot org  2007-04-17 06:53 -------
Is this really still broken in mainline?
At least as of Richard's last update, it wasn't


-- 


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


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

* [Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  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
                   ` (10 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-17  8:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #31 from rguenth at gcc dot gnu dot org  2007-04-17 09:22 -------
It's broken as we want the code from comment #1 back.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|3.4.0 4.0.0                 |3.4.6 4.0.4 4.1.2 4.3.0
   Last reconfirmed|2006-08-27 21:02:45         |2007-04-17 09:22:12
               date|                            |


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


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

* [Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2007-04-17  8:22 ` rguenth at gcc dot gnu dot org
@ 2007-09-12 14:44 ` rguenth at gcc dot gnu dot org
  2007-09-12 14:49 ` rakdver at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-09-12 14:44 UTC (permalink / raw)
  To: gcc-bugs



------- 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


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

* [Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2007-09-12 14:44 ` rguenth at gcc dot gnu dot org
@ 2007-09-12 14:49 ` rakdver at gcc dot gnu dot org
  2007-09-12 15:09 ` eres at il dot ibm dot com
                   ` (8 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2007-09-12 14:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #33 from rakdver at gcc dot gnu dot org  2007-09-12 14:49 -------
> Zdenek, I think you had a patch to make lim more precise in this regard?

Yes.  Revital Eres was trying to put it into shape suitable for mainline a few
months ago, I am not sure what is the status of that?


-- 

rakdver at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eres at il dot ibm dot com


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


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

* [Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  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
                   ` (7 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: eres at il dot ibm dot com @ 2007-09-12 15:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #34 from eres at il dot ibm dot com  2007-09-12 15:09 -------
I did not engage with it for some time so I doubt it if my latest version of
the patch (which is originally in
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02331.html) is suitable for
current mainline.  I will certainly try to re-apply and post it as soon as
possible.


-- 


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


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

* [Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (14 preceding siblings ...)
  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
                   ` (6 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: eres at il dot ibm dot com @ 2007-09-13  4:45 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]



------- Comment #35 from eres at il dot ibm dot com  2007-09-13 04:45 -------
Created an attachment (id=14200)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14200&action=view)
lim patch

As I suspected – my latest available version is not suitable for current
mainline (I attached it anyway though).  


-- 


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


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

* [Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (15 preceding siblings ...)
  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
                   ` (5 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: steven at gcc dot gnu dot org @ 2008-01-23  9:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #36 from steven at gcc dot gnu dot org  2008-01-23 08:54 -------
What is the relation between the LIM patch and the alias oracle patch that was
floated some time ago?


-- 


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


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

* [Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (16 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-23 10:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #37 from rguenth at gcc dot gnu dot org  2008-01-23 09:12 -------
The lim patch applies alias-oracle techniques to the loop invariant and store
motion parts of tree-ssa-loop-im.c.  I have a forward-port of Zdeneks patch to
current trunk.

Note that the alias-oracle patch for SCCVN does not fix this PR (it seems to
be mostly ineffective for PRE, possibly PHI translation needs adjustments
as well).


-- 


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


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

* [Bug rtl-optimization/19580] [4.1/4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (17 preceding siblings ...)
  2008-01-23 10:35 ` rguenth at gcc dot gnu dot org
@ 2008-03-28 13:41 ` rguenth at gcc dot gnu dot org
  2008-03-28 13:46 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-28 13:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #38 from rguenth at gcc dot gnu dot org  2008-03-28 13:40 -------
Fixed in GCC 4.4 with the store-motion rewrite to use an alias-oracle:

<bb 3>:
  r_I_lsm.18 = r[5];
  r_I_lsm.13 = r[0];
  r_I_lsm.14 = r[1];
  r_I_lsm.15 = r[2];
  r_I_lsm.16 = r[3];
  r_I_lsm.17 = r[4];
  r_I_lsm.27 = r_I_lsm.18;

<bb 4>:
  r_I_lsm.13 = r_I_lsm.13 + r_I_lsm.27;
  r_I_lsm.14 = r_I_lsm.14 + r_I_lsm.13;
  r_I_lsm.15 = r_I_lsm.14 + r_I_lsm.15;
  r_I_lsm.16 = r_I_lsm.15 + r_I_lsm.16;
  r_I_lsm.17 = r_I_lsm.16 + r_I_lsm.17;
  r_I_lsm.18 = r_I_lsm.17 + r_I_lsm.18;
  n.26 = n.26 + -1;
  r_I_lsm.28 = r_I_lsm.27;
  r_I_lsm.27 = r_I_lsm.18;
  if (n.26 != 0)
    goto <bb 4>;
  else
    goto <bb 5>;

<bb 5>:
  r_I_lsm.27 = r_I_lsm.28;
  r[0] = r_I_lsm.13;
  r[1] = r_I_lsm.14;
  r[2] = r_I_lsm.15;
  r[3] = r_I_lsm.16;
  r[4] = r_I_lsm.17;
  r[5] = r_I_lsm.18;

I'll add a testcase to the testsuite.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|3.3.3 2.95.3 3.0.4 3.2.3    |3.3.3 2.95.3 3.0.4 3.2.3
                   |                            |4.4.0
            Summary|[4.1/4.2/4.3/4.4 Regression]|[4.1/4.2/4.3 Regression]
                   |missed load/store motion    |missed load/store motion


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


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

* [Bug rtl-optimization/19580] [4.1/4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (18 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  22 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-28 13:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #39 from rguenth at gcc dot gnu dot org  2008-03-28 13:45 -------
Subject: Bug 19580

Author: rguenth
Date: Fri Mar 28 13:44:41 2008
New Revision: 133683

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133683
Log:
2008-03-28  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/19580
        * gcc.dg/tree-ssa/loop-34.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/loop-34.c
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug rtl-optimization/19580] [4.2/4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (19 preceding siblings ...)
  2008-03-28 13:46 ` rguenth at gcc dot gnu dot org
@ 2008-07-04 16:49 ` 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
  22 siblings, 0 replies; 23+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 16:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #40 from jsm28 at gcc dot gnu dot org  2008-07-04 16:48 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3 Regression]    |[4.2/4.3 Regression] missed
                   |missed load/store motion    |load/store motion
   Target Milestone|4.1.3                       |4.2.5


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


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

* [Bug rtl-optimization/19580] [4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (20 preceding siblings ...)
  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 ` jsm28 at gcc dot gnu dot org
  2009-04-22 15:09 ` rguenth at gcc dot gnu dot org
  22 siblings, 0 replies; 23+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 16:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #41 from jsm28 at gcc dot gnu dot org  2009-03-31 16:45 -------
Closing 4.2 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3 Regression] missed |[4.3 Regression] missed
                   |load/store motion           |load/store motion
   Target Milestone|4.2.5                       |4.3.4


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


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

* [Bug rtl-optimization/19580] [4.3 Regression] missed load/store motion
       [not found] <bug-19580-7958@http.gcc.gnu.org/bugzilla/>
                   ` (21 preceding siblings ...)
  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
  22 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-22 15:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #42 from rguenth at gcc dot gnu dot org  2009-04-22 15:08 -------
WONTFIX on the 4.3 branch.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|3.4.6 4.0.4 4.1.2 4.3.0     |3.4.6 4.0.4 4.1.2 4.3.0
                   |                            |4.3.3
         Resolution|                            |FIXED
   Target Milestone|4.3.4                       |4.4.0


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


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

end of thread, other threads:[~2009-04-22 15:09 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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 Regression] missed load/store motion 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
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

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).