[dpdk-dev] [PATCH v2] hash: fix library compilation for CPU with no SSE4.1

2015-07-16 Thread Thomas Monjalon
2015-07-16 10:00, Pablo de Lara: > From: "De Lara Guarch, Pablo" > > _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 w

[dpdk-dev] [PATCH v2] hash: fix library compilation for CPU with no SSE4.1

2015-07-16 Thread Pablo de Lara
From: "De Lara Guarch, Pablo" _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: