aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2017-02-07 10:40:26 +0530
committerRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2017-02-07 10:40:26 +0530
commit04f0fd640d78ff715cb9409f03d55366ed76966e (patch)
treedfef9d58915c0a6788b1c76524949a8ed5546e5f /ChangeLog
parentdcd4cd575678c94f042c1a6b08663c648781a9eb (diff)
downloadglibc-04f0fd640d78ff715cb9409f03d55366ed76966e.zip
glibc-04f0fd640d78ff715cb9409f03d55366ed76966e.tar.gz
glibc-04f0fd640d78ff715cb9409f03d55366ed76966e.tar.bz2
powerpc: Improve strcmp performance for shorter strings
For strings >16B and <32B existing algorithm takes more time than default implementation when strings are placed closed to end of page. This is due to byte by byte access for handling page cross. This is improved by following >32B code path where the address is adjusted to aligned memory before doing load doubleword operation instead of loading bytes. Tested on powerpc64 and powerpc64le.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6399c1f..769e738 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
+ unaligned load for shorter strings.
+ * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
+
2017-02-06 Joseph Myers <joseph@codesourcery.com>
* math/libm-test-driver.c (flag_test_errno): New variable.