File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# COMPILER_PREFIX = mingw32-
22
3+ ifndef DYNAMIC_ARCH
4+ ADD_CPUFLAGS = 1
5+ else
6+ ifdef TARGET_CORE
7+ ADD_CPUFLAGS = 1
8+ endif
9+ endif
10+
11+ ifdef ADD_CPUFLAGS
312ifdef HAVE_SSE
413CCOMMON_OPT += -msse
14+ ifneq ($(F_COMPILER), NAG)
515FCOMMON_OPT += -msse
616endif
7-
17+ endif
18+ endif
819
920ifeq ($(OSNAME), Interix)
1021ARFLAGS = -m x86
Original file line number Diff line number Diff line change 88endif
99endif
1010
11+
12+ ifndef DYNAMIC_ARCH
13+ ADD_CPUFLAGS = 1
14+ else
15+ ifdef TARGET_CORE
16+ ADD_CPUFLAGS = 1
17+ endif
18+ endif
19+
20+ ifdef ADD_CPUFLAGS
1121ifdef HAVE_SSE3
1222CCOMMON_OPT += -msse3
1323ifneq ($(F_COMPILER), NAG)
4454endif
4555
4656ifeq ($(CORE), SKYLAKEX)
47- ifndef DYNAMIC_ARCH
4857ifndef NO_AVX512
4958CCOMMON_OPT += -march=skylake-avx512
5059ifneq ($(F_COMPILER), NAG)
6271endif
6372endif
6473endif
65- endif
6674
6775ifeq ($(CORE), COOPERLAKE)
68- ifndef DYNAMIC_ARCH
6976ifndef NO_AVX512
7077ifeq ($(C_COMPILER), GCC)
7178# cooperlake support was added in 10.1
8895endif
8996endif
9097endif
91- endif
9298
9399ifdef HAVE_AVX2
94100ifndef NO_AVX2
@@ -120,6 +126,7 @@ endif
120126endif
121127endif
122128
129+ endif
123130
124131
125132ifeq ($(OSNAME), Interix)
You can’t perform that action at this time.
0 commit comments