summarylogtreecommitdiffstats
path: root/choose-gcc-optimization.sh
diff options
context:
space:
mode:
authorJoan Figueras2021-01-28 21:20:59 +0100
committerJoan Figueras2021-01-28 21:21:52 +0100
commit40af76b597e6c6bb5d11743f5a4f3186ba0abf0a (patch)
treec548f1d5359acdd745e4a7387c106d0b6be741ea /choose-gcc-optimization.sh
parent55c8ce73bc01ca086dfc42d43e8351f1c26bee91 (diff)
downloadaur-40af76b597e6c6bb5d11743f5a4f3186ba0abf0a.tar.gz
Added Cascade Lake and Cooper Lake. Native is moved to 99
Diffstat (limited to 'choose-gcc-optimization.sh')
-rwxr-xr-xchoose-gcc-optimization.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/choose-gcc-optimization.sh b/choose-gcc-optimization.sh
index ccf182e91190..1a537df29334 100755
--- a/choose-gcc-optimization.sh
+++ b/choose-gcc-optimization.sh
@@ -52,8 +52,10 @@ cat << EOF
39) Intel 8th Gen Core i3/i5/i7-family (Cannon Lake)
40) Intel 8th Gen Core i7/i9-family (Ice Lake)
41) Xeon processors in the Cascade Lake family
+ 42) Intel Xeon (Cooper Lake)
+ 43) Intel 3rd Gen 10nm++ i3/i5/i7/i9-family (Tiger Lake)
- 42) Native optimizations autodetected by GCC
+ 99) Native optimizations autodetected by GCC
0) Generic (default)
@@ -104,7 +106,9 @@ case $answer in
39) Microarchitecture=CONFIG_MCANNONLAKE ;;
40) Microarchitecture=CONFIG_MICELAKE ;;
41) Microarchitecture=CONFIG_MCASCADELAKE ;;
- 42) Microarchitecture=CONFIG_MNATIVE ;;
+ 42) Microarchitecture=CONFIG_MCOOPERLAKE ;;
+ 43) Microarchitecture=CONFIG_MTIGERLAKE ;;
+ 99) Microarchitecture=CONFIG_MNATIVE ;;
*) default=CONFIG_GENERIC_CPU ;;
esac