lib/crypto: Clean up and optimize sha512-avx2-asm.S
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | lib/crypto: x86/sha512-avx2: Clean up loading and byte-swapping the datalib/ | +11 | 0 replies | |
| 2/4 | lib/crypto: x86/sha512-avx2: Optimize message schedulelib/ | +74 | 0 replies | |
| 3/4 | lib/crypto: x86/sha512-avx2: Factor out SHA512_Roundlib/ | +47 | 0 replies | |
| 4/4 | lib/crypto: x86/sha512-avx2: Optimize SHA512_Roundlib/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] lib/crypto: Clean up and optimize sha512-avx2-asm.S
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
Signature · 1 line
2.56.1