From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 4A9D82BA1 for ; Wed, 30 Mar 2016 16:08:34 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id 191so91322767wmq.0 for ; Wed, 30 Mar 2016 07:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=QAQ+/HJCMjd0+V9cSf9anr6mG5DGo6vMESCorFurvss=; b=NPFLpZAFwq9UAwp8X9QT3ZdKgX7I42G+rpQN80jzMTOOnqxGVEPdFjbWuzbfhxPxKT VUdyBXEO1V8TgVAeZyrWNuFD8HwcwKrRc/Nc4BELRm1/oLnS8wmSoogJEI/34mROMmRK Ie3bhGaIEzI1zr33v1qLegjchNNmMSrMybBE6I1xQLff3TEE2YOpwB0PJ9Q71TCkqPkT 16Emy/T2PSz0qW/zYHjHgxNJFgQoTtCgALRiPR+dXU0oHpi0x93E1oe8F5cakuCVaCR8 9mqjz3g4EvLoPOdcLCe+KNrdSdLcuKnYG4YucrG5yjplqfFWIp/Sg9TmOmBOvm3YGZBF Nk7Q== 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; bh=QAQ+/HJCMjd0+V9cSf9anr6mG5DGo6vMESCorFurvss=; b=J6PErblG5LA3rwwG/NWi180iQp7Fr6ddcM7zLKroJbognf67BstapNlDxbeAflAeax 1MjAjSa47nS0/VP++G0QxxZjCwi5X906jVssvH78wu54Q3V7v4PdcRqksWEqQJJInKX7 VqxrHHVeGUcGZD7N0djR6JZoV7c4W7hG7Yjq+iRFWxNjGohvGRdQl5gfM1hPPEM1HWfQ FYqIRAbSdan2uMze1Bs6M5u4NfSTG3LxJiRDtZYW2HRSH/Q1vFEkg+OM2hWm35o0tLJa NL00aCCF95RV7yg9Viggz/7haptmUiXZFEFUxx8zxWPzPPZvk0ugRHBII5i0dt3zrwGD 0UYA== X-Gm-Message-State: AD7BkJKdDJtKyxcbqTotnOuR2F5KeQCoxE0ysqRAnPgz9XarOeeUkwz/v2EX9pwxVpELc/N+ X-Received: by 10.28.175.201 with SMTP id y192mr21579568wme.54.1459346914148; Wed, 30 Mar 2016 07:08:34 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id gg7sm4168623wjd.10.2016.03.30.07.08.33 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2016 07:08:33 -0700 (PDT) From: Thomas Monjalon To: "Dumitrescu, Cristian" Cc: dev@dpdk.org, "Singh, Jasvinder" , "Zhang, Roy Fan" , "Hunt, David" Date: Wed, 30 Mar 2016 16:06:40 +0200 Message-ID: <1519299.Ljb19TASP1@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891264797454E@IRSMSX108.ger.corp.intel.com> References: <1455605170-16137-1-git-send-email-thomas.monjalon@6wind.com> <1455605170-16137-3-git-send-email-thomas.monjalon@6wind.com> <3EB4FA525960D640B5BDFFD6A3D891264797454E@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 2/4] examples/ip_pipeline: fix build for x86_64 without SSE4.2 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: Wed, 30 Mar 2016 14:08:34 -0000 2016-03-30 13:57, Dumitrescu, Cristian: > I think the correct fix is: > #if defined(__x86_64__) && (defined(RTE_MACHINE_CPUFLAG_SSE4_2) || defined(RTE_MACHINE_CPUFLAG_CRC32)) > > We'll test it and send a patch asap. I had prepared this patch. Please be inspired: examples/ip_pipeline: fix SSE4.2 optimization branch The branch was disabled because of a typo in the SSE4.2 flag. Change also the x86_64 flag to use a DPDK one. Fixes: 28377375c6c0 ("examples/ip_pipeline: fix build for x86_64 without SSE4.2") -#if defined(__x86_64__) && defined(RTE_CPUFLAG_SSE4_2) +#if defined(RTE_ARCH_X86_64) && defined(RTE_MACHINE_CPUFLAG_SSE4_2)