This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] aarch64: Optimized implementation of memrchr


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





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