Skip to content

Commit 7a53128

Browse files
authored
Add whitelist of DYNAMIC_ARCH kernels for which -msse3 needs to be enabled
1 parent 0c773b8 commit 7a53128

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kernel/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ ifdef NO_AVX2
4141
endif
4242

4343
ifdef TARGET_CORE
44+
ifeq ($(TARGET_CORE), $(filter $(TARGET_CORE),PRESCOTT CORE2 PENRYN DUNNINGTON ATOM NANO NEHALEM BARCELONA BOBCAT BULLDOZER PILEDRIVER EXCAVATOR STEAMROLLER OPTERON_SSE3))
45+
override CFLAGS += -msse3
46+
endif
4447
ifeq ($(TARGET_CORE), COOPERLAKE)
4548
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)
4649
ifeq ($(GCCVERSIONGTEQ10), 1)

0 commit comments

Comments
 (0)