powerpc: Optimized strncat for POWER7/PPC64
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 23 Dec 2014 18:39:23 +0000 (13:39 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 13 Jan 2015 16:28:40 +0000 (11:28 -0500)
commit9f2f36e5a91c2ce6edba5415e176155eb1008ae1
treef772f8f5005de041205a3f1ed0317ce5bf992fc6
parent94c9680945369d63ef9ed266a29f28ebaaaeb5ce
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
sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S [deleted file]
sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/power7/strncat.S [deleted file]