[PATCH, ARM] Optimise memchr for NEON-enabled processors
Prakhar Bahuguna
prakhar.bahuguna@arm.com
Tue Jun 13 16:11:00 GMT 2017
On 13/06/2017 14:22:52, Joseph Myers wrote:
> On Tue, 13 Jun 2017, Prakhar Bahuguna wrote:
>
> > Testing done: Ran regression tests for arm-none-linux-gnueabihf as well as a
> > full toolchain bootstrap. Benchmark tests were ran on ARMv7-A and ARMv8-A
> > hardware targets.
>
> It's important to test string functions for both endiannesses, since they
> can easily have endian-specific bugs. You should be able to run string/
> tests for big-endian with QEMU userspace emulation, for example, if you
> don't have an actual big-endian system to run tests on (some parts of the
> glibc testsuite, such as threading tests, may have problems with QEMU
> userspace emulation, but for string tests it should be fine).
>
> --
> Joseph S. Myers
> joseph@codesourcery.com
This implementation was tested for big-endian targets as well (via qemu) and it
also passed regression tests for armeb-none-linux-gnueabihf. No bootstrap or
benchmarking was performed for big-endian though.
--
Prakhar Bahuguna
More information about the Libc-alpha
mailing list