Add missing cleanups from SSE4.2 x86-64 strlen.

This commit is contained in:
Ulrich Drepper 2009-06-05 11:39:45 -07:00
parent 3ab2d57a4d
commit f85a9e72e2

View File

@ -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