diff options
author | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2016-01-25 10:50:34 -0500 |
---|---|---|
committer | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2016-04-29 10:05:33 -0300 |
commit | 72c11b353ede72931cc474c9071d143d9a05c0d7 (patch) | |
tree | 1e825c0626899c1952a01c4ad2868545c8169533 /ChangeLog | |
parent | f5b3338d70a7a2c626331ac4589b6deb2f610432 (diff) | |
download | glibc-72c11b353ede72931cc474c9071d143d9a05c0d7.tar glibc-72c11b353ede72931cc474c9071d143d9a05c0d7.tar.gz glibc-72c11b353ede72931cc474c9071d143d9a05c0d7.tar.bz2 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-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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] |