File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88endif
99endif
1010
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
1125ifdef HAVE_SSE3
1226CCOMMON_OPT += -msse3
1327ifneq ($(F_COMPILER), NAG)
4458endif
4559
4660ifeq ($(CORE), SKYLAKEX)
47- ifndef DYNAMIC_ARCH
4861ifndef NO_AVX512
4962CCOMMON_OPT += -march=skylake-avx512
5063ifneq ($(F_COMPILER), NAG)
6275endif
6376endif
6477endif
65- endif
6678
6779ifeq ($(CORE), COOPERLAKE)
68- ifndef DYNAMIC_ARCH
6980ifndef NO_AVX512
7081ifeq ($(C_COMPILER), GCC)
7182# cooperlake support was added in 10.1
8899endif
89100endif
90101endif
91- endif
92102
93103ifdef HAVE_AVX2
94104ifndef NO_AVX2
@@ -120,6 +130,7 @@ endif
120130endif
121131endif
122132
133+ endif
123134
124135
125136ifeq ($(OSNAME), Interix)
You can’t perform that action at this time.
0 commit comments