]> Git Repo - buildroot-mgba.git/blame - arch/Config.in.x86
package/mariadb: security bump to version 10.3.15
[buildroot-mgba.git] / arch / Config.in.x86
CommitLineData
79ee3c1f
TP
1# i386/x86_64 cpu features
2config BR2_X86_CPU_HAS_MMX
3 bool
4config BR2_X86_CPU_HAS_SSE
5 bool
6config BR2_X86_CPU_HAS_SSE2
7 bool
8config BR2_X86_CPU_HAS_SSE3
9 bool
10config BR2_X86_CPU_HAS_SSSE3
11 bool
0e8e3c28
BK
12config BR2_X86_CPU_HAS_SSE4
13 bool
14config BR2_X86_CPU_HAS_SSE42
15 bool
c060425f
SN
16config BR2_X86_CPU_HAS_AVX
17 bool
f92e6219
SN
18config BR2_X86_CPU_HAS_AVX2
19 bool
79ee3c1f
TP
20
21choice
22 prompt "Target Architecture Variant"
79ee3c1f 23 default BR2_x86_i586 if BR2_i386
7e26b888 24 depends on BR2_i386 || BR2_x86_64
79ee3c1f
TP
25 help
26 Specific CPU variant to use
27
79ee3c1f
TP
28config BR2_x86_i486
29 bool "i486"
30 depends on !BR2_x86_64
31config BR2_x86_i586
32 bool "i586"
33 depends on !BR2_x86_64
968f5d5e
RK
34config BR2_x86_x1000
35 bool "x1000"
36 depends on !BR2_x86_64
37 help
38 The Intel X1000 is a Pentium class microprocessor in the
39 Quark (sub-Atom) Product Line. The X1000 has a bug on the
40 lock prefix requiring that prefix must be stripped at build
41 time.
42
8da1239a
PK
43 See https://en.wikipedia.org/wiki/Intel_Quark
44
79ee3c1f
TP
45config BR2_x86_i686
46 bool "i686"
47 depends on !BR2_x86_64
48config BR2_x86_pentiumpro
49 bool "pentium pro"
50 depends on !BR2_x86_64
51config BR2_x86_pentium_mmx
52 bool "pentium MMX"
79ee3c1f 53 depends on !BR2_x86_64
7e26b888 54 select BR2_X86_CPU_HAS_MMX
79ee3c1f
TP
55config BR2_x86_pentium_m
56 bool "pentium mobile"
7e26b888 57 depends on !BR2_x86_64
79ee3c1f
TP
58 select BR2_X86_CPU_HAS_MMX
59 select BR2_X86_CPU_HAS_SSE
79ee3c1f
TP
60config BR2_x86_pentium2
61 bool "pentium2"
79ee3c1f 62 depends on !BR2_x86_64
7e26b888 63 select BR2_X86_CPU_HAS_MMX
79ee3c1f
TP
64config BR2_x86_pentium3
65 bool "pentium3"
7e26b888 66 depends on !BR2_x86_64
79ee3c1f
TP
67 select BR2_X86_CPU_HAS_MMX
68 select BR2_X86_CPU_HAS_SSE
79ee3c1f
TP
69config BR2_x86_pentium4
70 bool "pentium4"
7e26b888 71 depends on !BR2_x86_64
79ee3c1f
TP
72 select BR2_X86_CPU_HAS_MMX
73 select BR2_X86_CPU_HAS_SSE
74 select BR2_X86_CPU_HAS_SSE2
79ee3c1f
TP
75config BR2_x86_prescott
76 bool "prescott"
7e26b888 77 depends on !BR2_x86_64
79ee3c1f
TP
78 select BR2_X86_CPU_HAS_MMX
79 select BR2_X86_CPU_HAS_SSE
80 select BR2_X86_CPU_HAS_SSE2
81 select BR2_X86_CPU_HAS_SSE3
79ee3c1f
TP
82config BR2_x86_nocona
83 bool "nocona"
84 select BR2_X86_CPU_HAS_MMX
85 select BR2_X86_CPU_HAS_SSE
86 select BR2_X86_CPU_HAS_SSE2
87 select BR2_X86_CPU_HAS_SSE3
88config BR2_x86_core2
89 bool "core2"
90 select BR2_X86_CPU_HAS_MMX
91 select BR2_X86_CPU_HAS_SSE
92 select BR2_X86_CPU_HAS_SSE2
93 select BR2_X86_CPU_HAS_SSE3
94 select BR2_X86_CPU_HAS_SSSE3
affb6a38
BK
95config BR2_x86_corei7
96 bool "corei7"
97 select BR2_X86_CPU_HAS_MMX
98 select BR2_X86_CPU_HAS_SSE
99 select BR2_X86_CPU_HAS_SSE2
100 select BR2_X86_CPU_HAS_SSE3
101 select BR2_X86_CPU_HAS_SSSE3
102 select BR2_X86_CPU_HAS_SSE4
103 select BR2_X86_CPU_HAS_SSE42
c060425f
SN
104config BR2_x86_corei7_avx
105 bool "corei7-avx"
106 select BR2_X86_CPU_HAS_MMX
107 select BR2_X86_CPU_HAS_SSE
108 select BR2_X86_CPU_HAS_SSE2
109 select BR2_X86_CPU_HAS_SSE3
110 select BR2_X86_CPU_HAS_SSSE3
111 select BR2_X86_CPU_HAS_SSE4
112 select BR2_X86_CPU_HAS_SSE42
113 select BR2_X86_CPU_HAS_AVX
f92e6219
SN
114config BR2_x86_core_avx2
115 bool "core-avx2"
116 select BR2_X86_CPU_HAS_MMX
117 select BR2_X86_CPU_HAS_SSE
118 select BR2_X86_CPU_HAS_SSE2
119 select BR2_X86_CPU_HAS_SSE3
120 select BR2_X86_CPU_HAS_SSSE3
121 select BR2_X86_CPU_HAS_SSE4
122 select BR2_X86_CPU_HAS_SSE42
123 select BR2_X86_CPU_HAS_AVX
124 select BR2_X86_CPU_HAS_AVX2
79ee3c1f
TP
125config BR2_x86_atom
126 bool "atom"
127 select BR2_X86_CPU_HAS_MMX
128 select BR2_X86_CPU_HAS_SSE
129 select BR2_X86_CPU_HAS_SSE2
130 select BR2_X86_CPU_HAS_SSE3
131 select BR2_X86_CPU_HAS_SSSE3
1eecd462
NL
132config BR2_x86_silvermont
133 bool "silvermont"
134 select BR2_X86_CPU_HAS_MMX
135 select BR2_X86_CPU_HAS_SSE
136 select BR2_X86_CPU_HAS_SSE2
137 select BR2_X86_CPU_HAS_SSE3
138 select BR2_X86_CPU_HAS_SSSE3
139 select BR2_X86_CPU_HAS_SSE4
140 select BR2_X86_CPU_HAS_SSE42
79ee3c1f
TP
141config BR2_x86_k6
142 bool "k6"
79ee3c1f 143 depends on !BR2_x86_64
7e26b888 144 select BR2_X86_CPU_HAS_MMX
79ee3c1f
TP
145config BR2_x86_k6_2
146 bool "k6-2"
79ee3c1f 147 depends on !BR2_x86_64
7e26b888 148 select BR2_X86_CPU_HAS_MMX
79ee3c1f
TP
149config BR2_x86_athlon
150 bool "athlon"
79ee3c1f 151 depends on !BR2_x86_64
7e26b888 152 select BR2_X86_CPU_HAS_MMX
79ee3c1f
TP
153config BR2_x86_athlon_4
154 bool "athlon-4"
7e26b888 155 depends on !BR2_x86_64
79ee3c1f
TP
156 select BR2_X86_CPU_HAS_MMX
157 select BR2_X86_CPU_HAS_SSE
79ee3c1f
TP
158config BR2_x86_opteron
159 bool "opteron"
160 select BR2_X86_CPU_HAS_MMX
161 select BR2_X86_CPU_HAS_SSE
162 select BR2_X86_CPU_HAS_SSE2
163config BR2_x86_opteron_sse3
164 bool "opteron w/ SSE3"
165 select BR2_X86_CPU_HAS_MMX
166 select BR2_X86_CPU_HAS_SSE
167 select BR2_X86_CPU_HAS_SSE2
168 select BR2_X86_CPU_HAS_SSE3
169config BR2_x86_barcelona
170 bool "barcelona"
171 select BR2_X86_CPU_HAS_MMX
172 select BR2_X86_CPU_HAS_SSE
173 select BR2_X86_CPU_HAS_SSE2
174 select BR2_X86_CPU_HAS_SSE3
a20cb386
AB
175config BR2_x86_jaguar
176 bool "jaguar"
177 select BR2_X86_CPU_HAS_MMX
178 select BR2_X86_CPU_HAS_SSE
179 select BR2_X86_CPU_HAS_SSE2
180 select BR2_X86_CPU_HAS_SSE3
181 select BR2_X86_CPU_HAS_SSSE3
485f07dd
AB
182 select BR2_X86_CPU_HAS_SSE4
183 select BR2_X86_CPU_HAS_SSE42
50451998
GZ
184config BR2_x86_steamroller
185 bool "steamroller"
186 select BR2_X86_CPU_HAS_MMX
187 select BR2_X86_CPU_HAS_SSE
188 select BR2_X86_CPU_HAS_SSE2
189 select BR2_X86_CPU_HAS_SSE3
190 select BR2_X86_CPU_HAS_SSSE3
191 select BR2_X86_CPU_HAS_SSE4
192 select BR2_X86_CPU_HAS_SSE42
79ee3c1f
TP
193config BR2_x86_geode
194 bool "geode"
195 # Don't include MMX support because there several variant of geode
196 # processor, some with MMX support, some without.
197 # See: http://en.wikipedia.org/wiki/Geode_%28processor%29
198 depends on !BR2_x86_64
199config BR2_x86_c3
200 bool "Via/Cyrix C3 (Samuel/Ezra cores)"
79ee3c1f 201 depends on !BR2_x86_64
7e26b888 202 select BR2_X86_CPU_HAS_MMX
79ee3c1f
TP
203config BR2_x86_c32
204 bool "Via C3-2 (Nehemiah cores)"
7e26b888 205 depends on !BR2_x86_64
79ee3c1f
TP
206 select BR2_X86_CPU_HAS_MMX
207 select BR2_X86_CPU_HAS_SSE
79ee3c1f
TP
208config BR2_x86_winchip_c6
209 bool "IDT Winchip C6"
79ee3c1f 210 depends on !BR2_x86_64
7e26b888 211 select BR2_X86_CPU_HAS_MMX
79ee3c1f
TP
212config BR2_x86_winchip2
213 bool "IDT Winchip 2"
79ee3c1f 214 depends on !BR2_x86_64
7e26b888 215 select BR2_X86_CPU_HAS_MMX
79ee3c1f 216endchoice
44c04a2b
TP
217
218config BR2_ARCH
44c04a2b
TP
219 default "i486" if BR2_x86_i486
220 default "i586" if BR2_x86_i586
968f5d5e 221 default "i586" if BR2_x86_x1000
44c04a2b
TP
222 default "i586" if BR2_x86_pentium_mmx
223 default "i586" if BR2_x86_geode
224 default "i586" if BR2_x86_c3
225 default "i686" if BR2_x86_c32
226 default "i586" if BR2_x86_winchip_c6
227 default "i586" if BR2_x86_winchip2
228 default "i686" if BR2_x86_i686
229 default "i686" if BR2_x86_pentium2
230 default "i686" if BR2_x86_pentium3
231 default "i686" if BR2_x86_pentium4
232 default "i686" if BR2_x86_pentium_m
233 default "i686" if BR2_x86_pentiumpro
234 default "i686" if BR2_x86_prescott
235 default "i686" if BR2_x86_nocona && BR2_i386
236 default "i686" if BR2_x86_core2 && BR2_i386
affb6a38 237 default "i686" if BR2_x86_corei7 && BR2_i386
633f2000 238 default "i686" if BR2_x86_corei7_avx && BR2_i386
498a1fab 239 default "i686" if BR2_x86_core_avx2 && BR2_i386
44c04a2b 240 default "i686" if BR2_x86_atom && BR2_i386
1eecd462 241 default "i686" if BR2_x86_silvermont && BR2_i386
44c04a2b
TP
242 default "i686" if BR2_x86_opteron && BR2_i386
243 default "i686" if BR2_x86_opteron_sse3 && BR2_i386
244 default "i686" if BR2_x86_barcelona && BR2_i386
a20cb386 245 default "i686" if BR2_x86_jaguar && BR2_i386
50451998 246 default "i686" if BR2_x86_steamroller && BR2_i386
44c04a2b
TP
247 default "i686" if BR2_x86_k6
248 default "i686" if BR2_x86_k6_2
249 default "i686" if BR2_x86_athlon
250 default "i686" if BR2_x86_athlon_4
251 default "x86_64" if BR2_x86_64
252
253config BR2_ENDIAN
254 default "LITTLE"
255
44c04a2b 256config BR2_GCC_TARGET_ARCH
171075ed
TP
257 default "i486" if BR2_x86_i486
258 default "i586" if BR2_x86_i586
968f5d5e 259 default "i586" if BR2_x86_x1000
171075ed
TP
260 default "pentium-mmx" if BR2_x86_pentium_mmx
261 default "i686" if BR2_x86_i686
262 default "pentiumpro" if BR2_x86_pentiumpro
263 default "pentium-m" if BR2_x86_pentium_m
264 default "pentium2" if BR2_x86_pentium2
265 default "pentium3" if BR2_x86_pentium3
266 default "pentium4" if BR2_x86_pentium4
267 default "prescott" if BR2_x86_prescott
268 default "nocona" if BR2_x86_nocona
269 default "core2" if BR2_x86_core2
affb6a38 270 default "corei7" if BR2_x86_corei7
c060425f 271 default "corei7-avx" if BR2_x86_corei7_avx
f92e6219 272 default "core-avx2" if BR2_x86_core_avx2
171075ed 273 default "atom" if BR2_x86_atom
1eecd462 274 default "silvermont" if BR2_x86_silvermont
171075ed
TP
275 default "k8" if BR2_x86_opteron
276 default "k8-sse3" if BR2_x86_opteron_sse3
277 default "barcelona" if BR2_x86_barcelona
a20cb386 278 default "btver2" if BR2_x86_jaguar
50451998 279 default "bdver3" if BR2_x86_steamroller
171075ed
TP
280 default "k6" if BR2_x86_k6
281 default "k6-2" if BR2_x86_k6_2
282 default "athlon" if BR2_x86_athlon
283 default "athlon-4" if BR2_x86_athlon_4
284 default "winchip-c6" if BR2_x86_winchip_c6
285 default "winchip2" if BR2_x86_winchip2
286 default "c3" if BR2_x86_c3
287 default "c3-2" if BR2_x86_c32
288 default "geode" if BR2_x86_geode
d04ea6e4
TP
289
290config BR2_READELF_ARCH_NAME
291 default "Intel 80386" if BR2_i386
292 default "Advanced Micro Devices X86-64" if BR2_x86_64
e8378377
YM
293
294# vim: ft=kconfig
295# -*- mode:kconfig; -*-
This page took 0.605484 seconds and 4 git commands to generate.