mbox series

[v2,0/4] crypto: x86/sha256-ni - cleanup and optimization

Message ID 20240411162359.39073-1-ebiggers@kernel.org (mailing list archive)
Headers show
Series crypto: x86/sha256-ni - cleanup and optimization | expand

Message

Eric Biggers April 11, 2024, 4:23 p.m. UTC
This patchset reduces the amount of source code duplication in
sha256_ni_asm.S and also reduces the binary code size slightly.

Changed in v2:
   - Take advantage of .irp in patch 1
   - Added two additional cleanup patches

Eric Biggers (4):
  crypto: x86/sha256-ni - convert to use rounds macros
  crypto: x86/sha256-ni - rename some register aliases
  crypto: x86/sha256-ni - optimize code size
  crypto: x86/sha256-ni - simplify do_4rounds

 arch/x86/crypto/sha256_ni_asm.S | 253 +++++++-------------------------
 1 file changed, 49 insertions(+), 204 deletions(-)


base-commit: 20cb38a7af88dc40095da7c2c9094da3873fea23

Comments

Herbert Xu April 19, 2024, 11 a.m. UTC | #1
Eric Biggers <ebiggers@kernel.org> wrote:
> This patchset reduces the amount of source code duplication in
> sha256_ni_asm.S and also reduces the binary code size slightly.
> 
> Changed in v2:
>   - Take advantage of .irp in patch 1
>   - Added two additional cleanup patches
> 
> Eric Biggers (4):
>  crypto: x86/sha256-ni - convert to use rounds macros
>  crypto: x86/sha256-ni - rename some register aliases
>  crypto: x86/sha256-ni - optimize code size
>  crypto: x86/sha256-ni - simplify do_4rounds
> 
> arch/x86/crypto/sha256_ni_asm.S | 253 +++++++-------------------------
> 1 file changed, 49 insertions(+), 204 deletions(-)
> 
> 
> base-commit: 20cb38a7af88dc40095da7c2c9094da3873fea23

All applied.  Thanks.