mov r2, r2, lsr #10 @ max = 0x00007fff
mul r0, r2, r0 @ max = 2^32-1
movs r0, r0, lsr #6
- moveq pc, lr
+ RETINSTR(moveq,pc,lr)
/*
* loops = r0 * HZ * loops_per_jiffy / 1000000
ENTRY(__delay)
subs r0, r0, #1
#if 0
- movls pc, lr
+ RETINSTR(movls,pc,lr)
subs r0, r0, #1
- movls pc, lr
+ RETINSTR(movls,pc,lr)
subs r0, r0, #1
- movls pc, lr
+ RETINSTR(movls,pc,lr)
subs r0, r0, #1
- movls pc, lr
+ RETINSTR(movls,pc,lr)
subs r0, r0, #1
- movls pc, lr
+ RETINSTR(movls,pc,lr)
subs r0, r0, #1
- movls pc, lr
+ RETINSTR(movls,pc,lr)
subs r0, r0, #1
- movls pc, lr
+ RETINSTR(movls,pc,lr)
subs r0, r0, #1
#endif
bhi __delay
- mov pc, lr
+ RETINSTR(mov,pc,lr)