diff options
author | Ondřej Bílka <neleai@seznam.cz> | 2013-10-08 15:46:48 +0200 |
---|---|---|
committer | Ondřej Bílka <neleai@seznam.cz> | 2013-10-08 15:46:48 +0200 |
commit | e7044ea76bd95f8adc0eab0b2bdcab7f51055b48 (patch) | |
tree | 262f397226e64df368b266a681622e7e25c30e5a /sysdeps/x86_64/strrchr.S | |
parent | 41500766f71fd072b6b6a9e4603fb7f85bddcfe2 (diff) | |
download | glibc-e7044ea76bd95f8adc0eab0b2bdcab7f51055b48.zip glibc-e7044ea76bd95f8adc0eab0b2bdcab7f51055b48.tar.gz glibc-e7044ea76bd95f8adc0eab0b2bdcab7f51055b48.tar.bz2 |
Use p2align instead ALIGN
Diffstat (limited to 'sysdeps/x86_64/strrchr.S')
-rw-r--r-- | sysdeps/x86_64/strrchr.S | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/sysdeps/x86_64/strrchr.S b/sysdeps/x86_64/strrchr.S index 514765b..2a07ff7 100644 --- a/sysdeps/x86_64/strrchr.S +++ b/sysdeps/x86_64/strrchr.S @@ -19,11 +19,6 @@ #include <sysdep.h> -# ifndef ALIGN -# define ALIGN(n) .p2align n -# endif - - .text ENTRY (strrchr) movd %esi, %xmm1 @@ -51,7 +46,7 @@ ENTRY (strrchr) addq %rdi, %rax ret - ALIGN(4) + .p2align 4 L(next_48_bytes): movdqu 16(%rdi), %xmm4 movdqa %xmm4, %xmm5 @@ -91,7 +86,7 @@ L(next_48_bytes): leaq (%rdi,%rsi), %rax ret - ALIGN(4) + .p2align 4 L(loop_header2): testq %rsi, %rsi movq %rdi, %rcx @@ -102,7 +97,7 @@ L(loop_header): andq $-64, %rdi jmp L(loop_entry) - ALIGN(4) + .p2align 4 L(loop64): testq %rdx, %rdx cmovne %rdx, %rsi @@ -163,18 +158,18 @@ L(loop_entry): leaq (%rcx,%rsi), %rax ret - ALIGN(4) + .p2align 4 L(no_c_found): movl $1, %esi xorl %ecx, %ecx jmp L(loop_header) - ALIGN(4) + .p2align 4 L(exit): xorl %eax, %eax ret - ALIGN(4) + .p2align 4 L(cross_page): movq %rdi, %rax pxor %xmm0, %xmm0 |