glibc/sysdeps
Naohiro Tamura fa527f345c aarch64: Added optimized memcpy and memmove for A64FX
This patch optimizes the performance of memcpy/memmove 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 software pipelining.

SVE assembler code for memcpy/memmove 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
..
aarch64 aarch64: Added optimized memcpy and memmove for A64FX 2021-05-27 09:47:53 +01:00
alpha nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
arc ARC: Update ulps 2021-04-14 09:24:45 -07:00
arm nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
csky Reduce the statically linked startup code [BZ #23323] 2021-02-25 12:13:02 +01:00
generic Properly check stack alignment [BZ #27901] 2021-05-24 07:42:12 -07:00
gnu Annotate additional APIs with GCC attribute access. 2021-05-06 11:01:05 -06:00
hppa nptl: Move pthread_spin_init, Move pthread_spin_unlock into libc 2021-04-23 17:06:44 +02:00
htl Hurd: Define ARCH_MIN_GUARD_SIZE in internal <pthread.h> 2021-05-20 18:56:57 +02:00
hurd Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
i386 Properly check stack alignment [BZ #27901] 2021-05-24 07:42:12 -07:00
ia64 nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
ieee754 add workload traces for cbrtl 2021-05-10 18:45:34 +02:00
m68k m68: Fix build after 9acda61d94 2021-04-06 15:10:31 -03:00
mach hurd: Add execveat 2021-05-18 09:36:00 +00:00
microblaze Reduce the statically linked startup code [BZ #23323] 2021-02-25 12:13:02 +01:00
mips Linux: Remove remaining references to $(shared-thread-library) 2021-05-25 11:30:23 +02:00
nios2 Update Nios II libm-test-ulps. 2021-04-01 19:41:40 +00:00
nptl nptl: Do not install libpthread.so and do not link tests with it 2021-05-25 11:30:23 +02:00
posix Add C2X timespec_getres 2021-05-17 20:55:21 +00:00
powerpc powerpc: Fix handling of scv return error codes [BZ #27892] 2021-05-24 17:01:40 -03:00
pthread nptl: Move pthread_create, thrd_create into libc 2021-05-21 22:35:00 +02:00
riscv nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
s390 nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
sh nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
sparc nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
unix aarch64: Added optimized memcpy and memmove for A64FX 2021-05-27 09:47:53 +01:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
x86 Properly check stack alignment [BZ #27901] 2021-05-24 07:42:12 -07:00
x86_64 Properly check stack alignment [BZ #27901] 2021-05-24 07:42:12 -07:00