aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/check/crc64_fast.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2024-01-11 14:39:46 +0200
committerLasse Collin <lasse.collin@tukaani.org>2024-01-11 14:39:46 +0200
commit35c03ec6bf66f1b159964c9721a2dce0e2859b20 (patch)
treeff6f31b68a54170ea2af5166d0e4fe5dbadfecf4 /src/liblzma/check/crc64_fast.c
parentliblzma: Rename arch-specific CRC functions and macros. (diff)
downloadxz-35c03ec6bf66f1b159964c9721a2dce0e2859b20.tar.xz
liblzma: CRC: Update CLMUL comments to more generic wording.
Diffstat (limited to 'src/liblzma/check/crc64_fast.c')
-rw-r--r--src/liblzma/check/crc64_fast.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/liblzma/check/crc64_fast.c b/src/liblzma/check/crc64_fast.c
index 4edca1a2..eb1a4ae4 100644
--- a/src/liblzma/check/crc64_fast.c
+++ b/src/liblzma/check/crc64_fast.c
@@ -88,8 +88,8 @@ crc64_generic(const uint8_t *buf, size_t size, uint64_t crc)
// Function dispatching //
//////////////////////////
-// If both the generic and CLMUL implementations are usable, then the
-// function that is used is selected at runtime. See crc32_fast.c.
+// If both the generic and arch-optimized implementations are usable, then
+// the function that is used is selected at runtime. See crc32_fast.c.
typedef uint64_t (*crc64_func_type)(
const uint8_t *buf, size_t size, uint64_t crc);
@@ -160,9 +160,9 @@ lzma_crc64(const uint8_t *buf, size_t size, uint64_t crc)
return crc64_func(buf, size, crc);
#elif defined(CRC_ARCH_OPTIMIZED)
- // If CLMUL is used unconditionally without runtime CPU detection
- // then omitting the generic version and its 8 KiB lookup table
- // makes the library smaller.
+ // If arch-optimized version is used unconditionally without runtime
+ // CPU detection then omitting the generic version and its 8 KiB
+ // lookup table makes the library smaller.
//
// FIXME: Lookup table isn't currently omitted on 32-bit x86,
// see crc64_table.c.