| f80ae1aa | 13-May-2022 |
Pavan Nikhilesh <[email protected]> |
hash: unify CRC32 selection for x86 and Arm
Merge CRC32 hash calculation public API implementation for x86 and Arm. Select the best available CRC32 algorithm when unsupported algorithm on a given CP
hash: unify CRC32 selection for x86 and Arm
Merge CRC32 hash calculation public API implementation for x86 and Arm. Select the best available CRC32 algorithm when unsupported algorithm on a given CPU architecture is requested by an application.
Previously, if an application directly includes `rte_crc_arm64.h` without including `rte_hash_crc.h` it will fail to compile.
Signed-off-by: Pavan Nikhilesh <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]>
show more ...
|
| fba335b4 | 16-Nov-2021 |
Vladimir Medvedkin <[email protected]> |
hash: fix Toeplitz hash implementation
This patch fixes various issues: - replace _mm512_set_epi8 with _mm512_set_epi32 due to the lack of support by some compilers (at least, gcc 8), - check if A
hash: fix Toeplitz hash implementation
This patch fixes various issues: - replace _mm512_set_epi8 with _mm512_set_epi32 due to the lack of support by some compilers (at least, gcc 8), - check if AVX512F is supported along with GFNI, this is done if the code is built on a platform that supports GFNI, but does not support AVX512, - fix compilation problems on 32bit arch due to lack of support for _mm_extract_epi64() by implementing XOR folding with _mm_extract_epi32() on 32-bit arch,
Fixes: 4fd8c4cb0de1 ("hash: add new Toeplitz hash implementation")
Signed-off-by: Vladimir Medvedkin <[email protected]> Acked-by: Lance Richardson <[email protected]> Acked-by: Kai Ji <[email protected]>
show more ...
|