From 76e3966e9efc3808a9e7ad09121c5dfc1211c20b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 13 Nov 2011 09:50:13 -0500 Subject: SSSE3 optimized strcasecmp and strncasecmp for x86-32 --- sysdeps/i386/i686/multiarch/strncase_l-c.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sysdeps/i386/i686/multiarch/strncase_l-c.c (limited to 'sysdeps/i386/i686/multiarch/strncase_l-c.c') diff --git a/sysdeps/i386/i686/multiarch/strncase_l-c.c b/sysdeps/i386/i686/multiarch/strncase_l-c.c new file mode 100644 index 0000000000..0c68b8d1cb --- /dev/null +++ b/sysdeps/i386/i686/multiarch/strncase_l-c.c @@ -0,0 +1,11 @@ +#include + +extern __typeof (strncasecmp_l) __strncasecmp_l_nonascii; + +#define __strncasecmp_l __strncasecmp_l_nonascii +#define USE_IN_EXTENDED_LOCALE_MODEL 1 +#include + +/* The needs of strcasecmp in libc are minimal, no need to go through + the IFUNC. */ +strong_alias (__strncasecmp_l_nonascii, __GI___strncasecmp_l) -- cgit 1.4.1