Optimize the instruction alignment.

This commit is contained in:
Alan Cox 2005-04-23 18:45:36 +00:00
parent 6b14892866
commit 97cd6892ba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145459

View file

@ -32,7 +32,6 @@ ENTRY(strcpy)
* Align source to a word boundary. * Align source to a word boundary.
* Consider unrolling loop? * Consider unrolling loop?
*/ */
.align 4
.Lalign: .Lalign:
testb $7,%sil testb $7,%sil
je .Lword_aligned je .Lword_aligned
@ -44,7 +43,7 @@ ENTRY(strcpy)
jne .Lalign jne .Lalign
ret ret
.align 4 .p2align 4
.Lloop: .Lloop:
movq %rdx,(%rdi) movq %rdx,(%rdi)
addq $8,%rdi addq $8,%rdi