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]

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


On 07/13/2018 04:58 PM, Corinna Vinschen wrote:
On Jun 29 18:08, Siddhesh Poyarekar wrote:
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

Pushed.

Thank you!

Siddhesh


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