diff options
author | Vidya Ranganathan <vidya@linux.vnet.ibm.com> | 2014-03-10 12:20:36 -0400 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-03-11 08:54:33 -0500 |
commit | e65caf1f1df4ecc122da3d30689ee2e8e2bd354f (patch) | |
tree | 512c80cac0072cacd0fe600c85eb208016406138 /ChangeLog | |
parent | ba9cc0714e58a9e8fa73cf6b0e205cbf1e6b71f2 (diff) | |
download | glibc-e65caf1f1df4ecc122da3d30689ee2e8e2bd354f.tar.gz glibc-e65caf1f1df4ecc122da3d30689ee2e8e2bd354f.tar.xz glibc-e65caf1f1df4ecc122da3d30689ee2e8e2bd354f.zip |
PowerPC: strspn optimization for PPC64/POWER7
The optimization is achieved by following techniques: > hashing of needle. > hashing avoids scanning of duplicate entries in needle across the string. > initializing the hash table with Vector instructions (VSX) by quadword access. > unrolling when scanning for character in string across hash table.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 06165c5e62..c1b5622953 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization. + * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file: + multiarch strspn for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file + * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn + multiarch optimizations + * string/strspn.c (strspn): Using macro to redefine symbol name. + 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com> Adhemerval Zanella <azanella@linux.vnet.ibm.com> |