summarylogtreecommitdiffstats
path: root/choose-gcc-optimization.sh
diff options
context:
space:
mode:
authorJoan Figueras2021-05-21 23:36:12 +0200
committerJoan Figueras2021-05-21 23:36:12 +0200
commit3851a782faf1eab136646082139ca8f5b933e4b9 (patch)
treecc5d9e09589b6553eb2dbc11696185d2e327b36f /choose-gcc-optimization.sh
parent989ff611c793215ba6f3b11c4ec96765de04766e (diff)
downloadaur-3851a782faf1eab136646082139ca8f5b933e4b9.tar.gz
Added new microarchitectures Generic-x86-64-v2, 3 and 4
Diffstat (limited to 'choose-gcc-optimization.sh')
-rwxr-xr-xchoose-gcc-optimization.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/choose-gcc-optimization.sh b/choose-gcc-optimization.sh
index e45a21084594..f10eec54b81d 100755
--- a/choose-gcc-optimization.sh
+++ b/choose-gcc-optimization.sh
@@ -59,6 +59,10 @@ cat << EOF
46) Intel Rocket Lake
47) Intel Alder Lake
+ 92) Generic-x86-64-v2 (Nehalem and newer)
+ 93) Generic-x86-64-v3 (Haswell and newer)
+ 94) Generic-x86-64-v4 (AVX512 CPUs)
+
98) Intel-Native optimizations autodetected by GCC
99) AMD-Native optimizations autodetected by GCC
@@ -117,6 +121,9 @@ case $answer in
45) Microarchitecture=CONFIG_MSAPPHIRERAPIDS ;;
46) Microarchitecture=CONFIG_MROCKETLAKE ;;
47) Microarchitecture=CONFIG_MALDERLAKE ;;
+ 92) Microarchitecture=CONFIG_GENERIC_CPU2 ;;
+ 93) Microarchitecture=CONFIG_GENERIC_CPU3 ;;
+ 94) Microarchitecture=CONFIG_GENERIC_CPU4 ;;
98) Microarchitecture=CONFIG_MNATIVE_INTEL ;;
99) Microarchitecture=CONFIG_MNATIVE_AMD ;;
*) default=CONFIG_GENERIC_CPU ;;