Optimize hardware CRC32C using multiple lanes

This commit is contained in:
Andrea Mazzoleni 2026-09-10 00:28:24 +02:00
parent 787fc020e6
commit 9014b1d5bb
7 changed files with 396 additions and 136 deletions

View file

@ -20,7 +20,6 @@ void test(int advise_mode)
uint32_t u32 = -1L;
uint64_t u64 = -1LL;
uint32_t put_crc_stored;
uint32_t put_crc_computed;
crc32c_init();
@ -79,13 +78,6 @@ void test(int advise_mode)
}
put_crc_stored = scrc(s);
put_crc_computed = scrc_stream(s);
if (put_crc_stored != put_crc_computed) {
/* LCOV_EXCL_START */
exit(EXIT_FAILURE);
/* LCOV_EXCL_STOP */
}
if (sputble32(put_crc_stored, s) != 0) {
/* LCOV_EXCL_START */