1 # i386
/x86_64 cpu features
2 config BR2_X86_CPU_HAS_MMX
4 config BR2_X86_CPU_HAS_SSE
6 config BR2_X86_CPU_HAS_SSE2
8 config BR2_X86_CPU_HAS_SSE3
10 config BR2_X86_CPU_HAS_SSSE3
12 config BR2_X86_CPU_HAS_SSE4
14 config BR2_X86_CPU_HAS_SSE42
16 config BR2_X86_CPU_HAS_AVX
18 config BR2_X86_CPU_HAS_AVX2
22 prompt
"Target Architecture Variant"
23 depends on BR2_i386 || BR2_x86_64
24 default BR2_x86_i586 if BR2_i386
26 Specific CPU variant to use
30 depends on
!BR2_x86_64
33 depends on
!BR2_x86_64
36 depends on
!BR2_x86_64
39 depends on
!BR2_x86_64
41 The Intel X1000 is a Pentium class microprocessor
in the
42 Quark
(sub-Atom
) Product Line. The X1000 has a bug on the
43 lock prefix requiring that prefix must be stripped at build
46 See
https://en.wikipedia.
org/wiki
/Intel_Quark
50 depends on
!BR2_x86_64
51 config BR2_x86_pentiumpro
53 depends on
!BR2_x86_64
54 config BR2_x86_pentium_mmx
56 select BR2_X86_CPU_HAS_MMX
57 depends on
!BR2_x86_64
58 config BR2_x86_pentium_m
60 select BR2_X86_CPU_HAS_MMX
61 select BR2_X86_CPU_HAS_SSE
62 depends on
!BR2_x86_64
63 config BR2_x86_pentium2
65 select BR2_X86_CPU_HAS_MMX
66 depends on
!BR2_x86_64
67 config BR2_x86_pentium3
69 select BR2_X86_CPU_HAS_MMX
70 select BR2_X86_CPU_HAS_SSE
71 depends on
!BR2_x86_64
72 config BR2_x86_pentium4
74 select BR2_X86_CPU_HAS_MMX
75 select BR2_X86_CPU_HAS_SSE
76 select BR2_X86_CPU_HAS_SSE2
77 depends on
!BR2_x86_64
78 config BR2_x86_prescott
80 select BR2_X86_CPU_HAS_MMX
81 select BR2_X86_CPU_HAS_SSE
82 select BR2_X86_CPU_HAS_SSE2
83 select BR2_X86_CPU_HAS_SSE3
84 depends on
!BR2_x86_64
87 select BR2_X86_CPU_HAS_MMX
88 select BR2_X86_CPU_HAS_SSE
89 select BR2_X86_CPU_HAS_SSE2
90 select BR2_X86_CPU_HAS_SSE3
93 select BR2_X86_CPU_HAS_MMX
94 select BR2_X86_CPU_HAS_SSE
95 select BR2_X86_CPU_HAS_SSE2
96 select BR2_X86_CPU_HAS_SSE3
97 select BR2_X86_CPU_HAS_SSSE3
100 select BR2_X86_CPU_HAS_MMX
101 select BR2_X86_CPU_HAS_SSE
102 select BR2_X86_CPU_HAS_SSE2
103 select BR2_X86_CPU_HAS_SSE3
104 select BR2_X86_CPU_HAS_SSSE3
105 select BR2_X86_CPU_HAS_SSE4
106 select BR2_X86_CPU_HAS_SSE42
107 config BR2_x86_corei7_avx
109 select BR2_X86_CPU_HAS_MMX
110 select BR2_X86_CPU_HAS_SSE
111 select BR2_X86_CPU_HAS_SSE2
112 select BR2_X86_CPU_HAS_SSE3
113 select BR2_X86_CPU_HAS_SSSE3
114 select BR2_X86_CPU_HAS_SSE4
115 select BR2_X86_CPU_HAS_SSE42
116 select BR2_X86_CPU_HAS_AVX
117 config BR2_x86_core_avx2
119 select BR2_X86_CPU_HAS_MMX
120 select BR2_X86_CPU_HAS_SSE
121 select BR2_X86_CPU_HAS_SSE2
122 select BR2_X86_CPU_HAS_SSE3
123 select BR2_X86_CPU_HAS_SSSE3
124 select BR2_X86_CPU_HAS_SSE4
125 select BR2_X86_CPU_HAS_SSE42
126 select BR2_X86_CPU_HAS_AVX
127 select BR2_X86_CPU_HAS_AVX2
130 select BR2_X86_CPU_HAS_MMX
131 select BR2_X86_CPU_HAS_SSE
132 select BR2_X86_CPU_HAS_SSE2
133 select BR2_X86_CPU_HAS_SSE3
134 select BR2_X86_CPU_HAS_SSSE3
137 select BR2_X86_CPU_HAS_MMX
138 depends on
!BR2_x86_64
141 select BR2_X86_CPU_HAS_MMX
142 depends on
!BR2_x86_64
143 config BR2_x86_athlon
145 select BR2_X86_CPU_HAS_MMX
146 depends on
!BR2_x86_64
147 config BR2_x86_athlon_4
149 select BR2_X86_CPU_HAS_MMX
150 select BR2_X86_CPU_HAS_SSE
151 depends on
!BR2_x86_64
152 config BR2_x86_opteron
154 select BR2_X86_CPU_HAS_MMX
155 select BR2_X86_CPU_HAS_SSE
156 select BR2_X86_CPU_HAS_SSE2
157 config BR2_x86_opteron_sse3
158 bool
"opteron w/ SSE3"
159 select BR2_X86_CPU_HAS_MMX
160 select BR2_X86_CPU_HAS_SSE
161 select BR2_X86_CPU_HAS_SSE2
162 select BR2_X86_CPU_HAS_SSE3
163 config BR2_x86_barcelona
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
169 config BR2_x86_jaguar
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
175 select BR2_X86_CPU_HAS_SSSE3
176 select BR2_X86_CPU_HAS_SSE4
177 select BR2_X86_CPU_HAS_SSE42
178 config BR2_x86_steamroller
180 select BR2_X86_CPU_HAS_MMX
181 select BR2_X86_CPU_HAS_SSE
182 select BR2_X86_CPU_HAS_SSE2
183 select BR2_X86_CPU_HAS_SSE3
184 select BR2_X86_CPU_HAS_SSSE3
185 select BR2_X86_CPU_HAS_SSE4
186 select BR2_X86_CPU_HAS_SSE42
189 # Don
't include MMX support because there several variant of geode
190 # processor, some with MMX support, some without.
191 # See: http://en.wikipedia.org/wiki/Geode_%28processor%29
192 depends on !BR2_x86_64
194 bool "Via/Cyrix C3 (Samuel/Ezra cores)"
195 select BR2_X86_CPU_HAS_MMX
196 depends on !BR2_x86_64
198 bool "Via C3-2 (Nehemiah cores)"
199 select BR2_X86_CPU_HAS_MMX
200 select BR2_X86_CPU_HAS_SSE
201 depends on !BR2_x86_64
202 config BR2_x86_winchip_c6
203 bool "IDT Winchip C6"
204 select BR2_X86_CPU_HAS_MMX
205 depends on !BR2_x86_64
206 config BR2_x86_winchip2
208 select BR2_X86_CPU_HAS_MMX
209 depends on !BR2_x86_64
213 default "i386" if BR2_x86_i386
214 default "i486" if BR2_x86_i486
215 default "i586" if BR2_x86_i586
216 default "i586" if BR2_x86_x1000
217 default "i586" if BR2_x86_pentium_mmx
218 default "i586" if BR2_x86_geode
219 default "i586" if BR2_x86_c3
220 default "i686" if BR2_x86_c32
221 default "i586" if BR2_x86_winchip_c6
222 default "i586" if BR2_x86_winchip2
223 default "i686" if BR2_x86_i686
224 default "i686" if BR2_x86_pentium2
225 default "i686" if BR2_x86_pentium3
226 default "i686" if BR2_x86_pentium4
227 default "i686" if BR2_x86_pentium_m
228 default "i686" if BR2_x86_pentiumpro
229 default "i686" if BR2_x86_prescott
230 default "i686" if BR2_x86_nocona && BR2_i386
231 default "i686" if BR2_x86_core2 && BR2_i386
232 default "i686" if BR2_x86_corei7 && BR2_i386
233 default "i686" if BR2_x86_atom && BR2_i386
234 default "i686" if BR2_x86_opteron && BR2_i386
235 default "i686" if BR2_x86_opteron_sse3 && BR2_i386
236 default "i686" if BR2_x86_barcelona && BR2_i386
237 default "i686" if BR2_x86_jaguar && BR2_i386
238 default "i686" if BR2_x86_steamroller && BR2_i386
239 default "i686" if BR2_x86_k6
240 default "i686" if BR2_x86_k6_2
241 default "i686" if BR2_x86_athlon
242 default "i686" if BR2_x86_athlon_4
243 default "x86_64" if BR2_x86_64
248 config BR2_ARCH_HAS_ATOMICS
249 default y if !BR2_x86_i386
251 config BR2_GCC_TARGET_ARCH
252 default "i386" if BR2_x86_i386
253 default "i486" if BR2_x86_i486
254 default "i586" if BR2_x86_i586
255 default "i586" if BR2_x86_x1000
256 default "pentium-mmx" if BR2_x86_pentium_mmx
257 default "i686" if BR2_x86_i686
258 default "pentiumpro" if BR2_x86_pentiumpro
259 default "pentium-m" if BR2_x86_pentium_m
260 default "pentium2" if BR2_x86_pentium2
261 default "pentium3" if BR2_x86_pentium3
262 default "pentium4" if BR2_x86_pentium4
263 default "prescott" if BR2_x86_prescott
264 default "nocona" if BR2_x86_nocona
265 default "core2" if BR2_x86_core2
266 default "corei7" if BR2_x86_corei7
267 default "corei7-avx" if BR2_x86_corei7_avx
268 default "core-avx2" if BR2_x86_core_avx2
269 default "atom" if BR2_x86_atom
270 default "k8" if BR2_x86_opteron
271 default "k8-sse3" if BR2_x86_opteron_sse3
272 default "barcelona" if BR2_x86_barcelona
273 default "btver2" if BR2_x86_jaguar
274 default "bdver3" if BR2_x86_steamroller
275 default "k6" if BR2_x86_k6
276 default "k6-2" if BR2_x86_k6_2
277 default "athlon" if BR2_x86_athlon
278 default "athlon-4" if BR2_x86_athlon_4
279 default "winchip-c6" if BR2_x86_winchip_c6
280 default "winchip2" if BR2_x86_winchip2
281 default "c3" if BR2_x86_c3
282 default "c3-2" if BR2_x86_c32
283 default "geode" if BR2_x86_geode