From b54894a088bae8558e76696fc0b10c44e90215c3 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 24 Nov 2016 07:32:49 +0100 Subject: [PATCH] Fix 32 bit builds (missing _mm256_extract_epi64) Signed-off-by: Stefan Weil --- arch/dotproductavx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/dotproductavx.cpp b/arch/dotproductavx.cpp index 94a806fc65..7ba784a7fc 100644 --- a/arch/dotproductavx.cpp +++ b/arch/dotproductavx.cpp @@ -16,8 +16,9 @@ // limitations under the License. /////////////////////////////////////////////////////////////////////// -#if !defined(__AVX__) +#if !defined(__AVX__) || defined(__i386__) // Implementation for non-avx archs. +// Also used for 32 bit AVX archs because of missing _mm256_extract_epi64. #include "dotproductavx.h" #include