diff --git a/lib/simd/Grid_avx.h b/lib/simd/Grid_avx.h index 902142d2..3268fee3 100644 --- a/lib/simd/Grid_avx.h +++ b/lib/simd/Grid_avx.h @@ -449,12 +449,12 @@ namespace Optimization { }; -#if defined (AVX2) || defined (AVXFMA4) +#if defined (AVX2) #define _mm256_alignr_epi32_grid(ret,a,b,n) ret=(__m256) _mm256_alignr_epi8((__m256i)a,(__m256i)b,(n*4)%16) #define _mm256_alignr_epi64_grid(ret,a,b,n) ret=(__m256d) _mm256_alignr_epi8((__m256i)a,(__m256i)b,(n*8)%16) #endif -#if defined (AVX1) +#if defined (AVX1) || defined (AVXFMA4) #define _mm256_alignr_epi32_grid(ret,a,b,n) { \ __m128 aa, bb; \ \ @@ -484,20 +484,7 @@ namespace Optimization { } #endif - /* - inline std::ostream & operator << (std::ostream& stream, const __m256 a) - { - const float *p=(const float *)&a; - stream<< "{"< "<< ret < "<< ret < inline Grid::ComplexF Reduce::operator()(__m256 in){