From 2bce01ebbaf8db52ba4a5635eb5744f989cdbf69 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 13 Dec 2017 18:50:27 +0530 Subject: 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. --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 22df17b671..a5419e199a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-12-13 Siddhesh Poyarekar + + * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a + time whenever possible. + 2017-12-12 Carlos O'Donell * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno] -- cgit v1.2.3