diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-03-14 17:40:46 -0400 |
---|---|---|
committer | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-04-07 15:51:28 -0500 |
commit | 25dba0ad054723196fb633ba5d8a463ef5cb775c (patch) | |
tree | 03f9259662b03ea65b00bc6721afba2d47104bef /ChangeLog | |
parent | 1d2a8245ff7bcc1d8be54f01e26c49297e446aba (diff) | |
download | glibc-25dba0ad054723196fb633ba5d8a463ef5cb775c.tar.gz glibc-25dba0ad054723196fb633ba5d8a463ef5cb775c.tar.xz glibc-25dba0ad054723196fb633ba5d8a463ef5cb775c.zip |
powerpc: Add optimized P8 strspn
This utilizes vectors and bitmasks. For small needle, large haystack, the performance improvement is upto 8x. For short strings (0-4B), the cost of computing the bitmask dominates, and is a tad slower.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index c3b2053512..9d48c8beb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: + (sysdep_routines): Add new strspn targets. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Add strspn. + * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: + New file. + * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: + Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strspn.c: + Likewise. + * sysdeps/powerpc/powerpc64/power8/strspn.S: + Likewise. + 2016-04-07 Florian Weimer <fweimer@redhat.com> * misc/hsearch_r.c: Include <limits.h>. |