glibc/sysdeps/s390/s390-32/multiarch
Stefan Liebler 88eefd344b S390: Optimize memchr, rawmemchr and wmemchr.
This patch provides optimized versions of memchr, rawmemchr and wmemchr with the
z13 vector instructions.

ChangeLog:

	* sysdeps/s390/multiarch/memchr-vx.S: New File.
	* sysdeps/s390/multiarch/memchr.c: Likewise.
	* sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
	* sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
	* sysdeps/s390/multiarch/rawmemchr.c: Likewise.
	* sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
	* sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
	* sysdeps/s390/multiarch/wmemchr.c: Likewise.
	* sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
	* sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
	* sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
	and rawmemchr functions.
	* sysdeps/s390/multiarch/ifunc-impl-list-common.c
	(__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
	and wmemchr.
	* wcsmbs/wmemchr.c: Use WMEMCHR if defined.
	* string/test-memchr.c: Add wmemchr support.
	* wcsmbs/test-wmemchr.c: New File.
	* wcsmbs/Makefile (strop-tests): Add wmemchr.
	* benchtests/bench-memchr.c: Add wmemchr support.
	* benchtests/bench-wmemchr.c: New File.
	* benchtests/Makefile (wcsmbs-bench): wmemchr.
2015-08-26 10:26:24 +02:00
..
Makefile S390: Refactor ifunc implementations and enable ifunc-test-framework. 2015-08-26 10:26:18 +02:00
memchr.c S390: Optimize memchr, rawmemchr and wmemchr. 2015-08-26 10:26:24 +02:00
memcmp-s390.S S390: Refactor ifunc implementations and enable ifunc-test-framework. 2015-08-26 10:26:18 +02:00
memcmp.c S390: Refactor ifunc implementations and enable ifunc-test-framework. 2015-08-26 10:26:18 +02:00
memcpy-s390.S S390: Refactor ifunc implementations and enable ifunc-test-framework. 2015-08-26 10:26:18 +02:00
memcpy.c S390: Refactor ifunc implementations and enable ifunc-test-framework. 2015-08-26 10:26:18 +02:00
memset-s390.S S390: Refactor ifunc implementations and enable ifunc-test-framework. 2015-08-26 10:26:18 +02:00
memset.c S390: Refactor ifunc implementations and enable ifunc-test-framework. 2015-08-26 10:26:18 +02:00
strcmp.c S390: Optimize strcmp and wcscmp. 2015-08-26 10:26:22 +02:00
strcpy.c S390: Optimize strcpy and wcscpy. 2015-08-26 10:26:20 +02:00
strncpy.c S390: Optimize strncpy and wcsncpy. 2015-08-26 10:26:21 +02:00