powerpc: Add optimized stpncpy for POWER9

System Internals / glibc - Raphael M Zinsly [linux.ibm.com] - 12 November 2020 16:16 UTC

Add stpncpy support into the POWER9 strncpy.

7beee7b39a powerpc: Add optimized stpncpy for POWER9
sysdeps/powerpc/powerpc64/le/power9/stpncpy.S | 24 ++++++++
sysdeps/powerpc/powerpc64/le/power9/strncpy.S | 68 +++++++++++++++++++++-
sysdeps/powerpc/powerpc64/multiarch/Makefile | 2 +-
.../powerpc/powerpc64/multiarch/ifunc-impl-list.c | 6 ++
.../powerpc/powerpc64/multiarch/stpncpy-power9.S | 29 +++++++++
sysdeps/powerpc/powerpc64/multiarch/stpncpy.c | 8 +++
6 files changed, 135 insertions(+), 2 deletions(-)

Upstream: sourceware.org


  • Share