diff options
author | Krzysztof Koch <krzysztof.koch@arm.com> | 2019-11-25 10:08:08 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-11-26 15:05:42 +0000 |
commit | 6d3ae5fc1a64ec195f22a48bc51658cff7cf1cb3 (patch) | |
tree | e059586d3cfeb64d0424c856a0b0568c82cd6cc3 /string/test | |
parent | 015c9519c1b230f0619dc34251c574871b989a52 (diff) | |
download | arm-optimized-routines-6d3ae5fc1a64ec195f22a48bc51658cff7cf1cb3.tar.gz |
arch64: Add SIMD version of memcpy
Create a new memcpy implementation for targets with the NEON extension.
__memcpy_aarch64_simd has been tested on a range of modern
microarchitectures. It turned out to be faster than __memcpy_aarch64 on
all of them, with a performance improvement of 3-11% depending on the
platform.
Diffstat (limited to 'string/test')
-rw-r--r-- | string/test/memcpy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/string/test/memcpy.c b/string/test/memcpy.c index a6c0e48..e31f359 100644 --- a/string/test/memcpy.c +++ b/string/test/memcpy.c @@ -21,6 +21,9 @@ F(memcpy) #if __aarch64__ F(__memcpy_bytewise) F(__memcpy_aarch64) +# if __ARM_NEON +F(__memcpy_aarch64_simd) +# endif #elif __arm__ F(__memcpy_arm) #endif |