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.mon...@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com>