[PATCH][AArch64] Add rawmemchr

Corinna Vinschen vinschen@redhat.com
Fri May 20 08:50:00 GMT 2016


On May 12 16:16, Wilco Dijkstra wrote:
> Marcus Shawcroft wrote:
> > This patch appears to have been munged by the mail system, can you
> > repost as an attachment please.
> 
> Sure, I've attached the patch.
> 
> Wilco
> 
> Add a simple rawmemchr implementation. Use strlen for rawmemchr(s, '\0') as it is the
> fastest way to search for '\0', and use memchr with an infinite size for other cases.
> This is 3x faster for large sizes.
> 
> ChangeLog:
> 2016-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
> 
>         * newlib/libc/machine/aarch64/Makefile.in: Add rawmemchr.S and
>         rawmemchr-stub.c.
>         * newlib/libc/machine/aarch64/Makefile.am: Likewise.
>         * newlib/libc/machine/aarch64/rawmemchr.S (rawmemchr): Add rawmemchr.
>         * newlib/libc/machine/aarch64/rawmemchr-stub.c (rawmemchr): Likewise.

Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20160520/6a62fd59/attachment.sig>


More information about the Newlib mailing list