This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]