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] Add rawmemchr


On 27 May 2016 at 14:29, Wilco Dijkstra <Wilco.Dijkstra@arm.com> wrote:
> Add a simple rawmemchr implementation. Use strlen for rawmemchr(s, '\0') as
> it is the fastest way to search for '\0'.  Otherwise use memchr with an infinite size.
> This is 3x faster on benchtests for large sizes.
>
> Passes GLIBC tests, OK for commit?
>
> ChangeLog:
> 2016-05-27  Wilco Dijkstra  <wdijkstr@arm.com>
>
>         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
>         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.

OK, Thanks Wilco. /Marcus


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