diff options
author | Stefan Liebler <stli@linux.vnet.ibm.com> | 2017-06-27 17:09:42 +0200 |
---|---|---|
committer | Stefan Liebler <stli@linux.vnet.ibm.com> | 2017-06-27 17:09:42 +0200 |
commit | 23ea69a9d6e9ab28c66a232b767a800b04eaa938 (patch) | |
tree | 539d557f45ce4924699329d64b04b6562bcb7dd8 /ChangeLog | |
parent | f21f59124d8a4d22b20e7a926462937d89e8988e (diff) | |
download | glibc-23ea69a9d6e9ab28c66a232b767a800b04eaa938.zip glibc-23ea69a9d6e9ab28c66a232b767a800b04eaa938.tar.gz glibc-23ea69a9d6e9ab28c66a232b767a800b04eaa938.tar.bz2 |
S390: Use cu41 instruction for converting from utf32 to utf8.
This patch adds an ifunc variant to use the cu instruction on arch12 CPUs.
This new ifunc variant can be built if binutils support z13 vector
instructions. At runtime, HWCAP_S390_VXE decides if we can use the
cu41 instruction.
ChangeLog:
* sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
Use vector and cu41 instruction.
* sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
in ifunc resolver.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com> + * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu): + Use vector and cu41 instruction. + * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu + in ifunc resolver. + +2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com> + * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add vxd, vxe, gs flag. * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE, |