mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Support avx512f + vpclmulqdq crc32() acceleration
Cosmo's _Cz_crc32() function now goes 73 GiB/s on Threadripper. This will significantly improve the performance of the PKZIP file format. This algorithm is also used by apelink, to create deterministic ids.
This commit is contained in:
parent
7c8df05042
commit
a05ce3ad9d
8 changed files with 385 additions and 8 deletions
3
third_party/zlib/crc32_simd_neon.c
vendored
Normal file
3
third_party/zlib/crc32_simd_neon.c
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#ifdef BUILD_NEON
|
||||
#include "third_party/zlib/crc32_simd.inc"
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue