File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 8
8
endif
9
9
endif
10
10
11
+ ifdef HAVE_SSE3
12
+ CCOMMON_OPT += -msse3
13
+ FCOMMON_OPT += -msse3
14
+ endif
15
+
11
16
ifeq ($(CORE), SKYLAKEX)
12
17
ifndef DYNAMIC_ARCH
13
18
ifndef NO_AVX512
Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ if (DEFINED TARGET)
70
70
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mavx2" )
71
71
endif ()
72
72
endif ()
73
+ if (DEFINED HAVE_SSE3 )
74
+ set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -msse3" )
75
+ endif ()
73
76
endif ()
74
77
75
78
if (DEFINED TARGET )
Original file line number Diff line number Diff line change 5
5
TOPDIR = ..
6
6
include $(TOPDIR ) /Makefile.system
7
7
8
+ ifdef HAVE_SSE3
9
+ CFLAGS += -msse3
10
+ endif
8
11
9
12
ifeq ($(C_COMPILER ) , GCC)
10
13
GCCVERSIONGTEQ9 := $(shell expr `$(CC ) -dumpversion | cut -f1 -d.` \>= 9)
You can’t perform that action at this time.
0 commit comments