Skip to content
ARM-accelerated versions of selected functions from <string.h>
Assembly C Makefile
Branch: master
Clone or download
bavison ARMv7: Ensure memcmp return value is always -1, 0 or +1
While other values are permitted by ISO, there are some fears that since these are the values returned by glibc, we may expose latent bugs by doing anything different.
Latest commit b48ea15 Apr 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile Add a NEON implementation of strlen, tuned for Cortex-A53 Mar 8, 2019
README.md Makefile: allow cross-compilation using the CROSS_COMPILE env var prefix May 12, 2015
arm-mem.h
memcmp-v6l.S Add a NEON implementation of memcmp Feb 8, 2019
memcmp-v7l.S
memcpymove-v6l.S
memcpymove-v7l.S Revert "ARMv7: Rewrite memcpy / memmove to tune for Cortex-A53" Apr 29, 2019
memset-v6l.S
memset-v7l.S
strlen-v7l.S
test-strlen.c
test.c

README.md

arm-mem

ARM-accelerated versions of selected functions from string.h

To build the library, use $ make or, if cross-compiling, use $ CROSS_COMPILE=arm-linux-gnueabihf- make

Also included is a simple test harness, inspired by the benchmarker from the pixman library. This can be built via the "test" make target.

You can’t perform that action at this time.