public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/9895] [SH] GCC unable to retain array values in registers
       [not found] <20030301022600.9895.tm_gccmail@kloo.net>
@ 2003-08-22  0:52 ` pinskia at gcc dot gnu dot org
  2003-12-02 18:27 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-22  0:52 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-22 00:52 -------
The problem is that GCC likes to throw things to the stack too soon, other bugs like this have been 
suspended so suspending this one too.


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

* [Bug optimization/9895] [SH] GCC unable to retain array values in registers
       [not found] <20030301022600.9895.tm_gccmail@kloo.net>
  2003-08-22  0:52 ` [Bug optimization/9895] [SH] GCC unable to retain array values in registers pinskia at gcc dot gnu dot org
@ 2003-12-02 18:27 ` pinskia at gcc dot gnu dot org
  2003-12-26  3:46 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-02 18:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-02 18:27 -------
Moving target to tree-ssa as SRA could be expanded to work with arrays.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |NEW
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-02 18:27:23
               date|                            |
   Target Milestone|---                         |tree-ssa


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


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

* [Bug optimization/9895] [SH] GCC unable to retain array values in registers
       [not found] <20030301022600.9895.tm_gccmail@kloo.net>
  2003-08-22  0:52 ` [Bug optimization/9895] [SH] GCC unable to retain array values in registers pinskia at gcc dot gnu dot org
  2003-12-02 18:27 ` pinskia at gcc dot gnu dot org
@ 2003-12-26  3:46 ` pinskia at gcc dot gnu dot org
  2004-05-24  8:20 ` [Bug tree-optimization/9895] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-26  3:46 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


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


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

* [Bug tree-optimization/9895] [SH] GCC unable to retain array values in registers
       [not found] <20030301022600.9895.tm_gccmail@kloo.net>
                   ` (2 preceding siblings ...)
  2003-12-26  3:46 ` pinskia at gcc dot gnu dot org
@ 2004-05-24  8:20 ` pinskia at gcc dot gnu dot org
  2005-01-13 19:06 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-24  8:20 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.5.0                       |---


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


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

* [Bug tree-optimization/9895] [SH] GCC unable to retain array values in registers
       [not found] <20030301022600.9895.tm_gccmail@kloo.net>
                   ` (3 preceding siblings ...)
  2004-05-24  8:20 ` [Bug tree-optimization/9895] " pinskia at gcc dot gnu dot org
@ 2005-01-13 19:06 ` pinskia at gcc dot gnu dot org
  2005-05-07 21:00 ` pinskia at gcc dot gnu dot org
  2005-05-07 21:22 ` [Bug tree-optimization/9895] " pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-13 19:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-13 19:06 -------
Now the problem is two fold, we don't do SRA after loop unrolling and we have a problem in that the 
invariant not being updated for an ADDR_EXPR (both of these have been filed).

See PR 18754 and PR 18755.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |18754, 18755
   Last reconfirmed|2004-08-22 07:41:43         |2005-01-13 19:06:18
               date|                            |


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


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

* [Bug tree-optimization/9895] [SH] GCC unable to retain array values in registers
       [not found] <20030301022600.9895.tm_gccmail@kloo.net>
                   ` (4 preceding siblings ...)
  2005-01-13 19:06 ` pinskia at gcc dot gnu dot org
@ 2005-05-07 21:00 ` pinskia at gcc dot gnu dot org
  2005-05-07 21:22 ` [Bug tree-optimization/9895] " pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-07 21:00 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 9895 depends on bug 18755, which changed state.

Bug 18755 Summary: invariant/constant not recomputed when ADDR_EXPR changed
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18755

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug tree-optimization/9895] GCC unable to retain array values in registers
       [not found] <20030301022600.9895.tm_gccmail@kloo.net>
                   ` (5 preceding siblings ...)
  2005-05-07 21:00 ` pinskia at gcc dot gnu dot org
@ 2005-05-07 21:22 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-07 21:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-07 21:22 -------
For this one, GCC is over estimating the size of the loop.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[SH] GCC unable to retain   |GCC unable to retain array
                   |array values in registers   |values in registers


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


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

* [Bug tree-optimization/9895] GCC unable to retain array values in registers
       [not found] <bug-9895-4@http.gcc.gnu.org/bugzilla/>
@ 2014-03-13 11:00 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-03-13 11:00 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
RTL opts now manage to clean this up enough (-O2 -funroll-loops):

integer_calc_one:
.LFB0:
        .cfi_startproc
        pushl   %edi
        .cfi_def_cfa_offset 8
        .cfi_offset 7, -8
        pushl   %esi
        .cfi_def_cfa_offset 12
        .cfi_offset 6, -12
        pushl   %ebx
        .cfi_def_cfa_offset 16
        .cfi_offset 3, -16
        subl    $32, %esp
        .cfi_def_cfa_offset 48
        movl    48(%esp), %ebx
        call    rand
        movl    %eax, %esi
        movl    %ebx, %eax
        sarl    $31, %eax
        shrl    $24, %eax
        leal    (%ebx,%eax), %ecx
        movzbl  %cl, %ecx
        subl    %eax, %ecx
        addl    $2, %ecx
        leal    (%esi,%ecx), %ebx
        addl    28(%esp), %esi
        movl    %ebx, %eax
        cltd
        idivl   %ecx
        movl    %ecx, %edx
        movl    %eax, %edi
        subl    %ecx, %edi
        addl    %esi, %ecx
        imull   %edi, %edx
        addl    %ebx, %ecx
        addl    %ecx, %eax
        addl    %edi, %eax
        addl    %edx, %eax
        addl    24(%esp), %eax
        addl    $32, %esp
        .cfi_def_cfa_offset 16
        .cfi_def_cfa_offset 16
        popl    %ebx
        .cfi_restore 3
        .cfi_def_cfa_offset 12
        popl    %esi
        .cfi_restore 6
        .cfi_def_cfa_offset 8
        popl    %edi
        .cfi_restore 7
        .cfi_def_cfa_offset 4
        ret


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

* [Bug tree-optimization/9895] GCC unable to retain array values in registers
       [not found] <bug-9895-5562@http.gcc.gnu.org/bugzilla/>
@ 2008-04-27 17:21 ` rguenth at gcc dot gnu dot org
  0 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-27 17:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2008-04-27 17:21 -------
Which is also the reason for early unrolling not helping.  But at -O3 the
tree loop optimizer unrolls the loop after LIM/PRE "fixed" the size estimate.

But it's too late to clean up at this point (no strong memory optimizers left).


-- 


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


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

end of thread, other threads:[~2014-03-13 11:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030301022600.9895.tm_gccmail@kloo.net>
2003-08-22  0:52 ` [Bug optimization/9895] [SH] GCC unable to retain array values in registers pinskia at gcc dot gnu dot org
2003-12-02 18:27 ` pinskia at gcc dot gnu dot org
2003-12-26  3:46 ` pinskia at gcc dot gnu dot org
2004-05-24  8:20 ` [Bug tree-optimization/9895] " pinskia at gcc dot gnu dot org
2005-01-13 19:06 ` pinskia at gcc dot gnu dot org
2005-05-07 21:00 ` pinskia at gcc dot gnu dot org
2005-05-07 21:22 ` [Bug tree-optimization/9895] " pinskia at gcc dot gnu dot org
     [not found] <bug-9895-5562@http.gcc.gnu.org/bugzilla/>
2008-04-27 17:21 ` rguenth at gcc dot gnu dot org
     [not found] <bug-9895-4@http.gcc.gnu.org/bugzilla/>
2014-03-13 11:00 ` rguenth at gcc dot gnu.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).