2 Commits

Author SHA1 Message Date
cc18d535a5 crc32: add notw macro
instead of materializing a constant 0xffffffff, do a NOT and then
zero-extend the result. my qemu doesn't support the zext.w instruction,
so we have to do two shifts instead. these can potentially be fused
into a single instruction by the processor.
2024-08-23 23:14:51 -07:00
6d1413c754 crc32 2024-08-23 23:14:11 -07:00