aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2015-01-28 08:43:29 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-02-12 13:16:08 -0500
commit98408b95b155464e760c22dce4842f29499db821 (patch)
tree6cc1dda44a3a4cf46aa7118b6fafe07d79ecf38e /ChangeLog
parent6f7415033813c73fde81da60d209297901f35575 (diff)
downloadglibc-98408b95b155464e760c22dce4842f29499db821.tar
glibc-98408b95b155464e760c22dce4842f29499db821.tar.gz
glibc-98408b95b155464e760c22dce4842f29499db821.tar.bz2
glibc-98408b95b155464e760c22dce4842f29499db821.zip
powerpc: POWER7 strncpy optimization for unaligned string
This patch optimizes strncpy for 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 new optimization shows 10 to 70% of performance improvement for longer string though it does not show big difference on string size less than 16 due to additional checks.Hence this new algorithm is restricted to string greater than 16.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cc8f509583..d431c29f04 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
+ unaligned path.
+
2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for