[dpdk-dev] [PATCH] eal/x86: use cpuid builtin

Thomas Monjalon thomas at monjalon.net
Wed Oct 11 22:00:59 CEST 2017


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 <sergio.gonzalez.monroy at intel.com>
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied, thanks



More information about the dev mailing list