[dpdk-dev] [dpdk-stable] [PATCH v4] build: check for broken AVX-512 compiler support

Thomas Monjalon thomas at monjalon.net
Thu Jul 22 19:58:39 CEST 2021


20/07/2021 15:36, Liang Ma:
> From: Liang Ma <liangma at bytedance.com>
> 
> 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: e6a6a138919f (net/i40e: add AVX512 vector path)
> Fixes: 808a17b3c1e6 (net/ice: add Rx AVX512 offload path)
> Fixes: 4b64ccb328c9 (net/iavf: fix VLAN extraction in AVX512 path)
> Cc: stable at dpdk.org
> 
> Reported-by: Liang Ma <liangma at liangbit.com>
> Signed-off-by: Liang Ma <liangma at bytedance.com>
> Acked-by: Bruce richardson <bruce.richardson at intel.com>

Applied, thanks.





More information about the dev mailing list