On a SA1100, the following prog last 13 seconds

when I use
        ldr     r0,.L1
        ldr     r1,.L2
        eor     r0,r0,r3
        eor     r1,r1,r3
instead, it last 10 seconds.

Is that normal ? There should be no issue delay on ldr, shouldnt it ?

christophe


.text
.global test
.type test,%function
test:
        mvn     r3,#0x0
        mov     r3,#0xff
        orr     r3,r3,#0xff00
        orr     r3,r3,#0xff0000
        orr     r3,r3,#0xf000000
boucle:

        ldr     r0,.L1
        eor     r0,r0,r3
        ldr     r1,.L2
        eor     r1,r1,r3

        sub     r3,r3,#1
        cmp     r3,#0
        bne     boucle
        mov     pc,lr

.L1:    .word   0x12345678
.L2:    .word   0x9abcdef0

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to