glibc/sysdeps/s390/multiarch
Stefan Liebler 96fbb9a328 S390: Add arch13 memmove ifunc variant.
This patch introduces the new arch13 ifunc variant for memmove.
For the forward or non-overlapping case it is just using memcpy.
For the backward case it relies on the new instruction mvcrl.
The instruction copies up to 256 bytes at once.
In case of an overlap, it copies the bytes like copying them
one by one starting from right to left.

ChangeLog:

	* sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
	HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
	* sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
	* sysdeps/s390/memmove.c (memmove): Add arch13 variant in
	ifunc selector.
	* sysdeps/s390/multiarch/ifunc-impl-list.c
	(__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
	* sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
	S390_IS_ARCH13_MIE3): New defines.
2019-03-22 11:14:08 +01:00
..
iconv Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
8bit-generic.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
gconv_simple.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
gen-8bit.sh S390: Optimize 8bit-generic iconv modules. 2016-05-25 17:18:04 +02:00
ifunc-impl-list.c S390: Add arch13 memmove ifunc variant. 2019-03-22 11:14:08 +01:00
ifunc-resolve.h S390: Add arch13 memmove ifunc variant. 2019-03-22 11:14:08 +01:00
Makefile S390: Refactor wmemcmp ifunc handling. 2018-12-18 13:57:25 +01:00
utf8-utf16-z9.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
utf8-utf32-z9.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
utf16-utf32-z9.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00