arch: Add support for Westmere targets
PATCH v2 1/2 arch: Add support for Westmere targets
The westmere line of x86_64 targets lies between nehalem (corei7) and sandybridge (corei7-avx). Allowing use of -march=westmere enables use of AES instruction set on these targets.
--- arch/Config.in.x86 | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/Config.in.x86 +11 -0
@@ -101,6 +101,15 @@ config BR2_x86_corei7 select BR2_X86_CPU_HAS_SSSE3 select BR2_X86_CPU_HAS_SSE4 select BR2_X86_CPU_HAS_SSE42 +config BR2_x86_westmere + bool "westmere" + 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_corei7_avx bool "corei7-avx" select BR2_X86_CPU_HAS_MMX
@@ -235,6 +244,7 @@ config BR2_ARCH default "i686" if BR2_x86_nocona && BR2_i386 default "i686" if BR2_x86_core2 && BR2_i386 default "i686" if BR2_x86_corei7 && BR2_i386 + default "i686" if BR2_x86_westmere && BR2_i386 default "i686" if BR2_x86_corei7_avx && BR2_i386 default "i686" if BR2_x86_core_avx2 && BR2_i386 default "i686" if BR2_x86_atom && BR2_i386
@@ -271,6 +281,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 "westmere" if BR2_x86_westmere default "silvermont" if BR2_x86_silvermont default "k8" if BR2_x86_opteron default "k8-sse3" if BR2_x86_opteron_sse3
Signature · 1 line
2.21.0
PATCH v2 2/2 package/openblas: Handle new westmere target architecture
Nehalem, the predecessor to westmere, is best match for westmere architecture in current openblas.
--- package/openblas/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/openblas/Config.in +1 -1
@@ -6,7 +6,7 @@ config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET default "PRESCOTT" if BR2_x86_prescott || BR2_x86_nocona default "BANIAS" if BR2_x86_pentium_m default "CORE2" if BR2_x86_core2 - default "NEHALEM" if BR2_x86_corei7 || BR2_x86_silvermont + default "NEHALEM" if BR2_x86_corei7 || BR2_x86_westmere || BR2_x86_silvermont default "SANDYBRIDGE" if BR2_x86_corei7_avx default "HASWELL" if BR2_x86_core_avx2 default "ATOM" if BR2_x86_atom
Signature · 1 line
2.21.0
PATCH v2 2/2 package/openblas: Handle new westmere target architecture
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Esben" == Esben Haabendal <[email protected]> writes:
Nehalem, the predecessor to westmere, is best match for westmere architecture in current openblas.
Signed-off-by Esben Haabendal <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 2/2 package/openblas: Handle new westmere target architecture
In reply to Esben HaabendalQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Esben" == Esben Haabendal <[email protected]> writes:
Nehalem, the predecessor to westmere, is best match for westmere architecture in current openblas.
Signed-off-by Esben Haabendal <[email protected]>
Committed to 2019.02.x and 2019.05.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 1/2 arch: Add support for Westmere targets
In reply to Esben HaabendalQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Esben" == Esben Haabendal <[email protected]> writes:
The westmere line of
x86_64targets lies between nehalem (corei7) and sandybridge (corei7-avx). Allowing use of -march=westmere enables use of AES instruction set on these targets.Signed-off-by Esben Haabendal <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 1/2 arch: Add support for Westmere targets
In reply to Esben HaabendalQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Esben" == Esben Haabendal <[email protected]> writes:
The westmere line of
x86_64targets lies between nehalem (corei7) and sandybridge (corei7-avx). Allowing use of -march=westmere enables use of AES instruction set on these targets.Signed-off-by Esben Haabendal <[email protected]>
Committed to 2019.02.x and 2019.05.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard