Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2018 14:40:35 -0700
From:      Conrad Meyer <cem@freebsd.org>
To:        Alex Richardson <arichardson@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r338270 - head/lib/libmd
Message-ID:  <CAG6CVpVjytnfv4Xm2DtxNEE%2BgJ33OEnHmZwD97x-iG6iX6gPyA@mail.gmail.com>
In-Reply-To: <201808231819.w7NIJXDG072054@repo.freebsd.org>
References:  <201808231819.w7NIJXDG072054@repo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

On Thu, Aug 23, 2018 at 11:19 AM, Alex Richardson
<arichardson@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.

Best,
Conrad


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpVjytnfv4Xm2DtxNEE%2BgJ33OEnHmZwD97x-iG6iX6gPyA>