[dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path

David Marchand david.marchand at redhat.com
Mon Oct 26 09:09:31 CET 2020


On Mon, Oct 26, 2020 at 8:13 AM Rong, Leyi <leyi.rong at 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



More information about the dev mailing list