]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Fix a bug on the 32k and greater chorba specializations
authorAdam Stylinski <kungfujesus06@gmail.com>
Tue, 25 Mar 2025 21:58:19 +0000 (17:58 -0400)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 28 Mar 2025 14:29:11 +0000 (15:29 +0100)
commit18b933b88ae3ed470321b2435ddfef0ca117c509
tree24b4ce6113d35a9fb5aee1e295d6ee67c6db42b4
parent64d16e10bc08f94453e31c77ba658efa997c651a
Fix a bug on the 32k and greater chorba specializations

In testing a SIMD vectorization for this, I wrote a gtest which stumbled
onto the fact that this had a bug on big endian. Before the initial CRC
had been mixed in it needed to be byte swapped.
arch/generic/crc32_chorba_c.c
test/test_crc32.cc