This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH][AArch64] NEON-optimised memchr
- From: Kévin PETIT <kevin dot petit at arm dot com>
- To: <newlib at sourceware dot org>
- Cc: "Richard Earnshaw" <Richard dot Earnshaw at arm dot com>
- Date: Thu, 10 Jul 2014 17:55:37 +0100
- Subject: [PATCH][AArch64] NEON-optimised memchr
- Authentication-results: sourceware.org; auth=none
Hi,
Here’s an AArch64 NEON-optimised version of memchr. It has been tested on a
Cortex-A53 and Cortex-A57 and is on these cores vastly faster than all other
C
implementations I’ve found when searching more than a few bytes.
2014-07-10 Kévin Petit <kevin.petit@arm.com>
* libc/machine/aarch64/memchr.S: New file.
* libc/machine/aarch64/memchr-stub.c: New file.
* libc/machine/aarch64/Makefile.am: Add the new files.
* libc/machine/aarch64/Makefile.in: Regenerated.
Regards,
Kévin