From 254dee6ac7d1b0c9f190262519e73e34be638df6 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Fri, 15 May 2015 11:50:44 +0100 Subject: [PATCH] GCC and ICPC complained on more careful typeing --- lib/simd/Grid_vRealD.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simd/Grid_vRealD.h b/lib/simd/Grid_vRealD.h index aef143f8..dbfacb0c 100644 --- a/lib/simd/Grid_vRealD.h +++ b/lib/simd/Grid_vRealD.h @@ -237,7 +237,7 @@ namespace Grid { __m256d tmp = _mm256_permute2f128_pd(in.v,in.v,0x01); // tmp 1032; in= 3210 __m256d hadd = _mm256_hadd_pd(in.v,tmp); // hadd = 1+0,3+2,3+2,1+0 hadd = _mm256_hadd_pd(hadd,hadd); // hadd = 1+0+3+2... - converter.l = _mm256_extract_epi64(hadd,0); + converter.l = _mm256_extract_epi64((ivec)hadd,0); return converter.d; #endif #ifdef AVX512