about summary refs log tree commit diff
path: root/sysdeps/i386/i686/multiarch/strspn.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-08-04 18:15:02 -0700
committerUlrich Drepper <drepper@redhat.com>2009-08-04 18:15:02 -0700
commit2c709c6f05ed5cbcf30df89d3aa63b78a38bf968 (patch)
tree6b995472f6c187b9bc77b743726918a34e36ef62 /sysdeps/i386/i686/multiarch/strspn.S
parent02cea47161c00969afa985e641f4ac376f84d35f (diff)
downloadglibc-2c709c6f05ed5cbcf30df89d3aa63b78a38bf968.tar.gz
glibc-2c709c6f05ed5cbcf30df89d3aa63b78a38bf968.tar.xz
glibc-2c709c6f05ed5cbcf30df89d3aa63b78a38bf968.zip
Add x86 SSE strlen.
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strspn.S')
-rw-r--r--sysdeps/i386/i686/multiarch/strspn.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/i686/multiarch/strspn.S b/sysdeps/i386/i686/multiarch/strspn.S
index 53db13181d..f11d3eaf6a 100644
--- a/sysdeps/i386/i686/multiarch/strspn.S
+++ b/sysdeps/i386/i686/multiarch/strspn.S
@@ -68,9 +68,9 @@ END(strspn)
 # define END(name) \
 	cfi_endproc; .size __strspn_ia32, .-__strspn_ia32
 # undef libc_hidden_builtin_def
-/* It doesn't make sense to send libc-internal strspn calls through a PLT.
-   The speedup we get from using SSE4.2 instruction is likely eaten away
-   by the indirect call in the PLT.  */
+/* IFUNC doesn't work with the hidden functions in shared library since
+   they will be called without setting up EBX needed for PLT which is
+   used by IFUNC.  */
 # define libc_hidden_builtin_def(name) \
 	.globl __GI_strspn; __GI_strspn = __strspn_ia32
 #endif