From: Eric Biggers <ebiggers@kernel.org>
To: linux-crypto@vger.kernel.org
Cc: Ard Biesheuvel <ardb@kernel.org>,
"Jason A . Donenfeld" <Jason@zx2c4.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
x86@kernel.org
Subject: Re: [PATCH 0/4] lib/crypto: Clean up and optimize sha512-avx2-asm.S
Date: Tue, 24 Nov 2026 15:30:48 -0800 [thread overview]
Message-ID: <20261124233048.GD2001@quark> (raw)
In-Reply-To: <20261123031321.403308-1-ebiggers@kernel.org>
On Sun, Nov 22, 2026 at 07:13:17PM -0800, Eric Biggers wrote:
> A refresh for sha512-avx2-asm.S (the SHA-512 implementation that's used
> on all AVX2 capable CPUs), bringing the following small benefits:
>
> - 6% faster SHA-512 on AMD Ryzen 9 9950X (Zen 5) and
> 9% faster SHA-512 on Intel Sapphire Rapids.
>
> - Negative 288 line diffstat.
>
> - Slight reductions in text and rodata size.
>
> - Better comments.
>
> Eric Biggers (4):
> lib/crypto: x86/sha512-avx2: Clean up loading and byte-swapping the
> data
> lib/crypto: x86/sha512-avx2: Optimize message schedule
> lib/crypto: x86/sha512-avx2: Factor out SHA512_Round
> lib/crypto: x86/sha512-avx2: Optimize SHA512_Round
>
> lib/crypto/x86/sha512-avx2-asm.S | 550 ++++++++-----------------------
> 1 file changed, 131 insertions(+), 419 deletions(-)
>
>
> base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next
- Eric
prev parent reply other threads:[~2026-11-24 23:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 3:13 [PATCH 0/4] lib/crypto: Clean up and optimize sha512-avx2-asm.S Eric Biggers
2026-11-23 3:13 ` [PATCH 1/4] lib/crypto: x86/sha512-avx2: Clean up loading and byte-swapping the data Eric Biggers
2026-11-23 3:13 ` [PATCH 2/4] lib/crypto: x86/sha512-avx2: Optimize message schedule Eric Biggers
2026-11-23 3:13 ` [PATCH 3/4] lib/crypto: x86/sha512-avx2: Factor out SHA512_Round Eric Biggers
2026-11-23 3:13 ` [PATCH 4/4] lib/crypto: x86/sha512-avx2: Optimize SHA512_Round Eric Biggers
2026-11-24 11:00 ` [PATCH 0/4] lib/crypto: Clean up and optimize sha512-avx2-asm.S Ard Biesheuvel
2026-11-24 23:30 ` Eric Biggers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261124233048.GD2001@quark \
--to=ebiggers@kernel.org \
--cc=Jason@zx2c4.com \
--cc=ardb@kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.