Another one fix for MSVS2017

This commit is contained in:
AlexeyAB
2018-08-14 18:38:39 +03:00
parent e548489182
commit 7f9145729c

View File

@ -334,7 +334,8 @@ static inline float _castu32_f32(uint32_t a) {
}
static inline float _mm256_extract_float32(__m256 a, const int index) {
return _castu32_f32(_mm256_extract_epi32(_mm256_castps_si256(a), index));
return a.m256_f32[index];
//return _castu32_f32(_mm256_extract_epi32(_mm256_castps_si256(a), index));
}
#else // Linux GCC/Clang