The error asked me to "Please submit a full bug report,"
This is a cut down example from a larger program. I'm compiling larger program with -m64 and have SIMD routines for SSE, AVX & AVX2
The problem goes away if I
1. Remove -O option or,
2. Remove the -g option (but I do want both of these for profiling) or,
3. Add explicit inline to
inline __attribute__ ((target ("avx2"))) __m256i _mm256_shift_left(__m256i a, int n) and
inline __attribute__ ((target ("avx2"))) __m256i _mm256_shift_right(__m256i a, int n)
I love gcc and was so happy when I found __attribute__ ((target ("avx2"))) option. Keep up the good work.
Hi,
I'm getting subject error when compiling attached code with options
g++ -finline-functions -m64 -O3 -c -g -MMD -MP -MF "main.o.d" -o main.o main.cpp
Using: gcc (Ubuntu 5.4.0-6ubuntu1~ 16.04.4) 5.4.0 20160609
System: Ubuntu 16.04
The error asked me to "Please submit a full bug report,"
This is a cut down example from a larger program. I'm compiling larger program with -m64 and have SIMD routines for SSE, AVX & AVX2
The problem goes away if I shift_left( __m256i a, int n) and shift_right( __m256i a, int n)
1. Remove -O option or,
2. Remove the -g option (but I do want both of these for profiling) or,
3. Add explicit inline to
inline __attribute__ ((target ("avx2"))) __m256i _mm256_
inline __attribute__ ((target ("avx2"))) __m256i _mm256_
I love gcc and was so happy when I found __attribute__ ((target ("avx2"))) option. Keep up the good work.
Thanks, Colin