diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-07-16 15:37:38 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-07-16 15:37:38 -0700 |
commit | cc9f2e47a0a1b4ab0d78ff1d036ec7f8ebc74294 (patch) | |
tree | 271302a0acea6e4053d3af307011e9494b8d267c /sysdeps/x86_64/multiarch/strcasestr.c | |
parent | 9b059f977477351b1660cf50f6925e1eb0ec498b (diff) | |
download | glibc-cc9f2e47a0a1b4ab0d78ff1d036ec7f8ebc74294.tar.gz glibc-cc9f2e47a0a1b4ab0d78ff1d036ec7f8ebc74294.tar.xz glibc-cc9f2e47a0a1b4ab0d78ff1d036ec7f8ebc74294.zip |
Speed up SSE4.2 strcasestr by avoiding indirect function call.
Diffstat (limited to 'sysdeps/x86_64/multiarch/strcasestr.c')
-rw-r--r-- | sysdeps/x86_64/multiarch/strcasestr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/strcasestr.c b/sysdeps/x86_64/multiarch/strcasestr.c index 064e3ef4fd..d1cfb3b264 100644 --- a/sysdeps/x86_64/multiarch/strcasestr.c +++ b/sysdeps/x86_64/multiarch/strcasestr.c @@ -1,3 +1,7 @@ +extern char *__strcasestr_sse42_nonascii (const unsigned char *s1, + const unsigned char *s2) + attribute_hidden; + #define USE_AS_STRCASESTR #define STRSTR_SSE42 __strcasestr_sse42 #include "strstr.c" |