]> sourceware.org Git - newlib-cygwin.git/commit
2008-05-26 Eric Blake <ebb9@byu.net>
authorJeff Johnston <jjohnstn@redhat.com>
Mon, 26 May 2008 22:56:14 +0000 (22:56 +0000)
committerJeff Johnston <jjohnstn@redhat.com>
Mon, 26 May 2008 22:56:14 +0000 (22:56 +0000)
commitcae28869c106eb342dd5a1c8242f933efab6f772
tree96a8d157506d0652152d90ae40cfd8137795fe6c
parent12cf19762d07e477c5c58419cb522e393bee2e0c
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.
newlib/ChangeLog
newlib/libc/machine/i386/strlen.S
newlib/libc/string/strlen.c
This page took 0.029417 seconds and 5 git commands to generate.