public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/17108] Store with update not generated for a simple loop
[not found] <bug-17108-4@http.gcc.gnu.org/bugzilla/>
@ 2012-08-13 23:20 ` PHHargrove at lbl dot gov
0 siblings, 0 replies; 2+ messages in thread
From: PHHargrove at lbl dot gov @ 2012-08-13 23:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17108
Paul H. Hargrove <PHHargrove at lbl dot gov> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |PHHargrove at lbl dot gov
--- Comment #7 from Paul H. Hargrove <PHHargrove at lbl dot gov> 2012-08-13 23:19:45 UTC ---
FWIW:
With GCC 4.8.0 20120809 the test code is fully unrolled at -O3:
.L.foo:
stfs 1,0(3)
stfs 1,4(3)
stfs 1,8(3)
stfs 1,12(3)
stfs 1,16(3)
stfs 1,20(3)
stfs 1,24(3)
stfs 1,28(3)
blr
However, at -O2 the code shown in comment #6 is still being generated (except
with different register allocations). This is true even when "-mupdate" is
passed to explicitly enable store/update instructions.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/17108] Store with update not generated for a simple loop
[not found] <bug-17108-8614@http.gcc.gnu.org/bugzilla/>
@ 2008-01-25 22:41 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-25 22:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2008-01-25 22:35 -------
No this is still not fixed, we get now on the trunk as of yesterday:
foo:
li 0,8
li 9,0
mtctr 0
.p2align 3,,7
.L2:
stfsx 1,3,9
addi 9,9,4
bdnz .L2
blr
In fact I think this is worse, than what was done before but oh well. We still
don't generate the store with update instruction.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Last reconfirmed|2007-07-02 21:40:02 |2008-01-25 22:35:16
date| |
Summary|Missed opportunity for |Store with update not
|strength reduction |generated for a simple loop
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17108
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-13 23:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-17108-4@http.gcc.gnu.org/bugzilla/>
2012-08-13 23:20 ` [Bug target/17108] Store with update not generated for a simple loop PHHargrove at lbl dot gov
[not found] <bug-17108-8614@http.gcc.gnu.org/bugzilla/>
2008-01-25 22:41 ` pinskia 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).