glibc/wcsmbs
Stefan Liebler fcf40ebe26 S390: Optimize strnlen and wcsnlen.
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.
2015-08-26 10:26:20 +02:00
..
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 S390: Optimize strnlen and wcsnlen. 2015-08-26 10:26:20 +02:00
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 Use correct signedness in wcsncmp 2015-04-13 21:25:04 +02:00
test-wcsnlen.c S390: Optimize strnlen and wcsnlen. 2015-08-26 10:26:20 +02:00
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 Updated __nonnull annotations for wcscat, wcsncat, wcscmp and wcsncmp [BZ #18265] 2015-08-05 04:43:42 -04:00
wcpcpy.c
wcpncpy.c
wcrtomb.c
wcsatcliff.c
wcscasecmp_l.c
wcscasecmp.c
wcscat.c
wcschr.c powerpc: Fix __wcschr static build 2015-04-15 16:01:48 -03:00
wcschrnul.c
wcscmp.c Fix regcomp wcscoll, wcscmp namespace (bug 18497). 2015-06-09 21:07:30 +00:00
wcscoll_l.c Fix regcomp wcscoll, wcscmp namespace (bug 18497). 2015-06-09 21:07:30 +00:00
wcscoll.c Fix regcomp wcscoll, wcscmp namespace (bug 18497). 2015-06-09 21:07:30 +00:00
wcscpy.c
wcscspn.c
wcsdup.c
wcslen.c
wcsmbs-tst1.c
wcsmbsload.c
wcsmbsload.h
wcsncase_l.c
wcsncase.c
wcsncat.c
wcsncmp.c Use correct signedness in wcsncmp 2015-04-13 21:25:04 +02:00
wcsncpy.c
wcsnlen.c S390: Optimize strnlen and wcsnlen. 2015-08-26 10:26:20 +02:00
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 Fix fnmatch wmemchr namespace (bug 18468). 2015-06-03 13:57:40 +00:00
wmemcmp.c
wmemcpy.c
wmemmove.c
wmempcpy.c
wmemset.c