From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id A20B1375B for ; Thu, 20 Dec 2018 23:37:22 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 286C322063; Thu, 20 Dec 2018 17:37:22 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 20 Dec 2018 17:37:22 -0500 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=mesmtp; bh=X5R5Wz6anO/Vd7FWOhSF+RnTylK5S/3ylYARPOKRn8c=; b=Ipo2sa42+9Q6 knjr9jIqwq/q0yhkIZWju+Mi6JXjywbs6wNwHblwweq095Jc8bGLm7hfvgQQ/pNZ vwsnOLITCvITAgeeB88IGdFoa7h/EQeCRPxzrJiiHgb+TsW8O/QdMl7W2Dk0z7HY DMaFWaKbDe9DxoMYnUvdYW2NIij+cAk= 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=X5R5Wz6anO/Vd7FWOhSF+RnTylK5S/3ylYARPOKRn 8c=; b=p19CAtmGk1pcqGjohKq8vbapIEw1Wr61e7qE6y9IGBpCnYwjHhpAWUTmP QJBkDswUiltmHjIYmFt2soLDwzsPJhtc0xq5AR3QTOCI+GAt7NVYrQgUeCa/CY14 auReXpBvZHPIpcFPGpkBJ4Z42GQoWh+F7F0NShIwSvjMBWwOw/xbDOnpNvITXPCt PcOTnkLJClIGgV/RgFgMjI+OTJbqnCtfrt2l20g5W9wSQlhJTxtVbEATPJ4fcGOK 84NLcXzZY2DUQn7KuyUJKT0ptTyMfNviwEFt72F9tP4b7xcHV32r1eHj0uhde94p XARWZG2lGXkjH3LiJbyh6h3eBb/Jg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudejfedgudeifecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecu fedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkf gjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhn uceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvd dtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 86CACE446A; Thu, 20 Dec 2018 17:37:20 -0500 (EST) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , jerin.jacob@caviumnetworks.com Date: Thu, 20 Dec 2018 23:37:17 +0100 Message-ID: <1720092.V4xUYOT8tb@xps> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 4/4] common: add 64-bit log2 function 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: , X-List-Received-Date: Thu, 20 Dec 2018 22:37:22 -0000 20/12/2018 13:09, Anatoly Burakov: > --- a/app/test-pmd/testpmd.c > +++ b/app/test-pmd/testpmd.c> > -static inline uint32_t > -bsf64(uint64_t v) > -{ > - return (uint32_t)__builtin_ctzll(v); > -} > - [...] > --- a/lib/librte_eal/linuxapp/eal/eal_memalloc.c > +++ b/lib/librte_eal/linuxapp/eal/eal_memalloc.c > -static inline uint32_t > -bsf64(uint64_t v) > -{ > - return (uint32_t)__builtin_ctzll(v); > -} > - bsf64 code should have been removed in patch 2