summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/memset.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-05-26 22:56:14 +0000
committerJeff Johnston <jjohnstn@redhat.com>2008-05-26 22:56:14 +0000
commitcae28869c106eb342dd5a1c8242f933efab6f772 (patch)
tree96a8d157506d0652152d90ae40cfd8137795fe6c /newlib/libc/string/memset.c
parent12cf19762d07e477c5c58419cb522e393bee2e0c (diff)
downloadcygnal-cae28869c106eb342dd5a1c8242f933efab6f772.tar.gz
cygnal-cae28869c106eb342dd5a1c8242f933efab6f772.tar.bz2
cygnal-cae28869c106eb342dd5a1c8242f933efab6f772.zip
2008-05-26 Eric Blake <ebb9@byu.net>
Optimize the generic and x86 strlen. * libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align data so unaligned searches aren't penalized. * libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]: Word operations are faster than repnz byte searches.
Diffstat (limited to 'newlib/libc/string/memset.c')
0 files changed, 0 insertions, 0 deletions