diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-12-23 13:39:23 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-01-13 11:28:40 -0500 |
commit | 9f2f36e5a91c2ce6edba5415e176155eb1008ae1 (patch) | |
tree | f772f8f5005de041205a3f1ed0317ce5bf992fc6 /ChangeLog | |
parent | 94c9680945369d63ef9ed266a29f28ebaaaeb5ce (diff) | |
download | glibc-9f2f36e5a91c2ce6edba5415e176155eb1008ae1.tar.gz glibc-9f2f36e5a91c2ce6edba5415e176155eb1008ae1.tar.xz glibc-9f2f36e5a91c2ce6edba5415e176155eb1008ae1.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 744632acb0..16199e3130 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + * 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 |