diff --git a/lib/simd/Grid_avx.h b/lib/simd/Grid_avx.h index 03faabee..05f2f1ab 100644 --- a/lib/simd/Grid_avx.h +++ b/lib/simd/Grid_avx.h @@ -442,7 +442,7 @@ namespace Optimization { #define _mm256_alignr_epi64(ret,a,b,n) ret=(__m256d) _mm256_alignr_epi8((__m256i)a,(__m256i)b,(n*8)%16) #endif -#if defined (AVX1) +#if defined (AVX1) || defined (AVXFMA) #define _mm256_alignr_epi32(ret,a,b,n) { \ __m128 aa, bb; \