diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-02-05 18:32:03 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-02-27 10:00:42 -0300 |
commit | 4d8015639a750aacd899e293bceeabb15bde9803 (patch) | |
tree | 59d4970fef40ebb328bad595252c7227055e9bbf /ChangeLog | |
parent | 81a14439417552324ec6ca71f65ddf8e7cdd51c7 (diff) | |
download | glibc-4d8015639a750aacd899e293bceeabb15bde9803.zip glibc-4d8015639a750aacd899e293bceeabb15bde9803.tar.gz glibc-4d8015639a750aacd899e293bceeabb15bde9803.tar.bz2 |
wcsmbs: optimize wcscpy
This patch rewrites wcscpy using wcslen and wmemcpy. This is similar
to the optimization done on strcpy by b863d2bc4d.
Checked on x86_64-linux-gnu.
* wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,7 @@ 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org> + * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy. + * include/wchar.h (__wcscpy): New prototype. * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c (__wcscpy): Route internal symbol to generic implementation. |