From 9f2f36e5a91c2ce6edba5415e176155eb1008ae1 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 23 Dec 2014 13:39:23 -0500 Subject: powerpc: Optimized strncat for POWER7/PPC64 With 3eb38795dbbbd816 (Simplify strncat) the generic algorithms uses strlen, strnlen, and memcpy. This is faster than POWER7 current implementation, especially for unaligned strings (where POWER7 code uses byte-byte operations). This patch removes the assembly implementation and uses a multiarch specialization based on default algorithm calling optimized POWER7 symbols. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 744632acb0..16199e3130 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2015-01-13 Adhemerval Zanella + * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file. + * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add strncat-power8 object. * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add -- cgit 1.4.1