Re: [PATCH 0/3] crypto: x86/crc32c - jump table elimination and other cleanups

From: Herbert Xu
Date: Sat Oct 26 2024 - 02:53:26 EST


Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
> This series cleans up the x86_64 assembly implementation of CRC32C to
> reduce code size, improve performance, and eliminate the use of the
> outdated and problematic jump table idiom.
>
> Eric Biggers (3):
> crypto: x86/crc32c - simplify code for handling fewer than 200 bytes
> crypto: x86/crc32c - access 32-bit arguments as 32-bit
> crypto: x86/crc32c - eliminate jump table and excessive unrolling
>
> arch/x86/crypto/crc32c-intel_glue.c | 2 +-
> arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 354 ++++++++--------------
> 2 files changed, 126 insertions(+), 230 deletions(-)
>
>
> base-commit: cfea70e835b9180029257d8b772c9e99c3305a9a

All applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt