PATCH: [x86_64] New optimized wcslen and strnlen
Dmitrieva Liubov
liubov.dmitrieva@gmail.com
Thu Oct 20 14:39:00 GMT 2011
Hello,
This patch contains optimized wcslen written in assembly codes for all
architectures and optimized strnlen for atom.
This patch improves perfomance by up to 4X for wcslen and by up to
2.5X for strnlen.
2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
* sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
strnlen-sse2-no-bsf.
Rename strlen-no-bsf to strlen-sse2-no-bsf.
* sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
* sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
Add strnlen support.
(USE_AS_STRNLEN): New macro.
* sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
* sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
* sysdeps/x86_64/wcslen.S: New file.
--
Liubov Dmitrieva
Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strnlen_wcslen_64.patch
Type: application/octet-stream
Size: 26321 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20111020/cee5d8d7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog.strnlen_wcslen_64
Type: application/octet-stream
Size: 546 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20111020/cee5d8d7/attachment-0001.obj>
More information about the Libc-alpha
mailing list