From 611b5d74baebba6215e48a2a15c4642309c8a839 Mon Sep 17 00:00:00 2001 From: Guido Cossu Date: Mon, 10 Oct 2016 15:26:17 +0100 Subject: [PATCH] Fix for AVX+FMA3 compilation --- lib/simd/Grid_avx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \