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
18 prompt
"Target Architecture Variant"
19 depends on BR2_i386 || BR2_x86_64
20 default BR2_x86_i586 if BR2_i386
22 Specific CPU variant to use
26 depends on
!BR2_x86_64
29 depends on
!BR2_x86_64
32 depends on
!BR2_x86_64
35 depends on
!BR2_x86_64
36 config BR2_x86_pentiumpro
38 depends on
!BR2_x86_64
39 config BR2_x86_pentium_mmx
41 select BR2_X86_CPU_HAS_MMX
42 depends on
!BR2_x86_64
43 config BR2_x86_pentium_m
45 select BR2_X86_CPU_HAS_MMX
46 select BR2_X86_CPU_HAS_SSE
47 depends on
!BR2_x86_64
48 config BR2_x86_pentium2
50 select BR2_X86_CPU_HAS_MMX
51 depends on
!BR2_x86_64
52 config BR2_x86_pentium3
54 select BR2_X86_CPU_HAS_MMX
55 select BR2_X86_CPU_HAS_SSE
56 depends on
!BR2_x86_64
57 config BR2_x86_pentium4
59 select BR2_X86_CPU_HAS_MMX
60 select BR2_X86_CPU_HAS_SSE
61 select BR2_X86_CPU_HAS_SSE2
62 depends on
!BR2_x86_64
63 config BR2_x86_prescott
65 select BR2_X86_CPU_HAS_MMX
66 select BR2_X86_CPU_HAS_SSE
67 select BR2_X86_CPU_HAS_SSE2
68 select BR2_X86_CPU_HAS_SSE3
69 depends on
!BR2_x86_64
72 select BR2_X86_CPU_HAS_MMX
73 select BR2_X86_CPU_HAS_SSE
74 select BR2_X86_CPU_HAS_SSE2
75 select BR2_X86_CPU_HAS_SSE3
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
82 select BR2_X86_CPU_HAS_SSSE3
85 select BR2_X86_CPU_HAS_MMX
86 select BR2_X86_CPU_HAS_SSE
87 select BR2_X86_CPU_HAS_SSE2
88 select BR2_X86_CPU_HAS_SSE3
89 select BR2_X86_CPU_HAS_SSSE3
90 select BR2_X86_CPU_HAS_SSE4
91 select BR2_X86_CPU_HAS_SSE42
94 select BR2_X86_CPU_HAS_MMX
95 select BR2_X86_CPU_HAS_SSE
96 select BR2_X86_CPU_HAS_SSE2
97 select BR2_X86_CPU_HAS_SSE3
98 select BR2_X86_CPU_HAS_SSSE3
101 select BR2_X86_CPU_HAS_MMX
102 depends on
!BR2_x86_64
105 select BR2_X86_CPU_HAS_MMX
106 depends on
!BR2_x86_64
107 config BR2_x86_athlon
109 select BR2_X86_CPU_HAS_MMX
110 depends on
!BR2_x86_64
111 config BR2_x86_athlon_4
113 select BR2_X86_CPU_HAS_MMX
114 select BR2_X86_CPU_HAS_SSE
115 depends on
!BR2_x86_64
116 config BR2_x86_opteron
118 select BR2_X86_CPU_HAS_MMX
119 select BR2_X86_CPU_HAS_SSE
120 select BR2_X86_CPU_HAS_SSE2
121 config BR2_x86_opteron_sse3
122 bool
"opteron w/ SSE3"
123 select BR2_X86_CPU_HAS_MMX
124 select BR2_X86_CPU_HAS_SSE
125 select BR2_X86_CPU_HAS_SSE2
126 select BR2_X86_CPU_HAS_SSE3
127 config BR2_x86_barcelona
129 select BR2_X86_CPU_HAS_MMX
130 select BR2_X86_CPU_HAS_SSE
131 select BR2_X86_CPU_HAS_SSE2
132 select BR2_X86_CPU_HAS_SSE3
133 config BR2_x86_jaguar
135 select BR2_X86_CPU_HAS_MMX
136 select BR2_X86_CPU_HAS_SSE
137 select BR2_X86_CPU_HAS_SSE2
138 select BR2_X86_CPU_HAS_SSE3
139 select BR2_X86_CPU_HAS_SSSE3
140 select BR2_X86_CPU_HAS_SSE4
141 select BR2_X86_CPU_HAS_SSE42
142 config BR2_x86_steamroller
144 select BR2_X86_CPU_HAS_MMX
145 select BR2_X86_CPU_HAS_SSE
146 select BR2_X86_CPU_HAS_SSE2
147 select BR2_X86_CPU_HAS_SSE3
148 select BR2_X86_CPU_HAS_SSSE3
149 select BR2_X86_CPU_HAS_SSE4
150 select BR2_X86_CPU_HAS_SSE42
153 # Don
't include MMX support because there several variant of geode
154 # processor, some with MMX support, some without.
155 # See: http://en.wikipedia.org/wiki/Geode_%28processor%29
156 depends on !BR2_x86_64
158 bool "Via/Cyrix C3 (Samuel/Ezra cores)"
159 select BR2_X86_CPU_HAS_MMX
160 depends on !BR2_x86_64
162 bool "Via C3-2 (Nehemiah cores)"
163 select BR2_X86_CPU_HAS_MMX
164 select BR2_X86_CPU_HAS_SSE
165 depends on !BR2_x86_64
166 config BR2_x86_winchip_c6
167 bool "IDT Winchip C6"
168 select BR2_X86_CPU_HAS_MMX
169 depends on !BR2_x86_64
170 config BR2_x86_winchip2
172 select BR2_X86_CPU_HAS_MMX
173 depends on !BR2_x86_64
177 default "i386" if BR2_x86_i386
178 default "i486" if BR2_x86_i486
179 default "i586" if BR2_x86_i586
180 default "i586" if BR2_x86_pentium_mmx
181 default "i586" if BR2_x86_geode
182 default "i586" if BR2_x86_c3
183 default "i686" if BR2_x86_c32
184 default "i586" if BR2_x86_winchip_c6
185 default "i586" if BR2_x86_winchip2
186 default "i686" if BR2_x86_i686
187 default "i686" if BR2_x86_pentium2
188 default "i686" if BR2_x86_pentium3
189 default "i686" if BR2_x86_pentium4
190 default "i686" if BR2_x86_pentium_m
191 default "i686" if BR2_x86_pentiumpro
192 default "i686" if BR2_x86_prescott
193 default "i686" if BR2_x86_nocona && BR2_i386
194 default "i686" if BR2_x86_core2 && BR2_i386
195 default "i686" if BR2_x86_corei7 && BR2_i386
196 default "i686" if BR2_x86_atom && BR2_i386
197 default "i686" if BR2_x86_opteron && BR2_i386
198 default "i686" if BR2_x86_opteron_sse3 && BR2_i386
199 default "i686" if BR2_x86_barcelona && BR2_i386
200 default "i686" if BR2_x86_jaguar && BR2_i386
201 default "i686" if BR2_x86_steamroller && BR2_i386
202 default "i686" if BR2_x86_k6
203 default "i686" if BR2_x86_k6_2
204 default "i686" if BR2_x86_athlon
205 default "i686" if BR2_x86_athlon_4
206 default "x86_64" if BR2_x86_64
211 config BR2_ARCH_HAS_ATOMICS
212 default y if !BR2_x86_i386
214 config BR2_GCC_TARGET_ARCH
215 default "i386" if BR2_x86_i386
216 default "i486" if BR2_x86_i486
217 default "i586" if BR2_x86_i586
218 default "pentium-mmx" if BR2_x86_pentium_mmx
219 default "i686" if BR2_x86_i686
220 default "pentiumpro" if BR2_x86_pentiumpro
221 default "pentium-m" if BR2_x86_pentium_m
222 default "pentium2" if BR2_x86_pentium2
223 default "pentium3" if BR2_x86_pentium3
224 default "pentium4" if BR2_x86_pentium4
225 default "prescott" if BR2_x86_prescott
226 default "nocona" if BR2_x86_nocona
227 default "core2" if BR2_x86_core2
228 default "corei7" if BR2_x86_corei7
229 default "atom" if BR2_x86_atom
230 default "k8" if BR2_x86_opteron
231 default "k8-sse3" if BR2_x86_opteron_sse3
232 default "barcelona" if BR2_x86_barcelona
233 default "btver2" if BR2_x86_jaguar
234 default "bdver3" if BR2_x86_steamroller
235 default "k6" if BR2_x86_k6
236 default "k6-2" if BR2_x86_k6_2
237 default "athlon" if BR2_x86_athlon
238 default "athlon-4" if BR2_x86_athlon_4
239 default "winchip-c6" if BR2_x86_winchip_c6
240 default "winchip2" if BR2_x86_winchip2
241 default "c3" if BR2_x86_c3
242 default "c3-2" if BR2_x86_c32
243 default "geode" if BR2_x86_geode