about summary refs log tree commit diff
path: root/sysdeps/i386/i686/multiarch/wcscmp-c.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-09-05 13:53:27 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-05 13:53:27 -0400
commit1b48c537821e27cf9b9c489e8773ba1d84f97b3e (patch)
tree586551f091846a97ec5102994e2111b3f4651c5e /sysdeps/i386/i686/multiarch/wcscmp-c.c
parent109715ee229b0ddff1d0d2585f910bb4fd49a61c (diff)
downloadglibc-1b48c537821e27cf9b9c489e8773ba1d84f97b3e.tar.gz
glibc-1b48c537821e27cf9b9c489e8773ba1d84f97b3e.tar.xz
glibc-1b48c537821e27cf9b9c489e8773ba1d84f97b3e.zip
Add x86-32 optimized wcscmp
Diffstat (limited to 'sysdeps/i386/i686/multiarch/wcscmp-c.c')
-rw-r--r--sysdeps/i386/i686/multiarch/wcscmp-c.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/multiarch/wcscmp-c.c b/sysdeps/i386/i686/multiarch/wcscmp-c.c
new file mode 100644
index 0000000000..68976574b8
--- /dev/null
+++ b/sysdeps/i386/i686/multiarch/wcscmp-c.c
@@ -0,0 +1,11 @@
+#ifndef  NOT_IN_libc
+
+# define WCSCMP __wcscmp_ia32
+
+# undef libc_hidden_def
+# define libc_hidden_def(name) \
+  __hidden_ver1 (__wcscmp_ia32, __GI_wcscmp, __wcscmp_ia32);
+#endif
+
+#include "wcsmbs/wcscmp.c"
+