aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686/multiarch/strcspn.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/strcspn.S
parent02cea47161c00969afa985e641f4ac376f84d35f (diff)
downloadglibc-2c709c6f05ed5cbcf30df89d3aa63b78a38bf968.tar
glibc-2c709c6f05ed5cbcf30df89d3aa63b78a38bf968.tar.gz
glibc-2c709c6f05ed5cbcf30df89d3aa63b78a38bf968.tar.bz2
glibc-2c709c6f05ed5cbcf30df89d3aa63b78a38bf968.zip
Add x86 SSE strlen.
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strcspn.S')
-rw-r--r--sysdeps/i386/i686/multiarch/strcspn.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/i686/multiarch/strcspn.S b/sysdeps/i386/i686/multiarch/strcspn.S
index f5ca092340..ca9c3f57c1 100644
--- a/sysdeps/i386/i686/multiarch/strcspn.S
+++ b/sysdeps/i386/i686/multiarch/strcspn.S
@@ -83,9 +83,9 @@ END(STRCSPN)
# define END(name) \
cfi_endproc; .size STRCSPN_IA32, .-STRCSPN_IA32
# undef libc_hidden_builtin_def
-/* It doesn't make sense to send libc-internal strcspn 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_STRCSPN; __GI_STRCSPN = STRCSPN_IA32
#endif