File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 8
8
endif
9
9
endif
10
10
11
+
12
+ ifndef DYNAMIC_ARCH
13
+ define ADD_CPUFLAGS
14
+ 1
15
+ endef
16
+ else
17
+ ifdef TARGET_CORE
18
+ define ADD_CPUFLAGS
19
+ 1
20
+ endef
21
+ endif
22
+ endif
23
+
24
+ ifdef ADD_CPUFLAGS
11
25
ifdef HAVE_SSE3
12
26
CCOMMON_OPT += -msse3
13
27
ifneq ($(F_COMPILER), NAG)
44
58
endif
45
59
46
60
ifeq ($(CORE), SKYLAKEX)
47
- ifndef DYNAMIC_ARCH
48
61
ifndef NO_AVX512
49
62
CCOMMON_OPT += -march=skylake-avx512
50
63
ifneq ($(F_COMPILER), NAG)
62
75
endif
63
76
endif
64
77
endif
65
- endif
66
78
67
79
ifeq ($(CORE), COOPERLAKE)
68
- ifndef DYNAMIC_ARCH
69
80
ifndef NO_AVX512
70
81
ifeq ($(C_COMPILER), GCC)
71
82
# cooperlake support was added in 10.1
88
99
endif
89
100
endif
90
101
endif
91
- endif
92
102
93
103
ifdef HAVE_AVX2
94
104
ifndef NO_AVX2
@@ -120,6 +130,7 @@ endif
120
130
endif
121
131
endif
122
132
133
+ endif
123
134
124
135
125
136
ifeq ($(OSNAME), Interix)
You can’t perform that action at this time.
0 commit comments