diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-12-13 18:50:27 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-12-13 18:50:27 +0530 |
commit | 2bce01ebbaf8db52ba4a5635eb5744f989cdbf69 (patch) | |
tree | ebe39cd2ac5534dccbda2169eb1753d3781df178 /ChangeLog | |
parent | 243b63337c2c02f30ec3a988ecc44bc0f6ffa0ad (diff) | |
download | glibc-2bce01ebbaf8db52ba4a5635eb5744f989cdbf69.zip glibc-2bce01ebbaf8db52ba4a5635eb5744f989cdbf69.tar.gz glibc-2bce01ebbaf8db52ba4a5635eb5744f989cdbf69.tar.bz2 |
aarch64: Improve strcmp unaligned performance
Replace the simple byte-wise compare in the misaligned case with a
dword compare with page boundary checks in place. For simplicity I've
chosen a 4K page boundary so that we don't have to query the actual
page size on the system.
This results in up to 3x improvement in performance in the unaligned
case on falkor and about 2.5x improvement on mustang as measured using
bench-strcmp.
* sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
time whenever possible.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org> + + * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a + time whenever possible. + 2017-12-12 Carlos O'Donell <carlos@redhat.com> * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno] |