Add whitelist of DYNAMIC_ARCH kernels for which -msse3 needs to be enabled
@@ -41,6 +41,9 @@ ifdef NO_AVX2
endif
ifdef TARGET_CORE
+ ifeq ($(TARGET_CORE), $(filter $(TARGET_CORE),PRESCOTT CORE2 PENRYN DUNNINGTON ATOM NANO NEHALEM BARCELONA BOBCAT BULLDOZER PILEDRIVER EXCAVATOR STEAMROLLER OPTERON_SSE3))
+ override CFLAGS += -msse3
+endif
ifeq ($(TARGET_CORE), COOPERLAKE)
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)
ifeq ($(GCCVERSIONGTEQ10), 1)
