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:
parent
c4868d11c0
commit
11cfd0bd75
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue