aarch64: add HXT Phecda core memory operation ifuncs

System Internals / glibc - Hongbo Zhang [linaro.org] - 12 June 2018 15:59 EDT

Phecda is HXT semiconductor's CPU core, this patch adds memory operation ifuncs for it: sharing the same optimized implementation with Qualcomm's Falkor core.

2018-06-07 Minfeng Kang Hongbo Zhang

- sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse __memcpy_falkor for phecda core.
- sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse __memmove_falkor for phecda core.
- sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse __memset_falkor for phecda core.
- sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry for phecda core.
- sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add macro to identify phecda core.

fc2ba8037d aarch64: add HXT Phecda core memory operation ifuncs
ChangeLog | 14 ++++++++++++++
sysdeps/aarch64/multiarch/memcpy.c | 2 +-
sysdeps/aarch64/multiarch/memmove.c | 2 +-
sysdeps/aarch64/multiarch/memset.c | 7 ++++---
sysdeps/unix/sysv/linux/aarch64/cpu-features.c | 1 +
sysdeps/unix/sysv/linux/aarch64/cpu-features.h | 3 +++
6 files changed, 24 insertions(+), 5 deletions(-)

Upstream: sourceware.org


  • Share