View Single Post
Old 20 January 2017, 18:15   #37
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,928
Quote:
Originally Posted by Thorham View Post
Code:
strcpy
    move.l  a0,d0
.loop
    move.b  (a0)+,(a1)+
    beq.s   .end
    move.b  (a0)+,(a1)+
    beq.s   .end
    move.b  (a0)+,(a1)+
    beq.s   .end
    move.b  (a0)+,(a1)+
    bne.s   .loop
.end
    rts
What is gained by unrolling one loop into four loops?
idrougge is offline  
 
Page generated in 0.04167 seconds with 11 queries