From: Sergio Gonzalez Monroy Subject: Re: [PATCH 1/2] eal/x86: use cpuid builtin Date: Thu, 24 Aug 2017 09:21:58 +0100 Message-ID: <6ed25652-da53-139f-37b1-12079f51c95e@intel.com> References: <20170823124241.17552-1-sergio.gonzalez.monroy@intel.com> <6484062.ssFnLodFTS@xps> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, konstantin.ananyev@intel.com, bruce.richardson@intel.com To: Thomas Monjalon Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 646B67D3A for ; Thu, 24 Aug 2017 10:22:01 +0200 (CEST) In-Reply-To: <6484062.ssFnLodFTS@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 23/08/2017 21:49, Thomas Monjalon wrote: > Please could you explain why the asm code was used? I guess we were not aware that there was a builtin for it. > Are you sure this builtin is implemented everywhere? > Actually the builtin used in this patch is not supported in most CLANG version (just recently merged upstream), so I have reworked the patch to use builtin supported in both GCC and CLANG 3.4+. Thanks, Sergio