[PATCH 0/3] crypto: x86/crc32c - jump table elimination and other cleanups
From: Eric Biggers
Date: Mon Oct 14 2024 - 00:25:44 EST
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
--
2.47.0