mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Add missing cleanups from SSE4.2 x86-64 strlen.
This commit is contained in:
parent
3ab2d57a4d
commit
f85a9e72e2
@ -40,6 +40,7 @@ ENTRY(strlen)
|
||||
END(strlen)
|
||||
|
||||
|
||||
.align 16
|
||||
.type __strlen_sse42, @function
|
||||
__strlen_sse42:
|
||||
pxor %xmm2, %xmm2
|
||||
@ -63,9 +64,9 @@ __strlen_sse42:
|
||||
subq %r8, %rax
|
||||
ret
|
||||
|
||||
1: bsfl %edx, %eax
|
||||
leaq (%rdi,%rax), %rax
|
||||
subq %r8, %rax
|
||||
1: subq %r8, %rdi
|
||||
bsfl %edx, %eax
|
||||
addq %rdi, %rax
|
||||
ret
|
||||
.size __strlen_sse42, .-__strlen_sse42
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user