mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Improve crc32c() performance on newer x86_64 CPUs
@ 2025-07-19 22:49 Eric Biggers
  2025-07-19 22:49 ` [PATCH 1/2] lib/crc: x86: Reorganize crc-pclmul static_call initialization Eric Biggers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Biggers @ 2025-07-19 22:49 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-crypto, x86, Ard Biesheuvel, Eric Biggers

This series improves crc32c() performance on lengths >= 512 bytes on
newer x86_64 CPUs by enabling the VPCLMULQDQ (vector carryless
multiplication) optimized CRC code.

This series targets crc-next.

Eric Biggers (2):
  lib/crc: x86: Reorganize crc-pclmul static_call initialization
  lib/crc: x86/crc32c: Enable VPCLMULQDQ optimization where beneficial

 lib/crc/x86/crc-pclmul-consts.h   | 47 +++++++++++++++++++++++++++++-
 lib/crc/x86/crc-pclmul-template.h | 31 +++++++++-----------
 lib/crc/x86/crc-t10dif.h          |  9 +++++-
 lib/crc/x86/crc32.h               | 48 +++++++++++++++++++++++++++++--
 lib/crc/x86/crc64.h               | 15 ++++++++--
 5 files changed, 127 insertions(+), 23 deletions(-)


base-commit: 9b0236f4efb889869f7d4f3f084f508cc0433ec9
-- 
2.50.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-21  3:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-19 22:49 [PATCH 0/2] Improve crc32c() performance on newer x86_64 CPUs Eric Biggers
2025-07-19 22:49 ` [PATCH 1/2] lib/crc: x86: Reorganize crc-pclmul static_call initialization Eric Biggers
2025-07-19 22:49 ` [PATCH 2/2] lib/crc: x86/crc32c: Enable VPCLMULQDQ optimization where beneficial Eric Biggers
2025-07-21  3:34 ` [PATCH 0/2] Improve crc32c() performance on newer x86_64 CPUs Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®