* removed two git DEPs
[t2sde.git] / architecture / x86-64 / config.in
blob354bf09805da4132c3790eaf826cb4fa1c95acdc
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: architecture/x86-64/config.in
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
5
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
8
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 #Description: x86-64 (AMD64, Intel EM64T)
15 choice SDECFG_X8664_OPT generic \
16         generic         "No special optimization"               \
17         x86-64-v2       "Optimized for x86-64-v2 (SSE3, SSSE3, SSE4, POPCNT)"   \
18         x86-64-v3       "Optimized for x86-64-v3 (AVX, AVX2, BMI, FMA, MOVBE)"  \
19         x86-64-v4       "Optimized for x86-64-v4 (AVX512{F,BW,CD,DQ,VL})"       \
20         k8              "Optimized for 1st gen AMD K8 / Opteron (SSE2, 3DNow!)" \
21         k8-sse3         "Optimized for AMD K8 with SSE3"        \
22         amdfam10        "Optimized for AMD K10 (Family 10h, SSE4A)"             \
23         bdver1          "Optimized for AMD Bulldozer (Family 15h, SSSE3, AVX)"  \
24         bdver2          "Optimized for AMD Piledriver (Family 15h, FMA)"        \
25         bdver3          "Optimized for AMD Steamroller (Family 15h)"    \
26         bdver4          "Optimized for AMD Excavator (Family 15h, AVX2)"        \
27         btver1          "Optimized for AMD Bobcat (Family 14h)" \
28         btver2          "Optimized for AMD Jaguar (Family 16h, AVX)"    \
29         znver1          "Optimized for AMD Zen (Family 17h, AVX2)"              \
30         znver2          "Optimized for AMD Zen 2 (Family 17h, FP-256)" \
31         znver3          "Optimized for AMD Zen 3 (Family 19h, VPCLMULQDQ, VAES)" \
32         znver4          "Optimized for AMD Zen 4 (Family 19h, AVX512)" \
33         nocona          "Optimized for Intel EM64T (Pentium 4, Xeon, SSE3)"     \
34         core2           "Optimized for Intel Core2 (SSSE3)"             \
35         nehalem         "Optimized for Intel Core-i 1-gen (Nehalem)"    \
36         westmere        "Optimized for Intel Core-i 1-gen (Westmere)"   \
37         sandybridge     "Optimized for Intel Core-i 2-gen (Sandybridge, AVX)"   \
38         ivybridge       "Optimized for Intel Core-i 3-gen (Ivybridge)"  \
39         haswell         "Optimized for Intel Core-i 4-gen (Haswell, AVX2)"      \
40         broadwell       "Optimized for Intel Core-i 5-gen (Broadwell)"  \
41         skylake         "Optimized for Intel Core-i 6-gen (Skylake)"    \
42         skylake-avx512  "Optimized for Intel Core-i 6-gen (Skylake, AVX512)"    \
43         cannonlake      "Optimized for Intel Core-i 9-gen (Cannonlake, AVX512)" \
44         icelake-client  "Optimized for Intel Core-i 10-gen (Icelake)" \
45         atom            "Optimized for Intel Atom" \
46         bonnell         "Optimized for Intel Atom Bonnel"       \
47         silvermont      "Optimized for Intel Atom Silvermont"
49 bool 'Default to 32-bit (X32) for the user-space applications' SDECFG_X8664_X32 0
51 if [ $SDECFG_X8664_OPT != generic ] ; then
52         SDECFG_ID="$SDECFG_ID-$SDECFG_X8664_OPT"
55 SDECFGSET_MULTILIB=1
57 if [ "$SDECFG_X8664_X32" = 1 ]; then
58         # gcc's default would only be mx32 in this case
59         SDECFG_ID="$SDECFG_ID-x32"
60         const SDECFG_MULTILIBLIST "mx32,m32"
61         SDECFGSET_MULTILIBLIST="mx32,m32"
64 . architecture/x86/boot-config.in