[AArch64] Add ifunc support for Ares

System Internals / glibc - Wilco Dijkstra [arm.com] - 9 January 2019 10:35 EST

Add Ares to the midr_el0 list and support ifunc dispatch. Since Ares supports 2 128-bit loads/stores, use Neon registers for memcpy by selecting __memcpy_falkor by default (we should rename this to __memcpy_simd or similar).

- manual/tunables.texi (glibc.cpu.name): Add ares tunable.
- sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use __memcpy_falkor for ares.
- sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES): Add new define.
- sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list): Add ares cpu.

02f440c1ef [AArch64] Add ifunc support for Ares
ChangeLog | 10 ++++++++++
manual/tunables.texi | 2 +-
sysdeps/aarch64/multiarch/memcpy.c | 2 +-
sysdeps/unix/sysv/linux/aarch64/cpu-features.c | 1 +
sysdeps/unix/sysv/linux/aarch64/cpu-features.h | 2 ++
5 files changed, 15 insertions(+), 2 deletions(-)

Upstream: sourceware.org


  • Share