From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2746AA04DB; Sat, 17 Oct 2020 12:32:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA443AC63; Sat, 17 Oct 2020 12:32:12 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by dpdk.org (Postfix) with ESMTP id D2FBBAC4C for ; Sat, 17 Oct 2020 12:32:10 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 6A53FC10; Sat, 17 Oct 2020 06:32:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 17 Oct 2020 06:32:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= Id5l6bB3MRMuRD4/jlr6KGtzOheAkLCJjsQd/NbqLeA=; b=C0SjbRK+Vhq9UYoz D3sBtVnONvzrcPy7f5paohkcwbi58+IE7cFqdtYhp3GgYeuhF5S7GyotEotXWAkU i4HYr2AiZ2Cr43iUdrq2VzirJAR5LoR+6jbONyXCxoDqLwRH+qh0mQBoy48IiXhw GvF1VGK2ANVrWDcQASGeOeCH0eVWAmsRfY7slqUHjmETyMMLsfy+b8/UtF8VKDbi OeXSWFKDHBVgoettD63mxCJzF1ObTeLNTUJpJYwHtIxH6CcJZQteVQuIdOjXeGJ7 ch/JlZ3Xy1vqtxmQmXVZmD3uz2hyNNGBC3SeFh5KCxzrn7ZCZOPjScBipH0/Vkho R9w/qg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Id5l6bB3MRMuRD4/jlr6KGtzOheAkLCJjsQd/NbqL eA=; b=mfS1s35yPs/8lnctgU1M00VJPCC8QJdMxAX2zXULa2Z5FTPC87p2rmVhN hHvz9c8thkEz3lbewvcer223/ORsReg39QqergNsQfKmst0WguYZXlDNHJHcab/A UkyfOy1g4TTZs/vae05N/4Yxu7cBWJPzl6x/9Y7u1QwE/HheyEI0g0/Vit8zab7x DofN5iUi6SkmZr/5D10NaDx/F2Begz5Tc62G5+Ci11TKtoHlnk7x2KPLhX5+6iIj 7MjjlEQp9V9L03WCTZDPSuwb9lw3edsApbyFrppnMcUHOR/BihRHObZ7AlAcsch4 ARt+xll7GZVZHbT8492sjeg6fM+2g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrieejgdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id BBD143064674; Sat, 17 Oct 2020 06:32:06 -0400 (EDT) From: Thomas Monjalon To: "Richardson, Bruce" Cc: "dev@dpdk.org" , "Ananyev, Konstantin" , "Tu, Lijuan" , "Han, YingyaX" Date: Sat, 17 Oct 2020 12:32:05 +0200 Message-ID: <43323638.tEsgfM6REM@thomas> In-Reply-To: References: <20201012145148.290451-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] build: fix memcpy behaviour regression X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > From: Richardson, Bruce > > When testing on some x86 platforms, code compiled with meson was observed running at a different power-license level to that compiled with make. This is due to the fact that meson auto-detects the instruction sets available on the system and enabled AVX512 rte_memcpy when AVX512 was available, while on make, a build time AVX-512 flag needed to be explicitly set to enable that AVX512 rte_memcpy code path. > > In the absense of runtime path selection for rte_memcpy - which is complicated by it being a static inline function in a header file - we can fix this behaviour regression by similarly having a build-time option which must be set to enable the AVX-512 memcpy path. > > Tested-by: Han, Yingya Applied, thanks