[Buildroot] [git commit] arch/Config.in.x86: add broadwell Intel CPU variant

From: Yann E. MORIN <hidden>
Date: 2022-01-25 07:58:04
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=3702977799b6a9a6f7e0f9bfaf83fccd95e9dc41
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

It was added in gcc 4.9.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <redacted>
---
 arch/Config.in.x86 | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff --git a/arch/Config.in.x86 b/arch/Config.in.x86
index 0aae26799c..d5d84715b8 100644
--- a/arch/Config.in.x86
+++ b/arch/Config.in.x86
@@ -247,6 +247,18 @@ config BR2_x86_haswell
 	select BR2_X86_CPU_HAS_AVX
 	select BR2_X86_CPU_HAS_AVX2
 	select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
+config BR2_x86_broadwell
+	bool "broadwell"
+	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
+	select BR2_X86_CPU_HAS_AVX
+	select BR2_X86_CPU_HAS_AVX2
+	select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
 config BR2_x86_atom
 	bool "atom"
 	select BR2_X86_CPU_HAS_MMX
@@ -401,6 +413,7 @@ config BR2_GCC_TARGET_ARCH
 	default "sandybridge"	if BR2_x86_sandybridge
 	default "core-avx2"	if BR2_x86_core_avx2
 	default "haswell"	if BR2_x86_haswell
+	default "broadwell"	if BR2_x86_broadwell
 	default "atom"		if BR2_x86_atom
 	default "bonnel"	if BR2_x86_bonnel
 	default "westmere"	if BR2_x86_westmere
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help