]> sourceware.org Git - glibc.git/commit
powerpc: Zero pad using memset in strncpy/stpncpy
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Mon, 25 Jan 2016 15:50:34 +0000 (10:50 -0500)
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Fri, 29 Apr 2016 13:05:33 +0000 (10:05 -0300)
commit72c11b353ede72931cc474c9071d143d9a05c0d7
tree1e825c0626899c1952a01c4ad2868545c8169533
parentf5b3338d70a7a2c626331ac4589b6deb2f610432
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.
ChangeLog
sysdeps/powerpc/powerpc64/power8/strncpy.S
This page took 0.039351 seconds and 5 git commands to generate.