diff options
author | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2017-04-18 11:28:56 +0530 |
---|---|---|
committer | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2017-04-18 11:28:56 +0530 |
commit | 6c6ab1fc49d524ab1892cb20ee74352ace0b8034 (patch) | |
tree | 716e71e31d63e0b534e2ff47fe6bb8f192f81d76 /ChangeLog | |
parent | 2604882cefd3281679b8177245fdebc7061b8695 (diff) | |
download | glibc-6c6ab1fc49d524ab1892cb20ee74352ace0b8034.tar glibc-6c6ab1fc49d524ab1892cb20ee74352ace0b8034.tar.gz glibc-6c6ab1fc49d524ab1892cb20ee74352ace0b8034.tar.bz2 glibc-6c6ab1fc49d524ab1892cb20ee74352ace0b8034.zip |
powerpc64: strrchr optimization for power8
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 | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc64/multiarch/Makefile + (sysdep_routines): Add strrchr-power8. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (strrchr): Add __strrchr_power8 to list of strrchr functions. + * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strrchr.c + (strrchr): Add __strrchr_power8 to ifunc list. + * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file. + 2017-04-17 Rabin Vincent <rabinv@axis.com> [BZ #21357] |