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 target/11831] [ARM] Logical expression evaluation with condition fields



------- Comment #4 from ramana dot r at gmail dot com  2009-03-13 12:33 -------
With Mainline today it looks worse -    

     stmfd   sp!, {r4, lr}
        mov     r4, r0
        bl      func
        add     r0, r4, r0
        ldrb    r3, [r0, #-4]   @ zero_extendqisi2
        cmp     r3, #97
        beq     .L6
.L2:
        mov     r0, #0
        ldmfd   sp!, {r4, pc}
.L6:
        ldrb    r3, [r0, #-3]   @ zero_extendqisi2
        cmp     r3, #98
        bne     .L2
        ldrb    r3, [r0, #-2]   @ zero_extendqisi2
        cmp     r3, #99
        bne     .L2
        ldrb    r0, [r0, #-1]   @ zero_extendqisi2
        cmp     r0, #100
        movne   r0, #0
        moveq   r0, #1
        ldmfd   sp!, {r4, pc}


-- 

ramana dot r at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rearnsha at arm dot com,
                   |                            |ramana dot r at gmail dot
                   |                            |com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11831


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