From de5400ddde95bdb9593800b4ae86e573a0d3700c Mon Sep 17 00:00:00 2001 From: nepnep1111 Date: Tue, 6 Dec 2022 12:01:19 -0600 Subject: [PATCH] Update CPU opt lists to include raptorlake, meteorlake, and zen4 (#658) * Fix config file architecture opt listing * add raptorlake to supported cpu opt --- customization.cfg | 4 ++-- linux-tkg-config/prepare | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/customization.cfg b/customization.cfg index 716d3ad..99f36a4 100644 --- a/customization.cfg +++ b/customization.cfg @@ -188,8 +188,8 @@ _zenify="true" _compileroptlevel="1" # CPU compiler optimizations - Defaults to prompt at kernel config if left empty -# AMD CPUs : "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" "zen" "zen2" "zen3" (zen3 opt support depends on GCC11) -# Intel CPUs : "mpsc"(P4 & older Netburst based Xeon) "atom" "core2" "nehalem" "westmere" "silvermont" "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylakex" "cannonlake" "icelake" "goldmont" "goldmontplus" "cascadelake" "cooperlake" "tigerlake" "sapphirerapids" "rocketlake" "alderlake" +# AMD CPUs : "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" "zen" "zen2" "zen3" "zen4" (zen3 opt support depends on GCC11) (zen4 opt support depends on GCC13) +# Intel CPUs : "mpsc"(P4 & older Netburst based Xeon) "atom" "core2" "nehalem" "westmere" "silvermont" "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylakex" "cannonlake" "icelake" "goldmont" "goldmontplus" "cascadelake" "cooperlake" "tigerlake" "sapphirerapids" "rocketlake" "alderlake" "raptorlake" "meteorlake" (raptorlake and meteorlake opt support require GCC13) # Other options : # - "native_amd" (use compiler autodetection - Selecting your arch manually in the list above is recommended instead of this option) # - "native_intel" (use compiler autodetection and will prompt for P6_NOPS - Selecting your arch manually in the list above is recommended instead of this option) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index fd92901..a259e6a 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -951,7 +951,7 @@ _tkg_srcprep() { _cpu_marchs+=("steamroller" "excavator" "zen" "zen2" "zen3" "zen4" "mpsc" "atom" "core2" "nehalem" "westmere") _cpu_marchs+=("bonnell" "silvermont" "sandybridge" "ivybridge" "haswell" "broadwell" "skylake") _cpu_marchs+=("skylakex" "cannonlake" "icelake" "goldmont" "goldmontplus" "cascadelake") - _cpu_marchs+=("cooperlake" "tigerlake" "sapphirerapids" "rocketlake" "alderlake" "meteorlake") + _cpu_marchs+=("cooperlake" "tigerlake" "sapphirerapids" "rocketlake" "alderlake" "raptorlake" "meteorlake") typeset -A _generic_march_map _generic_march_map=(