From 7f9145729c2a2b64a7aeb3806f7c3d21771fce94 Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Tue, 14 Aug 2018 18:38:39 +0300 Subject: [PATCH] Another one fix for MSVS2017 --- src/gemm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gemm.c b/src/gemm.c index 2fa0fcda..e7b6ac9d 100644 --- a/src/gemm.c +++ b/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