S390: Optimize strncat wcsncat.
commite1fe91180e4e29549f35f8ecd705b0bb4f208606
authorStefan Liebler <stli@linux.vnet.ibm.com>
Wed, 26 Aug 2015 08:26:22 +0000 (26 10:26 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 26 Aug 2015 08:26:22 +0000 (26 10:26 +0200)
treee67c5c8c4e0a0c124aaaf692dea8da515f2a85b9
parentd626a24f235dbd4c446b241211a9a264a1eedb9e
S390: Optimize strncat wcsncat.

This patch provides optimized versions of strncat and wcsncat with the z13
vector instructions.

ChangeLog:

* sysdeps/s390/multiarch/strncat-c.c: New File.
* sysdeps/s390/multiarch/strncat-vx.S: Likewise.
* sysdeps/s390/multiarch/strncat.c: Likewise.
* sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
* sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
* sysdeps/s390/multiarch/wcsncat.c: Likewise.
* sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
wcsncat functions.
* sysdeps/s390/multiarch/ifunc-impl-list.c
(__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
* wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
* string/test-strncat.c: Add wcsncat support.
* wcsmbs/test-wcsncat.c: New File.
* wcsmbs/Makefile (strop-tests): Add wcsncat.
* benchtests/bench-strncat.c: Add wcsncat support.
* benchtests/bench-wcsncat.c: New File.
* benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16 files changed:
ChangeLog
benchtests/Makefile
benchtests/bench-strncat.c
benchtests/bench-wcsncat.c [new file with mode: 0644]
string/test-strncat.c
sysdeps/s390/multiarch/Makefile
sysdeps/s390/multiarch/ifunc-impl-list.c
sysdeps/s390/multiarch/strncat-c.c [new file with mode: 0644]
sysdeps/s390/multiarch/strncat-vx.S [new file with mode: 0644]
sysdeps/s390/multiarch/strncat.c [new file with mode: 0644]
sysdeps/s390/multiarch/wcsncat-c.c [new file with mode: 0644]
sysdeps/s390/multiarch/wcsncat-vx.S [new file with mode: 0644]
sysdeps/s390/multiarch/wcsncat.c [new file with mode: 0644]
wcsmbs/Makefile
wcsmbs/test-wcsncat.c [new file with mode: 0644]
wcsmbs/wcsncat.c