bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gold speed for small programs


From: Simon Josefsson
Subject: Re: gold speed for small programs
Date: Tue, 14 Dec 2010 08:44:02 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> Trying out gold (no LTO) on GCC's cc1, a log shows that the single
> biggest part (20%) of user time for such a medium sized program may be
> spent in SHA1 computation for the build id.  I think the SHA1 code in
> libiberty would benefit from an SSE implementation, such as the one
> found in git or described on <http://en.wikipedia.org/wiki/SHA-1>.
>
> Adding bug-gnulib in Cc: because that's where the libiberty SHA1
> implementation comes from.

GNU Nettle contains optimized SHA-1, although I'm not sure it exploits
SSE operations.  Generally, the crypto code in GNU Nettle is clean (no
malloc!) and leans itself to modularity, so maybe it could replace some
crypto code in gnulib.

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]