Merge pull request #3140 from martin-frbg/issue3139

Fix compilation on older x86_64 targets with old compilers that lack intrinsics support
This commit is contained in:
Martin Kroeker 2021-03-12 15:35:58 +01:00 committed by GitHub
commit a51cae6b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1,8 +1,11 @@
/* the direct sgemm code written by Arjan van der Ven */ /* the direct sgemm code written by Arjan van der Ven */
#if defined(SKYLAKEX) || defined (COOPERLAKE)
#include <immintrin.h> #include <immintrin.h>
#include "common.h" #include "common.h"
#if defined(SKYLAKEX) || defined (COOPERLAKE)
/* /*
* "Direct sgemm" code. This code operates directly on the inputs and outputs * "Direct sgemm" code. This code operates directly on the inputs and outputs
* of the sgemm call, avoiding the copies, memory realignments and threading, * of the sgemm call, avoiding the copies, memory realignments and threading,