numam-dpdk/config
Liang Ma ba57777d7d build: check for broken AVX512 compiler support
GCC 6.3.0 has a known bug which related to _mm512_extracti64x4_epi64.
Please reference https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82887

Some DPDK PMD AVX512 version heavily use _mm512_extracti64x4_epi6,
which cause building failure with debug buildtype.

Therefore, it's helpful to check if compiler work with
_mm512_extracti64x4_epi6.

This patch check the compiler compile result against the test code
snippet. If the checking is failed then disable AVX512.

Bugzilla ID: 717
Fixes: e6a6a13891 ("net/i40e: add AVX512 vector path")
Fixes: 808a17b3c1 ("net/ice: add Rx AVX512 offload path")
Fixes: 4b64ccb328 ("net/iavf: fix VLAN extraction in AVX512 path")
Cc: stable@dpdk.org

Reported-by: Liang Ma <liangma@liangbit.com>
Signed-off-by: Liang Ma <liangma@bytedance.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2021-07-22 20:04:24 +02:00
..
arm config/arm: fix SVE build with GCC 8.3 2021-07-09 22:25:24 +02:00
ppc build: use platform for generic and native builds 2021-07-09 14:50:54 +02:00
x86 build: check for broken AVX512 compiler support 2021-07-22 20:04:24 +02:00
meson.build build: support drivers symlink on Windows 2021-07-09 17:22:42 +02:00
rte_config.h event/dlb2: update config defines as runtime options 2021-05-03 11:46:31 +02:00