From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id DA7442B9A for ; Thu, 5 Oct 2017 01:39:27 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Oct 2017 16:39:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,479,1500966000"; d="scan'208";a="906854033" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.241.225.26]) ([10.241.225.26]) by FMSMGA003.fm.intel.com with ESMTP; 04 Oct 2017 16:39:25 -0700 To: Sergio Gonzalez Monroy , dev@dpdk.org Cc: konstantin.ananyev@intel.com, bruce.richardson@intel.com References: <20170823150027.70565-1-sergio.gonzalez.monroy@intel.com> <20170823150027.70565-2-sergio.gonzalez.monroy@intel.com> From: Ferruh Yigit Message-ID: <4098bb3f-3d0a-29ea-2d48-f58172db3683@intel.com> Date: Thu, 5 Oct 2017 00:39:24 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170823150027.70565-2-sergio.gonzalez.monroy@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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, 04 Oct 2017 23:39:28 -0000 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