File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ ifeq ($(C_COMPILER), CLANG)
23
23
# Any clang posing as gcc 4.2 should be new enough (3.4 or later)
24
24
GCCVERSIONCHECK := $(GCCVERSIONGT4 )$(GCCVERSIONGTEQ4 )$(GCCMINORVERSIONGTEQ2 )
25
25
ifeq ($(GCCVERSIONCHECK), $(filter $(GCCVERSIONCHECK), 011 110 111))
26
- AVX2OPT = -mavx2
26
+ AVX2OPT = -mavx2 -mfma
27
27
endif
28
28
endif
29
29
ifdef NO_AVX2
@@ -73,6 +73,8 @@ else ifeq ($(TARGET_CORE), SKYLAKEX)
73
73
endif
74
74
else ifeq ($(TARGET_CORE), HASWELL)
75
75
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE ) $(AVX2OPT )
76
+ else ifeq ($(TARGET_CORE), ZEN)
77
+ override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE ) $(AVX2OPT )
76
78
else ifeq ($(TARGET_CORE), LOONGSON3R4)
77
79
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE ) $(MSA_FLAGS )
78
80
else
You can’t perform that action at this time.
0 commit comments