diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-02-05 17:34:21 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-02-27 10:00:38 -0300 |
commit | 39ef07441910c2d2f8c02579e808862194b9a23b (patch) | |
tree | 34c8d7a478ab0ad6b8f106b0686a701e8ed355a9 /ChangeLog | |
parent | 7b3fb620519f6887b2650cc8e0e3267e44914c7b (diff) | |
download | glibc-39ef07441910c2d2f8c02579e808862194b9a23b.tar.gz |
wcsmbs: optimize wcpncpy
This patch rewrites wcpncpy using wcslen, wmemcpy, and wmemset. This is
similar to the optimization done on stpncpy by 48497aba8e.
Checked on x86_64-linux-gnu.
* wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
wmemset.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org> + * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and + wmemset. + * sysdeps/m68k/wcpcpy.c: Remove file. * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy. |