diff options
author | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2016-12-27 17:48:37 -0200 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2016-12-28 11:44:31 -0200 |
commit | 9314d3545e6641063b490918e2e8716556ba20db (patch) | |
tree | cc3d6518db2c0a86db8dcbb22ee44e789a0a9920 /ChangeLog | |
parent | ffcf0f1cb77dd0d902495fd066a96784f76f2c3a (diff) | |
download | glibc-9314d3545e6641063b490918e2e8716556ba20db.tar.gz glibc-9314d3545e6641063b490918e2e8716556ba20db.tar.xz glibc-9314d3545e6641063b490918e2e8716556ba20db.zip |
powerpc64: strchr/strchrnul optimization for power8
The P7 code is used for <=32B strings and for > 32B vectorized loops are used. This shows as an average 25% improvement depending on the position of search character. The performance is same for shorter strings. Tested on ppc64 and ppc64le.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index b794caccc0..d9b2c98156 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc64/multiarch/Makefile + (sysdep_routines): Add strchr-power8 and strchrnul_power8. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (strchr): Add __strchr_power8 to list of strchr functions. + (strchrnul): Add __strchrnul_power8 to list of strchr functions. + * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strchr.c + (strchr): Add __strchr_power8 to ifunc list. + * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c + (__strchrnul): Add __strchrnul_power8 to ifunc list. + * sysdeps/powerpc/powerpc64/power8/strchr.S: New file. + * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file. + 2016-12-28 Florian Weimer <fweimer@redhat.com> * support/Makefile (libsupport-routines): Add |