[dpdk-dev] [PATCH v2] hash: fix library compilation for CPU with no SSE4.1
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Jul 16 16:55:01 CEST 2015
2015-07-16 10:00, Pablo de Lara:
> From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch at intel.com>
>
> _mm_test_all_zeros is not available for CPUs with no SSE4.1,
> therefore, DPDK would not build.
> This patch adds an alternative for this, using _mm_cmpeq_epi32 and
> _mm_movemask_epi8.
>
> Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation")
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
Applied, thanks
More information about the dev
mailing list