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 D552C1B1BD for ; Wed, 11 Oct 2017 22:01:01 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4CE5620BA5; Wed, 11 Oct 2017 16:01:01 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 11 Oct 2017 16:01:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=r53u/1yRTY1+uKrwffKekH47+0 6OHivRR81uzxIFfNY=; b=JKNbtywvwfCOaG0DWUFKfEcl510ScApfZeLqv/r5Rx C4+1JdhgV9aDTAv+Ba+6yJ4nYlLuxETykoe/3SmyEuSIExvCIBDnjVqMPCkQN6v6 GdLwPHpAM5DvZhMIN7xQMbUsQBl8QHKA4PQtePwRZ8kJxftKtXSHZ7GyvUAgqYKZ 4= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=r53u/1 yRTY1+uKrwffKekH47+06OHivRR81uzxIFfNY=; b=FTg7ZfGmVL+JarJuA/E1IG sqE+A6bJ4+kTDDgHLRk4P6n4ehVCJwI8yMROxSZcPABMr7BDZNKEploFsU1/fJUo KNlyPjf7h4hrj/UwHpCAro6LNJtixuGJPChHVRTl0PSKg0D/9Ygzue3jUSMq4w3U aonaqn0K85y71314OJLSMvCtRFlNIVwWe/FvE4vK3QUTH3Zl6bwAihhN2V0uO40H LAUDLttItKWsa0sx0SdnHXeV2FGNykI1v9op08KZXdAV7+RI7HRwDSVf9N4D7c// 5G2+rUSDFrV7ssc02+S8IohesccTVqYPXmkVKNOe8tRbMisiSRmxr6Xn5zwz73Ng == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id EB2D77F91F; Wed, 11 Oct 2017 16:01:00 -0400 (EDT) From: Thomas Monjalon To: Sergio Gonzalez Monroy Cc: dev@dpdk.org, Ferruh Yigit , konstantin.ananyev@intel.com, bruce.richardson@intel.com Date: Wed, 11 Oct 2017 22:00:59 +0200 Message-ID: <2379766.ojQjXhX65c@xps> In-Reply-To: <4098bb3f-3d0a-29ea-2d48-f58172db3683@intel.com> References: <20170823150027.70565-1-sergio.gonzalez.monroy@intel.com> <20170823150027.70565-2-sergio.gonzalez.monroy@intel.com> <4098bb3f-3d0a-29ea-2d48-f58172db3683@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal/x86: use cpuid builtin 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: Wed, 11 Oct 2017 20:01:02 -0000 05/10/2017 01:39, Ferruh Yigit: > On 8/23/2017 4:00 PM, Sergio Gonzalez Monroy wrote: > > GCC does have the __get_cpuid_count builtin which checks for maximum > > supported leaf, but implementations differ between CLANG and GCC. > > > > This change provides an implementation compatible with both GCC and > > CLANG 3.4+. > > > > Signed-off-by: Sergio Gonzalez Monroy > > Reviewed-by: Ferruh Yigit Applied, thanks