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/Makefile | |
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/Makefile')
-rw-r--r-- | sysdeps/x86_64/multiarch/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/Makefile b/sysdeps/x86_64/multiarch/Makefile index 0ca914a377..f1251a0a50 100644 --- a/sysdeps/x86_64/multiarch/Makefile +++ b/sysdeps/x86_64/multiarch/Makefile @@ -7,7 +7,7 @@ ifeq ($(subdir),string) sysdep_routines += stpncpy-c strncpy-c strcmp-ssse3 strncmp-ssse3 \ strend-sse4 memcmp-sse4 memcpy-ssse3 mempcpy-ssse3 \ memmove-ssse3 memcpy-ssse3-back mempcpy-ssse3-back \ - memmove-ssse3-back + memmove-ssse3-back strcasestr-nonascii ifeq (yes,$(config-cflags-sse4)) sysdep_routines += strcspn-c strpbrk-c strspn-c strstr-c strcasestr-c CFLAGS-strcspn-c.c += -msse4 @@ -15,5 +15,6 @@ CFLAGS-strpbrk-c.c += -msse4 CFLAGS-strspn-c.c += -msse4 CFLAGS-strstr.c += -msse4 CFLAGS-strcasestr.c += -msse4 +CFLAGS-strcasestr-nonascii.c += -msse4 endif endif |