Skip to content

Commit 4741ce8

Browse files
authored
Merge pull request #2045 from martin-frbg/2033-3
Do not compile in AVX512 check if AVX support is disabled
2 parents 651ab01 + 11cfd0b commit 4741ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/others/dynamic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ int support_avx2(){
322322
}
323323

324324
int support_avx512(){
325-
#ifndef NO_AVX512
325+
#if !defined(NO_AVX) && !defined(NO_AVX512)
326326
int eax, ebx, ecx, edx;
327327
int ret=0;
328328

0 commit comments

Comments
 (0)