svn commit: r338270 - head/lib/libmd

Brooks Davis brooks at freebsd.org
Thu Aug 23 22:18:53 UTC 2018


On Thu, Aug 23, 2018 at 02:40:35PM -0700, Conrad Meyer wrote:
> On Thu, Aug 23, 2018 at 11:19 AM, Alex Richardson
> <arichardson at freebsd.org> wrote:
> > Author: arichardson
> > Date: Thu Aug 23 18:19:33 2018
> > New Revision: 338270
> > URL: https://svnweb.freebsd.org/changeset/base/338270
> >
> > Log:
> >   Don't build skein_block_asm.s if we don't have an as binary
> >...
> > It might also be better to just
> >   compile the C file in userspace since the compiler can the use SSE/AVX.
> 
> FYI, in my (limited) testing, the hand-written assembly has something
> like 50% performance advantage over the reference C implementation,
> even with -march=native, etc.  Using the reference C version is
> totally fine for bootstrapping, but the compiler is not yet smart
> enough to write the assembler versions.

Thanks for doing this.  Sounds like we should keep the option to build
if you have a GNU as around.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20180823/9817a1ea/attachment.sig>


More information about the svn-src-all mailing list