* [Buildroot] [PATCH 1/1] Add newer Atom CPUs as Silvermont Architecture target
@ 2017-10-24 12:22 Norbert Lange
2018-01-01 12:06 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Norbert Lange @ 2017-10-24 12:22 UTC (permalink / raw)
To: buildroot
The old Atom target is not really fitting for recent Atom CPUs
based on Silvermont, Airmont or Goldmont. Those have more in
common with older Desktop CPUs than old Atoms.
Signed-off-by: Norbert Lange <norbert.lange@andritz.com>
---
arch/Config.in.x86 | 11 +++++++++++
package/openblas/Config.in | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/arch/Config.in.x86 b/arch/Config.in.x86
index 0d9e93b089..8e623b3c2b 100644
--- a/arch/Config.in.x86
+++ b/arch/Config.in.x86
@@ -129,6 +129,15 @@ config BR2_x86_atom
select BR2_X86_CPU_HAS_SSE2
select BR2_X86_CPU_HAS_SSE3
select BR2_X86_CPU_HAS_SSSE3
+config BR2_x86_silvermont
+ bool "silvermont"
+ select BR2_X86_CPU_HAS_MMX
+ select BR2_X86_CPU_HAS_SSE
+ select BR2_X86_CPU_HAS_SSE2
+ select BR2_X86_CPU_HAS_SSE3
+ select BR2_X86_CPU_HAS_SSSE3
+ select BR2_X86_CPU_HAS_SSE4
+ select BR2_X86_CPU_HAS_SSE42
config BR2_x86_k6
bool "k6"
select BR2_X86_CPU_HAS_MMX
@@ -229,6 +238,7 @@ config BR2_ARCH
default "i686" if BR2_x86_corei7_avx && BR2_i386
default "i686" if BR2_x86_corei7_avx2 && BR2_i386
default "i686" if BR2_x86_atom && BR2_i386
+ default "i686" if BR2_x86_silvermont && BR2_i386
default "i686" if BR2_x86_opteron && BR2_i386
default "i686" if BR2_x86_opteron_sse3 && BR2_i386
default "i686" if BR2_x86_barcelona && BR2_i386
@@ -261,6 +271,7 @@ config BR2_GCC_TARGET_ARCH
default "corei7-avx" if BR2_x86_corei7_avx
default "core-avx2" if BR2_x86_core_avx2
default "atom" if BR2_x86_atom
+ default "silvermont" if BR2_x86_silvermont
default "k8" if BR2_x86_opteron
default "k8-sse3" if BR2_x86_opteron_sse3
default "barcelona" if BR2_x86_barcelona
diff --git a/package/openblas/Config.in b/package/openblas/Config.in
index bc628960f5..eb93e319e4 100644
--- a/package/openblas/Config.in
+++ b/package/openblas/Config.in
@@ -6,7 +6,7 @@ config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET
default "PRESCOTT" if BR2_x86_prescott
default "BANIAS" if BR2_x86_pentium_m
default "CORE2" if BR2_x86_core2
- default "NEHALEM" if BR2_x86_corei7
+ default "NEHALEM" if BR2_x86_corei7 || BR2_x86_silvermont
default "SANDYBRIDGE" if BR2_x86_corei7_avx
default "HASWELL" if BR2_x86_core_avx2
default "ATOM" if BR2_x86_atom
--
2.14.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] Add newer Atom CPUs as Silvermont Architecture target
2017-10-24 12:22 [Buildroot] [PATCH 1/1] Add newer Atom CPUs as Silvermont Architecture target Norbert Lange
@ 2018-01-01 12:06 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-01-01 12:06 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 24 Oct 2017 14:22:06 +0200, Norbert Lange wrote:
> The old Atom target is not really fitting for recent Atom CPUs
> based on Silvermont, Airmont or Goldmont. Those have more in
> common with older Desktop CPUs than old Atoms.
>
> Signed-off-by: Norbert Lange <norbert.lange@andritz.com>
> ---
> arch/Config.in.x86 | 11 +++++++++++
> package/openblas/Config.in | 2 +-
> 2 files changed, 12 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-01 12:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-24 12:22 [Buildroot] [PATCH 1/1] Add newer Atom CPUs as Silvermont Architecture target Norbert Lange
2018-01-01 12:06 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox