[PATCH 0/3] Improved string comparison routines for aarch64

Siddhesh Poyarekar siddhesh@sourceware.org
Fri Jun 29 12:38:00 GMT 2018


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



More information about the Newlib mailing list