This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH 0/3] Improved string comparison routines for aarch64
- From: Siddhesh Poyarekar <siddhesh at sourceware dot org>
- To: newlib at sourceware dot org
- Date: Fri, 29 Jun 2018 18:08:19 +0530
- Subject: [PATCH 0/3] Improved string comparison routines for aarch64
Hi,
Following patches improve performance of comparing mutually misaligned
strings by up to 3.5x on aarch64 and up to 2x for memcmp.
Siddhesh
Siddhesh Poyarekar (3):
[aarch64] Improve strncmp for mutually misaligned inputs
[aarch64] memcmp.S: optimize for medium to large sizes
[aarch64] strcmp.S: Improve performance for misaligned strings
newlib/libc/machine/aarch64/memcmp.S | 142 ++++++++++++++++++--------
newlib/libc/machine/aarch64/strcmp.S | 51 +++++++--
newlib/libc/machine/aarch64/strncmp.S | 96 ++++++++++++++---
3 files changed, 218 insertions(+), 71 deletions(-)
--
2.17.1