lib/crypto: x86/sha512: Partially roll up loops
Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib/crypto: x86/sha512: Partially roll up sha512_transform_avx()lib/ | +67 | 1 reply | |
| 2/2 | lib/crypto: x86/sha512: Partially roll up sha512_transform_ssse3()lib/ | +68 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ard Biesheuvel |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] lib/crypto: x86/sha512: Partially roll up loops
Some freshly baked loop rolls in the SSSE3 and AVX optimized SHA-512 code.
In each file, SHA-512 rounds 14 through 77 are rolled up into 8 groups of 8 rounds. This saves 20.2 KB of text. It's also likely to increase performance on the CPUs that actually run this code (i.e., CPUs without AVX2), due to the improved use of the cache, though the oldest I was able to confirm that on is Haswell which has AVX2 anyway.
Eric Biggers (2):
lib/crypto: x86/sha512: Partially roll up sha512_transform_avx() lib/crypto: x86/sha512: Partially roll up sha512_transform_ssse3()
lib/crypto/x86/sha512-avx-asm.S | 124 +++++++++++++++-------------- lib/crypto/x86/sha512-ssse3-asm.S | 126 ++++++++++++++++-------------- 2 files changed, 135 insertions(+), 115 deletions(-)
base-commit: 33b4f31b1aea3f62b61c892daefc0e6a77859032
Signature · 1 line
2.56.1