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

Ferruh Yigit ferruh.yigit at intel.com
Thu Oct 5 01:39:24 CEST 2017


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>


More information about the dev mailing list