Commit Graph

4 Commits

Author SHA1 Message Date
iabdalkader
75a2a7a2d5 ports/alif: Use direct CRC calculation for unaligned bytes
Replace lookup table with bit-by-bit polynomial calculation for
the remaining 1-3 bytes. Direct calculation is faster than table
lookup for such small amounts due to avoiding cache misses and
memory indirection overhead that dominates when processing only
1-3 bytes.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-09-26 19:46:48 +02:00
iabdalkader
5d659dccec ports/alif: Fix and enable Alif HW CRC32.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-09-26 10:26:45 +02:00
iabdalkader
9704ed8c62 ports/alif: Add support for CRC32.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-09-25 18:05:57 +02:00
iabdalkader
1dd9b33acc ports/alif: Implement hardware accelerated CRC.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-09-11 22:08:58 +02:00