glibc/sysdeps/aarch64/multiarch
Naohiro Tamura 4f26956d5b aarch64: Added optimized memset for A64FX
This patch optimizes the performance of memset for A64FX [1] which
implements ARMv8-A SVE and has L1 64KB cache per core and L2 8MB cache
per NUMA node.

The performance optimization makes use of Scalable Vector Register
with several techniques such as loop unrolling, memory access
alignment, cache zero fill and prefetch.

SVE assembler code for memset is implemented as Vector Length Agnostic
code so theoretically it can be run on any SOC which supports ARMv8-A
SVE standard.

We confirmed that all testcases have been passed by running 'make
check' and 'make xcheck' not only on A64FX but also on ThunderX2.

And also we confirmed that the SVE 512 bit vector register performance
is roughly 4 times better than Advanced SIMD 128 bit register and 8
times better than scalar 64 bit register by running 'make bench'.

[1] https://github.com/fujitsu/A64FX

Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Reviewed-by: Szabolcs Nagy <Szabolcs.Nagy@arm.com>
2021-05-27 09:47:53 +01:00
..
ifunc-impl-list.c aarch64: Added optimized memset for A64FX 2021-05-27 09:47:53 +01:00
init-arch.h aarch64: Added optimized memcpy and memmove for A64FX 2021-05-27 09:47:53 +01:00
Makefile aarch64: Added optimized memset for A64FX 2021-05-27 09:47:53 +01:00
memchr_generic.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memchr_nosimd.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memchr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memcpy_a64fx.S aarch64: Added optimized memcpy and memmove for A64FX 2021-05-27 09:47:53 +01:00
memcpy_advsimd.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memcpy_falkor.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memcpy_generic.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memcpy_thunderx2.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memcpy_thunderx.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memcpy.c aarch64: Added optimized memcpy and memmove for A64FX 2021-05-27 09:47:53 +01:00
memmove.c aarch64: Added optimized memcpy and memmove for A64FX 2021-05-27 09:47:53 +01:00
memset_a64fx.S aarch64: Added optimized memset for A64FX 2021-05-27 09:47:53 +01:00
memset_base64.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memset_emag.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memset_falkor.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memset_generic.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memset_kunpeng.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memset.c aarch64: Added optimized memset for A64FX 2021-05-27 09:47:53 +01:00
rtld-memset.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
strlen_asimd.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
strlen_mte.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
strlen.c aarch64: Move and update the definition of MTE_ENABLED 2021-01-25 15:35:43 +00:00