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 #2 from eplondke at gmail dot com  2006-09-29 23:42 -------
GCC 4.1/4.2 ouptut looks like:

postinc:
        @ args = 0, pretend = 0, frame = 0
        @ frame_needed = 0, uses_anonymous_args = 0
        ldr     ip, [r1, #0]
        ldr     r3, [r0, #0]
        stmfd   sp!, {r4, lr}
        mul     lr, r3, ip
        ldr     r4, [r1, #4]
        ldr     r2, [r0, #4]
        add     r1, r1, #4
        mla     ip, r2, r4, lr
        add     r0, r0, #4
        ldr     r2, [r1, #4]
        ldr     r3, [r0, #4]
        add     r1, r1, #4
        mla     lr, r3, r2, ip
        add     r0, r0, #4
        ldr     r2, [r1, #4]
        ldr     r3, [r0, #4]
        add     r1, r1, #4
        mla     ip, r3, r2, lr
        add     r0, r0, #4
        ....

GCC 3.4.2 output looks like:

postinc:
        @ args = 0, pretend = 0, frame = 0
        @ frame_needed = 0, uses_anonymous_args = 0
        stmfd   sp!, {r4, r5, lr}
        ldr     r4, [r1], #4
        ldr     r5, [r0], #4
        ldr     r2, [r1], #4
        ldr     lr, [r0], #4
        mul     ip, r2, lr
        mla     r3, r4, r5, ip
        ldr     lr, [r0], #4
        ldr     r2, [r1], #4
        mla     r3, r2, lr, r3
        ldr     ip, [r0], #4
        ldr     r2, [r1], #4
        mla     r3, r2, ip, r3
        ....


-- 


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]