Commit Graph

9 Commits

Author SHA1 Message Date
JosJuice
a9b6c4868b Expand Fletcher-16 NMAX
The limit when calculating the value of NMAX is 2^16-1 only when sum1
and sum2 are represented as 16-bit. We're representing them as 32-bit.

This will be helpful for SIMD implementations of Fletcher-16, because
the old limit of 22 bytes would have meant that we could only process
16 bytes at a time before having to compute modulo.
2023-09-24 18:46:45 +01:00
1905cb0d43 Refactor and reformat. 2023-09-23 18:55:52 +01:00
3358d66f0a Implement Fletcher-32 using AVX2 instructions. 2023-09-23 03:12:46 +01:00
ccf605367d Implement Fletcher-32 using SSSE3 instructions. 2023-09-23 02:51:57 +01:00
6bfd6c7c83 Implement Fletcher-32 using ARM NEON instructions. 2023-09-23 02:44:19 +01:00
7e9f26e2df Update copyright year. 2022-12-01 23:06:20 +00:00
bf1b026a7e Use multiple sum algorithm from zlib for Adler and Fletcher checksums. 2021-09-22 23:49:32 +01:00
4002cca010 Reformat. 2021-09-22 01:27:28 +01:00
3431e43f1e Add Fletcher-32. 2021-09-22 00:01:36 +01:00