Skip to content

Commit

Permalink
MDEV-33817: AVX512BW and VPCLMULQDQ based CRC-32
Browse files Browse the repository at this point in the history
This is based on https://github.com/intel/intel-ipsec-mb/
and has been tested both on x86 and x86-64, with code that
was generated by several versions of GCC and clang.
GCC 11 or clang 8 or later should be able to compile this,
and so should recent versions of MSVC.

Thanks to Intel Corporation for providing access to hardware
and for answering my questions regarding the code.

crc32_avx512(): Compute a reverse polynomial CRC-32 using
precomputed tables and carry-less product, for up to 256 bytes
of unaligned input per loop iteration.
  • Loading branch information
dr-m committed Apr 30, 2024
1 parent 1b68ef8 commit f19b0a6
Showing 1 changed file with 371 additions and 0 deletions.

0 comments on commit f19b0a6

Please sign in to comment.