diff options
author | Stefan Liebler <stli@linux.vnet.ibm.com> | 2017-06-27 17:09:43 +0200 |
---|---|---|
committer | Stefan Liebler <stli@linux.vnet.ibm.com> | 2017-06-27 17:09:43 +0200 |
commit | a37b5daa6bc7fbcbbc229b2549a161fa15023f41 (patch) | |
tree | ac9580ba1158801b9c3d7979c41d59cf585eec26 /ChangeLog | |
parent | f0137ff31da85bc7d9bd4e621af958d8b7249475 (diff) | |
download | glibc-a37b5daa6bc7fbcbbc229b2549a161fa15023f41.zip glibc-a37b5daa6bc7fbcbbc229b2549a161fa15023f41.tar.gz glibc-a37b5daa6bc7fbcbbc229b2549a161fa15023f41.tar.bz2 |
S390: Use cu21 instruction for converting from utf16 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
cu21 instruction.
ChangeLog:
* sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
Use vector and cu21 instruction.
* sysdeps/s390/multiarch/utf8-utf16-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-utf16-z9.c (__to_utf8_loop_vx_cu): + Use vector and cu21 instruction. + * sysdeps/s390/multiarch/utf8-utf16-z9.c: + Add __to_utf8_loop_vx_cu in ifunc resolver. + +2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com> + * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu): Use vector and cu24 instruction. |