From 249dcdb71b79e4c488a46c9027e0014c0bc27044 Mon Sep 17 00:00:00 2001 From: Rajalakshmi Srinivasaraghavan Date: Thu, 13 Apr 2017 11:29:20 +0530 Subject: powerpc: Optimized strncat for POWER8 With new optimized strnlen for POWER8 [1], this patch adds strncat for power8 to make use of optimized strlen and strnlen. This is faster than POWER7 current implementation for larger strings. Tested on powerpc64 and powerpc64le. [1] https://sourceware.org/ml/libc-alpha/2017-03/msg00491.html * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add strncat-power8. * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add __strncat_power8 to ifunc list. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c (strncat): Add __strncat_power8 to list of strncat functions. * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 52b8d410a0..b310214c74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2017-04-13 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add + strncat-power8. + * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add + __strncat_power8 to ifunc list. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (strncat): Add __strncat_power8 to list of strncat functions. + * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file. + 2017-04-11 Adhemerval Zanella [BZ #21270] -- cgit 1.4.1