aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2014-12-31 14:05:00 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-01-14 07:57:59 -0500
commitb53db929e654aaf97a2a239e17a87b04c768b854 (patch)
treef3d81f62a747f4e9179f72990e7e8e334ac26d57 /ChangeLog
parentf4f9fb08d49740d9f18918bcf9d45ca594f416ee (diff)
downloadglibc-b53db929e654aaf97a2a239e17a87b04c768b854.zip
glibc-b53db929e654aaf97a2a239e17a87b04c768b854.tar.gz
glibc-b53db929e654aaf97a2a239e17a87b04c768b854.tar.bz2
powerpc: POWER7 strcpy optimization for unaligned strings
This patch optimizes strcpy for ppc64/power7 for unaligned source or destination address. The source or destination address is aligned to doubleword and data is shifted based on the alignment and added with the previous loaded data to be written as a doubleword. For each load, cmpb instruction is used for faster null check. The word aligned optimization is also removed, since the new unaligned code path shows better results handling word-aligned strings. More combination of unaligned inputs is also added in benchtest to measure the improvement.The new optimization shows 2 to 80% of performance improvement for longer string though it does not show big difference on string size less than 16 due to additional checks.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 991ba72..73bf51e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
+ Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
+ path.
+ * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
+
2014-12-16 Florian Weimer <fweimer@redhat.com>
[BZ #17630]