From: Eric Biggers <ebiggers@kernel.org>
To: linux-kernel@vger.kernel.org
Cc: linux-crypto@vger.kernel.org, x86@kernel.org,
Ard Biesheuvel <ardb@kernel.org>,
Eric Biggers <ebiggers@kernel.org>
Subject: [PATCH 0/2] Improve crc32c() performance on newer x86_64 CPUs
Date: Sat, 19 Jul 2025 15:49:36 -0700 [thread overview]
Message-ID: <20250719224938.126512-1-ebiggers@kernel.org> (raw)
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
next reply other threads:[~2025-07-19 22:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-19 22:49 Eric Biggers [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250719224938.126512-1-ebiggers@kernel.org \
--to=ebiggers@kernel.org \
--cc=ardb@kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®