diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86_64/multiarch/strchr.S | 16 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/strrchr.S | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/sysdeps/x86_64/multiarch/strchr.S b/sysdeps/x86_64/multiarch/strchr.S index a77cc1c..b35566d 100644 --- a/sysdeps/x86_64/multiarch/strchr.S +++ b/sysdeps/x86_64/multiarch/strchr.S @@ -77,7 +77,7 @@ END(strchr) X for case 1. */ .section .text.sse4.2,"ax",@progbits - .align 16 + .align 16 .type __strchr_sse42, @function __strchr_sse42: cfi_startproc @@ -129,16 +129,16 @@ L(loop): addq $16, %r8 L(aligned_start): pcmpistri $0x2, (%r8), %xmm1 - jbe L(wrap) + jbe L(wrap) addq $16, %r8 pcmpistri $0x2, (%r8), %xmm1 - jbe L(wrap) - addq $16, %r8 - pcmpistri $0x2, (%r8), %xmm1 - jbe L(wrap) + jbe L(wrap) addq $16, %r8 - pcmpistri $0x2, (%r8), %xmm1 - jbe L(wrap) + pcmpistri $0x2, (%r8), %xmm1 + jbe L(wrap) + addq $16, %r8 + pcmpistri $0x2, (%r8), %xmm1 + jbe L(wrap) jmp L(loop) L(wrap): jc L(loop_exit) diff --git a/sysdeps/x86_64/multiarch/strrchr.S b/sysdeps/x86_64/multiarch/strrchr.S index a8c28a4..f6665f3 100644 --- a/sysdeps/x86_64/multiarch/strrchr.S +++ b/sysdeps/x86_64/multiarch/strrchr.S @@ -82,7 +82,7 @@ END(strrchr) .section .text.sse4.2,"ax",@progbits - .align 16 + .align 16 .type __strrchr_sse42, @function __strrchr_sse42: cfi_startproc @@ -141,10 +141,10 @@ L(match_or_eos): L(match_no_eos): leaq (%r8,%rcx), %rax addq $16, %r8 - jmp L(loop) + jmp L(loop) .p2align 4 L(had_eos): - jnc L(exit) + jnc L(exit) leaq (%r8,%rcx), %rax .p2align 4 L(exit): |