Re: [dpdk-dev] [PATCH v3] build: check AVX512 rather than compiler version

2021-07-20 Thread Liang Ma
On Tue, Jul 20, 2021 at 12:58:13PM +0100, Bruce Richardson wrote: > One minor comment below. Also the commit title needs rewording, since the > current title is based on the changes from V1->V2 of your patch. I'd > suggest something like: > "build: check for broken AVX-512 compiler support" > >

Re: [dpdk-dev] [PATCH v3] build: check AVX512 rather than compiler version

2021-07-20 Thread Bruce Richardson
On Tue, Jul 20, 2021 at 12:20:59PM +0100, Liang Ma wrote: > From: Liang Ma > > 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, > whic

[dpdk-dev] [PATCH v3] build: check AVX512 rather than compiler version

2021-07-20 Thread Liang Ma
From: Liang Ma 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