summarylogtreecommitdiffstats
path: root/choose-gcc-optimization.sh
diff options
context:
space:
mode:
authorMiklós Tóth2021-05-23 12:07:36 +0000
committerMiklós Tóth2021-05-23 12:07:36 +0000
commit47643c69aa99d8345f6e06779b631ebac3110132 (patch)
treef4c9a7801c23704ce7669eb72cb1608e05e3adbf /choose-gcc-optimization.sh
parentf23789967682bb067f663acab4f4c3b01d27c8f3 (diff)
downloadaur-47643c69aa99d8345f6e06779b631ebac3110132.tar.gz
automatic update
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 e45a2108459..f10eec54b81 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 ;;