[PATCH v3] hash: fix thash gfni implementation
David Marchand
david.marchand at redhat.com
Wed Nov 17 10:20:18 CET 2021
On Tue, Nov 16, 2021 at 3:33 PM Vladimir Medvedkin
<vladimir.medvedkin at intel.com> wrote:
>
> 1. This patch replaces _mm512_set_epi8 with _mm512_set_epi32
> due to the lack of support by some compilers.
> 2. This patch checks 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.
> 3. Also this patch fixes 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 <vladimir.medvedkin at intel.com>
> Acked-by: Lance Richardson <lance.richardson at broadcom.com>
> Acked-by: Ji Kai <kai.ji at intel.com>
Afaics in git history, that's "Kai Ji".
I updated indentation and applied, thanks.
--
David Marchand
More information about the dev
mailing list