diff options
author | Alan Modra <amodra@gmail.com> | 2013-08-17 18:40:48 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-10-04 10:39:42 +0930 |
commit | 33ee81de05e83ce12f32a491270bb4c1611399c7 (patch) | |
tree | be23e09b15939752f6c48310d8674ea97dcb2c9a /iconvdata/testdata/IBM937 | |
parent | db9b4570c5dc550074140ac1d1677077fba29a26 (diff) | |
download | glibc-33ee81de05e83ce12f32a491270bb4c1611399c7.tar.gz glibc-33ee81de05e83ce12f32a491270bb4c1611399c7.tar.xz glibc-33ee81de05e83ce12f32a491270bb4c1611399c7.zip |
PowerPC LE strnlen
http://sourceware.org/ml/libc-alpha/2013-08/msg00098.html The existing strnlen code has a number of defects, so this patch is more than just adding little-endian support. The changes here are similar to those for memchr. * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add little-endian support. Remove unnecessary "are we done" tests. Handle "s" wrapping around zero and extremely large "size". Correct main loop count. Handle single left-over word from main loop inline rather than by using small_loop. Correct comments. Delete "zero" tail, use "end_max" instead. * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
Diffstat (limited to 'iconvdata/testdata/IBM937')
0 files changed, 0 insertions, 0 deletions