]> Savannah Git Hosting - gnulib.git/commit
crc: Add PCLMUL implementation
authorSam Russell <sam.h.russell@gmail.com>
Tue, 17 Dec 2024 07:49:50 +0000 (08:49 +0100)
committerSimon Josefsson <simon@josefsson.org>
Tue, 17 Dec 2024 07:52:24 +0000 (08:52 +0100)
commit082ff20b949863722488a015c64afbf55d9f228a
tree713df6d8454512a72e64b0cf544025c4837c2c8f
parent39d328338895f4fd219eb7dcf2cc652daf4e1fdd
crc: Add PCLMUL implementation

* lib/crc-x86_64-pclmul.c: Implement CRC32 with PCLMUL intrinsics.
* lib/crc-x86_64.h: Add header for CRC32 with PCLMUL instrinsics.
* lib/crc.c: Use PCLMUL implementation if available.
* m4/crc-x86_64.m4: Detect PCLMUL and build accordingly.
* modules/crc-x86_64: New module for crc-x86_64.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
ChangeLog
lib/crc-x86_64-pclmul.c [new file with mode: 0644]
lib/crc-x86_64.h [new file with mode: 0644]
lib/crc.c
m4/crc-x86_64.m4 [new file with mode: 0644]
modules/crc-x86_64 [new file with mode: 0644]