Skip to contentSkip to conversation

arch/Config.in.powerpc: add Power10 CPU type

Buildroot Thomas Petazzoni via buildroot 1 participant 1 message May 30

lore
Share & tools
lore
#0 lore raw

commit: https://gitlab.com/buildroot.org/buildroot/-/commit/3523e1ac79c15c5199a15589692e269191abd546
branch: https://gitlab.com/buildroot.org/buildroot/-/tree/next

This commit adds the IBM Power10 CPU type. See [1].

This CPU is supported in gcc since v11.1.0 (see upstream commit [2]), and in binutils since v2.35 (the gas -mpower10 option is documented since upstream commit [3]).

[1] https://en.wikipedia.org/wiki/Power10
[2] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5d9d0c94588c8834a33eca6847b0a1401353300b
[3] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=1424c35d071e7d49a4a219c7dee8c88ffd60ddca

---
 arch/Config.in.powerpc | 6 ++++++
 1 file changed, 6 insertions(+)
arch/Config.in.powerpc +6 -0
index 3f4d348d5f..a2605ca6a9 100644
@@ -144,6 +144,11 @@ config BR2_powerpc_power9
 	select BR2_POWERPC_CPU_HAS_ALTIVEC
 	select BR2_POWERPC_CPU_HAS_VSX
 	select BR2_ARCH_NEEDS_GCC_AT_LEAST_6
+config BR2_powerpc_power10
+	bool "power10"
+	select BR2_POWERPC_CPU_HAS_ALTIVEC
+	select BR2_POWERPC_CPU_HAS_VSX
+	select BR2_ARCH_NEEDS_GCC_AT_LEAST_11
 endchoice
 
 config BR2_POWERPC_SOFT_FLOAT
@@ -207,6 +212,7 @@ config BR2_GCC_TARGET_CPU
 	default "power7"	if BR2_powerpc_power7
 	default "power8"	if BR2_powerpc_power8
 	default "power9"	if BR2_powerpc_power9
+	default "power10"	if BR2_powerpc_power10
 
 config BR2_READELF_ARCH_NAME
 	default "PowerPC"	if BR2_powerpc

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot