This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/29294] 4.1, 4.2 (possibly 4.0?) not finding postmodify address mode on ARM



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]