Re: Calls to auto-vectorized AVX512 functions

2021-02-08 Thread Jakub Jelinek via Gcc
On Mon, Feb 08, 2021 at 11:42:13AM +0100, Richard Biener via Gcc wrote: > > I have a question as to the auto-vectorizer in GCC. > > > > When AVX512 instruction is available, the auto-vectorizer in gcc > > sometimes generates calls to AVX2 functions instead of AVX512 functions. > > > > > > $ cat vab

Re: Calls to auto-vectorized AVX512 functions

2021-02-08 Thread Richard Biener via Gcc
On Mon, Feb 8, 2021 at 4:26 AM Naoki Shibata via Gcc wrote: > > > Hello, > > I have a question as to the auto-vectorizer in GCC. > > When AVX512 instruction is available, the auto-vectorizer in gcc > sometimes generates calls to AVX2 functions instead of AVX512 functions. > > > $ cat vabitest.c >

Calls to auto-vectorized AVX512 functions

2021-02-07 Thread Naoki Shibata via Gcc
Hello, I have a question as to the auto-vectorizer in GCC. When AVX512 instruction is available, the auto-vectorizer in gcc sometimes generates calls to AVX2 functions instead of AVX512 functions. $ cat vabitest.c #include #include _Pragma ("omp declare simd simdlen(8) notinbranch") __