On 08/05/2011 03:19 AM, Ramana Radhakrishnan wrote:
        cmp     r0, #43
        it      ne
        cmpne   r1, #45
        it      ne
        movne   r0, r1
        bx      lr


[...] there could be a single it block to handle both
and thus you could make this even better with

cmp r0, #43
itt ne
cmpne r1 ,#45
movne r0, r1

Conversion from it/op/it/op to itt/op/op (and likewise for it/op/ie/op) seems to be a good fit for a machine-dependent reorg pass.

Paolo

Reply via email to