summaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-10-08 15:46:48 +0200
committerOndřej Bílka <neleai@seznam.cz>2013-10-08 15:46:48 +0200
commite7044ea76bd95f8adc0eab0b2bdcab7f51055b48 (patch)
tree262f397226e64df368b266a681622e7e25c30e5a /sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S
parent41500766f71fd072b6b6a9e4603fb7f85bddcfe2 (diff)
downloadglibc-e7044ea76bd95f8adc0eab0b2bdcab7f51055b48.tar.gz
Use p2align instead ALIGN
Diffstat (limited to 'sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S')
-rw-r--r--sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S9
1 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S b/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S
index eed8432973..4a8e57a243 100644
--- a/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S
+++ b/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S
@@ -17,7 +17,6 @@
<http://www.gnu.org/licenses/>. */
#include "sysdep.h"
-#define ALIGN(x) .p2align x
ENTRY ( __strcmp_sse2_unaligned)
movl %edi, %eax
@@ -43,7 +42,7 @@ L(return):
subl %edx, %eax
ret
- ALIGN (4)
+ .p2align 4
L(next_48_bytes):
movdqu 16(%rdi), %xmm6
movdqu 16(%rsi), %xmm3
@@ -85,7 +84,7 @@ L(main_loop_header):
movq %rcx, %rsi
jmp L(loop_start)
- ALIGN (4)
+ .p2align 4
L(loop):
addq $64, %rax
addq $64, %rdx
@@ -141,7 +140,7 @@ L(back_to_loop):
subl %edx, %eax
ret
- ALIGN (4)
+ .p2align 4
L(loop_cross_page):
xor %r10, %r10
movq %rdx, %r9
@@ -191,7 +190,7 @@ L(loop_cross_page):
subl %edx, %eax
ret
- ALIGN (4)
+ .p2align 4
L(cross_page_loop):
cmpb %cl, %al
jne L(different)