Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: clang: enable blake3 asm optimizations on amd64?
To:
tech@openbsd.org
Date:
Sun, 18 Feb 2024 15:06:07 +0100

Download raw body.

Thread
Stuart Henderson:

> > From some cursory grepping, I don't think BLAKE3 is used much if
> > at all in clang.  So I don't know if this buys us anything.  It
> > does not reduce the time required by clang to compile itself.
> 
> Any idea how to make sure that this code is exercised?

The build ID feature, which makes ld create a .note.gnu.build-id
section with a hash over its output, uses this for the "md5" and
"sha1" modes in place of the eponymous algorithms.

-Wl,--build-id=sha1

Yes, the code has endbr64.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de