From 97cd6892baef6b9f9fd61cac313d9abc9e983041 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 23 Apr 2005 18:45:36 +0000 Subject: [PATCH] Optimize the instruction alignment. --- lib/libc/amd64/string/strcpy.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/libc/amd64/string/strcpy.S b/lib/libc/amd64/string/strcpy.S index c67406dff550..04676fa1170a 100644 --- a/lib/libc/amd64/string/strcpy.S +++ b/lib/libc/amd64/string/strcpy.S @@ -32,7 +32,6 @@ ENTRY(strcpy) * Align source to a word boundary. * Consider unrolling loop? */ - .align 4 .Lalign: testb $7,%sil je .Lword_aligned @@ -44,7 +43,7 @@ ENTRY(strcpy) jne .Lalign ret - .align 4 + .p2align 4 .Lloop: movq %rdx,(%rdi) addq $8,%rdi