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

2017-10-11 Thread Thomas Monjalon
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 G

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

2017-10-04 Thread 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: S

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

2017-08-23 Thread Sergio Gonzalez Monroy
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 --- lib/librte_eal/common/arch/x86/rte_cpu