svn commit: r346588 - head/lib/libc/powerpc64/string
Alexey Dokuchaev
danfe at freebsd.org
Tue Sep 3 14:07:43 UTC 2019
On Tue, Apr 23, 2019 at 02:53:53AM +0000, Justin Hibbits wrote:
> New Revision: 346588
> URL: https://svnweb.freebsd.org/changeset/base/346588
>
> Log:
> powerpc64: Rewrite strcmp in asm to take advantage of word size
> ...
> Some performance gain rates between the current and the optimized
> solution:
>
> String size (bytes) Gain rate
> <=8 0.59%
> <=16 1.92%
> 32 3.02%
> 64 5.60%
> 128 10.16%
> 256 18.05%
> 512 30.18%
> 1024 42.82%
Nice! This should help to speed up buildworld quite a bit. Would it
be feasible to patch ppc32 in a similar fashion? Thanks,
./danfe
More information about the svn-src-head
mailing list