This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/29294] 4.1, 4.2 (possibly 4.0?) not finding postmodify address mode on ARM
- From: "eplondke at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2006 19:07:45 -0000
- Subject: [Bug rtl-optimization/29294] 4.1, 4.2 (possibly 4.0?) not finding postmodify address mode on ARM
- References: <bug-29294-9933@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from eplondke at gmail dot com 2006-10-06 19:07 -------
Changing the cost of (REG) to 1 fixes 4.1 but not 4.2, it seems.
In 4.2, the RTL optimization does not combine
ldr r2, [r1, #0]
ldr r3, [r0, #0]
add r0, r0, #4
add r1, r1, #4
into
ldr r2, [r1], #4
ldr r3, [r0], #4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29294