about summary refs log tree commit diff
path: root/login/login.c
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 /login/login.c
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 'login/login.c')
0 files changed, 0 insertions, 0 deletions