From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=gStIMhj49Sm9/+Lr1x8b2HK2RbyRBhk86+RaJAd4vmk=; b=CQV2m/pr03kyN/bCB23+NiriOOcRhCy0ILfy3rmAsDbrfOpLbzttH3M1ocXWbg3Gz0 peOSNSXPVcExbpAO/lRBL42DtSsOYVxyRAgLrFlnk7mjQ8YSkE4s2dmDuNt7A89e33bL fZ5ajDfeUt0mK6KRR4sDZd4DCMS2VQoFjK1l8+ez1ntxJceY/AVkt56fQUHIqLRnI7M+ +JbV4LoDjyycQjbz0KkxrU79xtGPeuVs6YDCASec/78XC3LiW6rjrpGsXnL8Y7CKu2LR 3a3QeDVqvvYg0w87F34hvRIy+ZdTvdkg8ePfCS+8tXeWsiI4sRP0h3kLoBAOoVgCdI+O 876A== X-Gm-Message-State: ALoCoQlYGMmLxB7D9cjakNECE+82ehnQpCb3Bqu4hnOL6GDUAG3mX/pr/DBx+2sC/odbeyRk4fY1 X-Received: by 10.180.98.134 with SMTP id ei6mr5740214wib.49.1437058573612; Thu, 16 Jul 2015 07:56:13 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.151.210]) by smtp.gmail.com with ESMTPSA id c7sm13508732wjb.19.2015.07.16.07.56.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2015 07:56:12 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Date: Thu, 16 Jul 2015 16:55:01 +0200 Message-ID: <2222049.T5vuaFHBCv@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1437037254-26348-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1437037254-26348-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] hash: fix library compilation for CPU with no SSE4.1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2015 14:56:14 -0000 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