Skip to content

Commit b54894a

Browse files
committed
Fix 32 bit builds (missing _mm256_extract_epi64)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent addb67c commit b54894a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/dotproductavx.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
// limitations under the License.
1717
///////////////////////////////////////////////////////////////////////
1818

19-
#if !defined(__AVX__)
19+
#if !defined(__AVX__) || defined(__i386__)
2020
// Implementation for non-avx archs.
21+
// Also used for 32 bit AVX archs because of missing _mm256_extract_epi64.
2122

2223
#include "dotproductavx.h"
2324
#include <stdio.h>

0 commit comments

Comments
 (0)