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 | f0137ff31da85bc7d9bd4e621af958d8b7249475 (patch) | |
tree | 1d2cd5fd8abe3cdd44b074c2e5c7485d227b10cd /ChangeLog | |
parent | 593e4da186906525e2a0bdc4d87601bd0c2625eb (diff) | |
download | glibc-f0137ff31da85bc7d9bd4e621af958d8b7249475.zip glibc-f0137ff31da85bc7d9bd4e621af958d8b7249475.tar.gz glibc-f0137ff31da85bc7d9bd4e621af958d8b7249475.tar.bz2 |
S390: Use cu24 instruction for converting from utf16 to utf32.
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
cu24 instruction.
ChangeLog:
* sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
Use vector and cu24 instruction.
* sysdeps/s390/multiarch/utf16-utf32-z9.c:
Add __from_utf16_loop_vx_cu in ifunc resolver.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,10 @@ 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. + +2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com> + * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu): Use vector and cu42 instruction. * sysdeps/s390/multiarch/utf16-utf32-z9.c: |