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

Siddhesh Poyarekar siddhesh@sourceware.org
Fri Jul 13 14:50:00 GMT 2018


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



More information about the Newlib mailing list