From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] hash: fix library compilation for CPU with no SSE4.1 Date: Thu, 16 Jul 2015 16:55:01 +0200 Message-ID: <2222049.T5vuaFHBCv@xps13> References: <1437037254-26348-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Pablo de Lara Return-path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id D0883CF9 for ; Thu, 16 Jul 2015 16:56:13 +0200 (CEST) Received: by wicmv11 with SMTP id mv11so18707922wic.1 for ; Thu, 16 Jul 2015 07:56:13 -0700 (PDT) In-Reply-To: <1437037254-26348-1-git-send-email-pablo.de.lara.guarch@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 with cuckoo hash implementation") > > Signed-off-by: Pablo de Lara Applied, thanks