Skip to content

Commit a9f6f7a

Browse files
authored
Remove spurious AVX512 requirement and add AVX2/FMA3 guard
1 parent 93843c5 commit a9f6f7a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kernel/x86_64/srot_microk_haswell-2.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/* need a new enough GCC for avx512 support */
2-
#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && __clang_major__ >= 9))
1+
#if defined(HAVE_FMA3) && defined(HAVE_AVX2)
32

43
#define HAVE_SROT_KERNEL 1
54

0 commit comments

Comments
 (0)