diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2009-06-22 20:38:41 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-06-22 20:38:41 -0700 |
commit | 772f4e6a1be0e3fbd8c4e9edacf1887269f598dc (patch) | |
tree | 50b511859f2b331548f08454b5dfc70f61a698ca /sysdeps/x86_64/multiarch/strncmp-c.c | |
parent | 9618c7c20e1dac85834bd17f4591ea80f88b758d (diff) | |
download | glibc-772f4e6a1be0e3fbd8c4e9edacf1887269f598dc.tar glibc-772f4e6a1be0e3fbd8c4e9edacf1887269f598dc.tar.gz glibc-772f4e6a1be0e3fbd8c4e9edacf1887269f598dc.tar.bz2 glibc-772f4e6a1be0e3fbd8c4e9edacf1887269f598dc.zip |
Add SSE4.2 support for strcmp and strncmp on x86-64.
Diffstat (limited to 'sysdeps/x86_64/multiarch/strncmp-c.c')
-rw-r--r-- | sysdeps/x86_64/multiarch/strncmp-c.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/strncmp-c.c b/sysdeps/x86_64/multiarch/strncmp-c.c new file mode 100644 index 0000000000..d4f74a418d --- /dev/null +++ b/sysdeps/x86_64/multiarch/strncmp-c.c @@ -0,0 +1,8 @@ +#ifdef SHARED +#define STRNCMP __strncmp_sse2 +#undef libc_hidden_builtin_def +#define libc_hidden_builtin_def(name) \ + __hidden_ver1 (__strncmp_sse2, __GI_strncmp, __strncmp_sse2); +#endif + +#include "strncmp.c" |