about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2016-01-25 10:50:34 -0500
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2016-04-29 10:05:33 -0300
commit72c11b353ede72931cc474c9071d143d9a05c0d7 (patch)
tree1e825c0626899c1952a01c4ad2868545c8169533 /ChangeLog
parentf5b3338d70a7a2c626331ac4589b6deb2f610432 (diff)
downloadglibc-72c11b353ede72931cc474c9071d143d9a05c0d7.tar.gz
glibc-72c11b353ede72931cc474c9071d143d9a05c0d7.tar.xz
glibc-72c11b353ede72931cc474c9071d143d9a05c0d7.zip
powerpc: Zero pad using memset in strncpy/stpncpy
Call __memset_power8 to pad, with zeros, the remaining bytes in the
dest string on __strncpy_power8 and __stpncpy_power8.  This improves
performance when n is larger than the input string, giving ~30% gain for
larger strings without impacting much shorter strings.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 768c0a0d02..5f8424a088 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+	* sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
+	remaining bytes in the dest string, with zeros.
+
 2016-04-29  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #20010]