mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-15 01:21:06 +00:00
d183b96ee6
This patch provides optimized versions of strncpy and wcsncpy with the z13 vector instructions. ChangeLog: * sysdeps/s390/multiarch/strncpy-vx.S: New File. * sysdeps/s390/multiarch/strncpy.c: Likewise. * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise. * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise. * sysdeps/s390/multiarch/wcsncpy.c: Likewise. * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise. * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and wcsncpy functions. * wcsmbs/wcsncpy.c: Use WCSNCPY if defined. * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy. * string/test-strncpy.c: Add wcsncpy support. * wcsmbs/test-wcsncpy.c: New File. * wcsmbs/Makefile (strop-tests): Add wcsncpy. * benchtests/bench-strncpy.c: Add wcsncpy support. * benchtests/bench-wcsncpy.c: New File. * benchtests/Makefile (wcsmbs-bench): Add wcsncpy |
||
---|---|---|
.. | ||
ifunc-impl-list.c | ||
ifunc-resolve.h | ||
Makefile | ||
stpcpy-c.c | ||
stpcpy-vx.S | ||
stpcpy.c | ||
strcpy-vx.S | ||
strcpy.c | ||
strlen-c.c | ||
strlen-vx.S | ||
strlen.c | ||
strncpy-vx.S | ||
strncpy.c | ||
strnlen-c.c | ||
strnlen-vx.S | ||
strnlen.c | ||
wcpcpy-c.c | ||
wcpcpy-vx.S | ||
wcpcpy.c | ||
wcscpy-c.c | ||
wcscpy-vx.S | ||
wcscpy.c | ||
wcslen-c.c | ||
wcslen-vx.S | ||
wcslen.c | ||
wcsncpy-c.c | ||
wcsncpy-vx.S | ||
wcsncpy.c | ||
wcsnlen-c.c | ||
wcsnlen-vx.S | ||
wcsnlen.c |