[Bug target/17108] Store with update not generated for a simple loop
PHHargrove at lbl dot gov
gcc-bugzilla@gcc.gnu.org
Mon Aug 13 23:20:00 GMT 2012
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.
More information about the Gcc-bugs
mailing list