2
1

Config.in.x86 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. # i386/x86_64 cpu features
  2. config BR2_X86_CPU_HAS_MMX
  3. bool
  4. config BR2_X86_CPU_HAS_SSE
  5. bool
  6. config BR2_X86_CPU_HAS_SSE2
  7. bool
  8. config BR2_X86_CPU_HAS_SSE3
  9. bool
  10. config BR2_X86_CPU_HAS_SSSE3
  11. bool
  12. config BR2_X86_CPU_HAS_SSE4
  13. bool
  14. config BR2_X86_CPU_HAS_SSE42
  15. bool
  16. choice
  17. prompt "Target Architecture Variant"
  18. depends on BR2_i386 || BR2_x86_64
  19. default BR2_x86_i586 if BR2_i386
  20. help
  21. Specific CPU variant to use
  22. config BR2_x86_i386
  23. bool "i386"
  24. depends on !BR2_x86_64
  25. config BR2_x86_i486
  26. bool "i486"
  27. depends on !BR2_x86_64
  28. config BR2_x86_i586
  29. bool "i586"
  30. depends on !BR2_x86_64
  31. config BR2_x86_i686
  32. bool "i686"
  33. depends on !BR2_x86_64
  34. config BR2_x86_pentiumpro
  35. bool "pentium pro"
  36. depends on !BR2_x86_64
  37. config BR2_x86_pentium_mmx
  38. bool "pentium MMX"
  39. select BR2_X86_CPU_HAS_MMX
  40. depends on !BR2_x86_64
  41. config BR2_x86_pentium_m
  42. bool "pentium mobile"
  43. select BR2_X86_CPU_HAS_MMX
  44. select BR2_X86_CPU_HAS_SSE
  45. depends on !BR2_x86_64
  46. config BR2_x86_pentium2
  47. bool "pentium2"
  48. select BR2_X86_CPU_HAS_MMX
  49. depends on !BR2_x86_64
  50. config BR2_x86_pentium3
  51. bool "pentium3"
  52. select BR2_X86_CPU_HAS_MMX
  53. select BR2_X86_CPU_HAS_SSE
  54. depends on !BR2_x86_64
  55. config BR2_x86_pentium4
  56. bool "pentium4"
  57. select BR2_X86_CPU_HAS_MMX
  58. select BR2_X86_CPU_HAS_SSE
  59. select BR2_X86_CPU_HAS_SSE2
  60. depends on !BR2_x86_64
  61. config BR2_x86_prescott
  62. bool "prescott"
  63. select BR2_X86_CPU_HAS_MMX
  64. select BR2_X86_CPU_HAS_SSE
  65. select BR2_X86_CPU_HAS_SSE2
  66. select BR2_X86_CPU_HAS_SSE3
  67. depends on !BR2_x86_64
  68. config BR2_x86_nocona
  69. bool "nocona"
  70. select BR2_X86_CPU_HAS_MMX
  71. select BR2_X86_CPU_HAS_SSE
  72. select BR2_X86_CPU_HAS_SSE2
  73. select BR2_X86_CPU_HAS_SSE3
  74. config BR2_x86_core2
  75. bool "core2"
  76. select BR2_X86_CPU_HAS_MMX
  77. select BR2_X86_CPU_HAS_SSE
  78. select BR2_X86_CPU_HAS_SSE2
  79. select BR2_X86_CPU_HAS_SSE3
  80. select BR2_X86_CPU_HAS_SSSE3
  81. config BR2_x86_corei7
  82. bool "corei7"
  83. select BR2_X86_CPU_HAS_MMX
  84. select BR2_X86_CPU_HAS_SSE
  85. select BR2_X86_CPU_HAS_SSE2
  86. select BR2_X86_CPU_HAS_SSE3
  87. select BR2_X86_CPU_HAS_SSSE3
  88. select BR2_X86_CPU_HAS_SSE4
  89. select BR2_X86_CPU_HAS_SSE42
  90. config BR2_x86_atom
  91. bool "atom"
  92. select BR2_X86_CPU_HAS_MMX
  93. select BR2_X86_CPU_HAS_SSE
  94. select BR2_X86_CPU_HAS_SSE2
  95. select BR2_X86_CPU_HAS_SSE3
  96. select BR2_X86_CPU_HAS_SSSE3
  97. config BR2_x86_k6
  98. bool "k6"
  99. select BR2_X86_CPU_HAS_MMX
  100. depends on !BR2_x86_64
  101. config BR2_x86_k6_2
  102. bool "k6-2"
  103. select BR2_X86_CPU_HAS_MMX
  104. depends on !BR2_x86_64
  105. config BR2_x86_athlon
  106. bool "athlon"
  107. select BR2_X86_CPU_HAS_MMX
  108. depends on !BR2_x86_64
  109. config BR2_x86_athlon_4
  110. bool "athlon-4"
  111. select BR2_X86_CPU_HAS_MMX
  112. select BR2_X86_CPU_HAS_SSE
  113. depends on !BR2_x86_64
  114. config BR2_x86_opteron
  115. bool "opteron"
  116. select BR2_X86_CPU_HAS_MMX
  117. select BR2_X86_CPU_HAS_SSE
  118. select BR2_X86_CPU_HAS_SSE2
  119. config BR2_x86_opteron_sse3
  120. bool "opteron w/ SSE3"
  121. select BR2_X86_CPU_HAS_MMX
  122. select BR2_X86_CPU_HAS_SSE
  123. select BR2_X86_CPU_HAS_SSE2
  124. select BR2_X86_CPU_HAS_SSE3
  125. config BR2_x86_barcelona
  126. bool "barcelona"
  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. config BR2_x86_jaguar
  132. bool "jaguar"
  133. select BR2_X86_CPU_HAS_MMX
  134. select BR2_X86_CPU_HAS_SSE
  135. select BR2_X86_CPU_HAS_SSE2
  136. select BR2_X86_CPU_HAS_SSE3
  137. select BR2_X86_CPU_HAS_SSSE3
  138. select BR2_X86_CPU_HAS_SSE4
  139. select BR2_X86_CPU_HAS_SSE42
  140. config BR2_x86_geode
  141. bool "geode"
  142. # Don't include MMX support because there several variant of geode
  143. # processor, some with MMX support, some without.
  144. # See: http://en.wikipedia.org/wiki/Geode_%28processor%29
  145. depends on !BR2_x86_64
  146. config BR2_x86_c3
  147. bool "Via/Cyrix C3 (Samuel/Ezra cores)"
  148. select BR2_X86_CPU_HAS_MMX
  149. depends on !BR2_x86_64
  150. config BR2_x86_c32
  151. bool "Via C3-2 (Nehemiah cores)"
  152. select BR2_X86_CPU_HAS_MMX
  153. select BR2_X86_CPU_HAS_SSE
  154. depends on !BR2_x86_64
  155. config BR2_x86_winchip_c6
  156. bool "IDT Winchip C6"
  157. select BR2_X86_CPU_HAS_MMX
  158. depends on !BR2_x86_64
  159. config BR2_x86_winchip2
  160. bool "IDT Winchip 2"
  161. select BR2_X86_CPU_HAS_MMX
  162. depends on !BR2_x86_64
  163. endchoice
  164. config BR2_ARCH
  165. default "i386" if BR2_x86_i386
  166. default "i486" if BR2_x86_i486
  167. default "i586" if BR2_x86_i586
  168. default "i586" if BR2_x86_pentium_mmx
  169. default "i586" if BR2_x86_geode
  170. default "i586" if BR2_x86_c3
  171. default "i686" if BR2_x86_c32
  172. default "i586" if BR2_x86_winchip_c6
  173. default "i586" if BR2_x86_winchip2
  174. default "i686" if BR2_x86_i686
  175. default "i686" if BR2_x86_pentium2
  176. default "i686" if BR2_x86_pentium3
  177. default "i686" if BR2_x86_pentium4
  178. default "i686" if BR2_x86_pentium_m
  179. default "i686" if BR2_x86_pentiumpro
  180. default "i686" if BR2_x86_prescott
  181. default "i686" if BR2_x86_nocona && BR2_i386
  182. default "i686" if BR2_x86_core2 && BR2_i386
  183. default "i686" if BR2_x86_corei7 && BR2_i386
  184. default "i686" if BR2_x86_atom && BR2_i386
  185. default "i686" if BR2_x86_opteron && BR2_i386
  186. default "i686" if BR2_x86_opteron_sse3 && BR2_i386
  187. default "i686" if BR2_x86_barcelona && BR2_i386
  188. default "i686" if BR2_x86_jaguar && BR2_i386
  189. default "i686" if BR2_x86_k6
  190. default "i686" if BR2_x86_k6_2
  191. default "i686" if BR2_x86_athlon
  192. default "i686" if BR2_x86_athlon_4
  193. default "x86_64" if BR2_x86_64
  194. config BR2_ENDIAN
  195. default "LITTLE"
  196. config BR2_ARCH_HAS_ATOMICS
  197. default y if !BR2_x86_i386
  198. config BR2_GCC_TARGET_ARCH
  199. default "i386" if BR2_x86_i386
  200. default "i486" if BR2_x86_i486
  201. default "i586" if BR2_x86_i586
  202. default "pentium-mmx" if BR2_x86_pentium_mmx
  203. default "i686" if BR2_x86_i686
  204. default "pentiumpro" if BR2_x86_pentiumpro
  205. default "pentium-m" if BR2_x86_pentium_m
  206. default "pentium2" if BR2_x86_pentium2
  207. default "pentium3" if BR2_x86_pentium3
  208. default "pentium4" if BR2_x86_pentium4
  209. default "prescott" if BR2_x86_prescott
  210. default "nocona" if BR2_x86_nocona
  211. default "core2" if BR2_x86_core2
  212. default "corei7" if BR2_x86_corei7
  213. default "atom" if BR2_x86_atom
  214. default "k8" if BR2_x86_opteron
  215. default "k8-sse3" if BR2_x86_opteron_sse3
  216. default "barcelona" if BR2_x86_barcelona
  217. default "btver2" if BR2_x86_jaguar
  218. default "k6" if BR2_x86_k6
  219. default "k6-2" if BR2_x86_k6_2
  220. default "athlon" if BR2_x86_athlon
  221. default "athlon-4" if BR2_x86_athlon_4
  222. default "winchip-c6" if BR2_x86_winchip_c6
  223. default "winchip2" if BR2_x86_winchip2
  224. default "c3" if BR2_x86_c3
  225. default "c3-2" if BR2_x86_c32
  226. default "geode" if BR2_x86_geode