Another one fix for MSVS2017

pull/1416/head
AlexeyAB 7 years ago
parent e548489182
commit 7f9145729c
  1. 3
      src/gemm.c

@ -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

Loading…
Cancel
Save