diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-11-13 09:50:13 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-11-13 09:50:13 -0500 |
commit | 76e3966e9efc3808a9e7ad09121c5dfc1211c20b (patch) | |
tree | 7750f566972dcf12742c3881b5ca3a12cd3a6c49 /sysdeps/i386/i686/multiarch/strncase-c.c | |
parent | 7edb22eff50b957c5b40815d0974639db19f5870 (diff) | |
download | glibc-76e3966e9efc3808a9e7ad09121c5dfc1211c20b.tar.gz |
SSSE3 optimized strcasecmp and strncasecmp for x86-32
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strncase-c.c')
-rw-r--r-- | sysdeps/i386/i686/multiarch/strncase-c.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/multiarch/strncase-c.c b/sysdeps/i386/i686/multiarch/strncase-c.c new file mode 100644 index 0000000000..76581eb62b --- /dev/null +++ b/sysdeps/i386/i686/multiarch/strncase-c.c @@ -0,0 +1,8 @@ +#include <string.h> + +extern __typeof (strncasecmp) __strncasecmp_nonascii; + +#define __strncasecmp __strncasecmp_nonascii +#include <string/strncase.c> + +strong_alias (__strncasecmp_nonascii, __strncasecmp_ia32) |