From 0b84dcf9686f7e97249676915b7c042f3624e453 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 25 Jan 2022 00:01:12 +0100 Subject: [PATCH] arch/Config.in.x86: add cooperlake CPU variant It was added in gcc 10.x. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- arch/Config.in.x86 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/Config.in.x86 b/arch/Config.in.x86 index dffc9a74d3..08837b7cea 100644 --- a/arch/Config.in.x86 +++ b/arch/Config.in.x86 @@ -397,6 +397,19 @@ config BR2_x86_cascadelake select BR2_X86_CPU_HAS_AVX2 select BR2_X86_CPU_HAS_AVX512 select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 +config BR2_x86_cooperlake + bool "cooperlake" + 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_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_10 config BR2_x86_tigerlake bool "tigerlake" select BR2_X86_CPU_HAS_MMX @@ -550,6 +563,7 @@ config BR2_GCC_TARGET_ARCH default "icelake-client" if BR2_x86_icelake_client default "icelake-server" if BR2_x86_icelake_server default "cascadelake" if BR2_x86_cascadelake + default "cooperlake" if BR2_x86_cooperlake default "tigerlake" if BR2_x86_tigerlake default "k8" if BR2_x86_opteron default "k8-sse3" if BR2_x86_opteron_sse3