[PATCH] aarch64: Optimized implementation of memrchr
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu Dec 19 19:45:00 GMT 2019
On 22/10/2019 14:01, Wilco Dijkstra wrote:
> Hi Xuelei,
>
>> Considering the excellent performance of memchr.S on glibc 2.30, the
>> same algorithm is used to find chrin. Compared to memrchr.c, this
>> method with memrchr.S achieves an average performance improvement
>> of 58% based on benchtest and its extension cases.
>
> For larger sizes it's more than 4 times faster than the generic version. The
> implementation is very similar to memchr.S so this is OK.
>
> Wilco
I pushed it upstream (along with some trailing whitespaces fixes).
More information about the Libc-alpha
mailing list