mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
fcf40ebe26
This patch provides optimized versions of strnlen and wcsnlen with the z13 vector instructions. ChangeLog: * sysdeps/s390/multiarch/strnlen-c.c: New File. * sysdeps/s390/multiarch/strnlen-vx.S: Likewise. * sysdeps/s390/multiarch/strnlen.c: Likewise. * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise. * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise. * sysdeps/s390/multiarch/wcsnlen.c: Likewise. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and wcsnlen functions. * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen. * wcsmbs/wcsnlen.c: Use WCSNLEN if defined. * string/test-strnlen.c: Add wcsnlen support. * wcsmbs/test-wcsnlen.c: New File. * wcsmbs/Makefile (strop-tests): Add wcsnlen. * benchtests/bench-strnlen.c: Add wcsnlen support. * benchtests/bench-wcsnlen.c: New File. * benchtests/Makefile (wcsmbs-bench): Add wcsnlen. |
||
---|---|---|
.. | ||
bits | ||
btowc.c | ||
c16rtomb.c | ||
Depend | ||
isoc99_fwscanf.c | ||
isoc99_swscanf.c | ||
isoc99_vfwscanf.c | ||
isoc99_vswscanf.c | ||
isoc99_vwscanf.c | ||
isoc99_wscanf.c | ||
Makefile | ||
mbrlen.c | ||
mbrtoc16.c | ||
mbrtowc.c | ||
mbsinit.c | ||
mbsnrtowcs.c | ||
mbsrtowcs_l.c | ||
mbsrtowcs.c | ||
test-wcschr.c | ||
test-wcscmp.c | ||
test-wcscpy.c | ||
test-wcslen.c | ||
test-wcsncmp.c | ||
test-wcsnlen.c | ||
test-wcsrchr.c | ||
test-wmemcmp.c | ||
tst-btowc.c | ||
tst-c16c32-1.c | ||
tst-mbrtowc2.c | ||
tst-mbrtowc.c | ||
tst-mbsrtowcs.c | ||
tst-wchar-h.c | ||
tst-wcpncpy.c | ||
tst-wcrtomb.c | ||
tst-wcsnlen.c | ||
tst-wcstof.c | ||
uchar.h | ||
Versions | ||
wchar.h | ||
wcpcpy.c | ||
wcpncpy.c | ||
wcrtomb.c | ||
wcsatcliff.c | ||
wcscasecmp_l.c | ||
wcscasecmp.c | ||
wcscat.c | ||
wcschr.c | ||
wcschrnul.c | ||
wcscmp.c | ||
wcscoll_l.c | ||
wcscoll.c | ||
wcscpy.c | ||
wcscspn.c | ||
wcsdup.c | ||
wcslen.c | ||
wcsmbs-tst1.c | ||
wcsmbsload.c | ||
wcsmbsload.h | ||
wcsncase_l.c | ||
wcsncase.c | ||
wcsncat.c | ||
wcsncmp.c | ||
wcsncpy.c | ||
wcsnlen.c | ||
wcsnrtombs.c | ||
wcspbrk.c | ||
wcsrchr.c | ||
wcsrtombs.c | ||
wcsspn.c | ||
wcsstr.c | ||
wcstod_l.c | ||
wcstod.c | ||
wcstof_l.c | ||
wcstof.c | ||
wcstok.c | ||
wcstol_l.c | ||
wcstol.c | ||
wcstold_l.c | ||
wcstold.c | ||
wcstoll_l.c | ||
wcstoll.c | ||
wcstoul_l.c | ||
wcstoul.c | ||
wcstoull_l.c | ||
wcstoull.c | ||
wcswidth.c | ||
wcsxfrm_l.c | ||
wcsxfrm.c | ||
wctob.c | ||
wcwidth.c | ||
wcwidth.h | ||
wmemchr.c | ||
wmemcmp.c | ||
wmemcpy.c | ||
wmemmove.c | ||
wmempcpy.c | ||
wmemset.c |