diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2011-06-24 14:15:32 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-06-24 14:15:32 -0400 |
commit | 0b1cbaaef5ccc21baf2c35d4698fb28e82eab385 (patch) | |
tree | c1f6ad8a49ef79510355c765ad3e385067e7ade0 /sysdeps/i386/i686/multiarch/strncpy-c.c | |
parent | 07f494a027b3adea1f3cd0cd4ca7c10949cdc476 (diff) | |
download | glibc-0b1cbaaef5ccc21baf2c35d4698fb28e82eab385.tar.gz glibc-0b1cbaaef5ccc21baf2c35d4698fb28e82eab385.tar.xz glibc-0b1cbaaef5ccc21baf2c35d4698fb28e82eab385.zip |
Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strncpy-c.c')
-rw-r--r-- | sysdeps/i386/i686/multiarch/strncpy-c.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/multiarch/strncpy-c.c b/sysdeps/i386/i686/multiarch/strncpy-c.c new file mode 100644 index 0000000000..201e3f98b3 --- /dev/null +++ b/sysdeps/i386/i686/multiarch/strncpy-c.c @@ -0,0 +1,8 @@ +#define STRNCPY __strncpy_ia32 +#ifdef SHARED +# undef libc_hidden_builtin_def +# define libc_hidden_builtin_def(name) \ + __hidden_ver1 (__strncpy_ia32, __GI_strncpy, __strncpy_ia32); +#endif + +#include "string/strncpy.c" |