Do not compile in AVX512 check if AVX support is disabled

xgetbv is function depends on NO_AVX being undefined - we could change that too, but that combo is unlikely to work anyway
This commit is contained in:
Martin Kroeker 2019-03-05 16:04:25 +01:00 committed by GitHub
parent c4868d11c0
commit 11cfd0bd75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ int support_avx2(){
}
int support_avx512(){
#ifndef NO_AVX512
#if !defined(NO_AVX) && !defined(NO_AVX512)
int eax, ebx, ecx, edx;
int ret=0;