On Mon, Oct 26, 2020 at 8:13 AM Rong, Leyi <leyi.r...@intel.com> wrote:
> Would prefer using __AVX512F__ instead of RTE_MACHINE_CPUFLAG_AVX512F here 
> rather than remove the RTE_MACHINE_CPUFLAG_ macro directly to check the CPU 
> capability.
> So the judgment statement will be
> if cc.get_define('__AVX512F__', args: machine_args) != '' or (not 
> machine_args.contains('-mno-avx512f') and cc.has_argument('-mavx512f'))
>
> what do you think?

No opinion as I have yet to understand the subtleties to control
enablement of avx stuff.
Bruce?


-- 
David Marchand

Reply via email to