Skip to content

Commit

Permalink
Add "tigerlake" CPUTYPE for x86 to catch up with Clang 10.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
juikim committed Mar 10, 2020
1 parent c5672d1 commit e754c10
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
15 changes: 8 additions & 7 deletions share/examples/etc/make.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@
# k8-sse3, opteron, athlon64, athlon-fx, k8, athlon-mp,
# athlon-xp, athlon-4, athlon-tbird, athlon, k7, geode,
# k6-3, k6-2, k6
# (Intel CPUs) cooperlake, cascadelake, tremont, goldmont-plus,
# icelake-server, icelake-client, cannonlake, knm,
# skylake-avx512, knl, goldmont, skylake, broadwell,
# haswell, ivybridge, sandybridge, westmere, nehalem,
# silvermont, bonnell, core2, core, nocona, pentium4m,
# pentium4, prescott, pentium3m, pentium3, pentium-m,
# pentium2, pentiumpro, pentium-mmx, pentium, i486
# (Intel CPUs) tigerlake, cooperlake, cascadelake, tremont,
# goldmont-plus, icelake-server, icelake-client,
# cannonlake, knm, skylake-avx512, knl, goldmont,
# skylake, broadwell, haswell, ivybridge, sandybridge,
# westmere, nehalem, silvermont, bonnell, core2, core,
# nocona, pentium4m, pentium4, prescott, pentium3m,
# pentium3, pentium-m, pentium2, pentiumpro, pentium-mmx,
# pentium, i486
# (VIA CPUs) c7, c3-2, c3
# ARM architecture: armv5, armv5te, armv6, armv6t2, arm1176jzf-s, armv7,
# armv7-a, armv7ve, generic-armv7-a, cortex-a5,
Expand Down
16 changes: 8 additions & 8 deletions share/mk/bsd.cpu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ MACHINE_CPU = 3dnow mmx k6 k5 i586
MACHINE_CPU = mmx k6 k5 i586
. elif ${CPUTYPE} == "k5"
MACHINE_CPU = k5 i586
. elif ${CPUTYPE} == "cooperlake" || ${CPUTYPE} == "cascadelake" || \
${CPUTYPE} == "icelake-server" || ${CPUTYPE} == "icelake-client" || \
${CPUTYPE} == "cannonlake" || ${CPUTYPE} == "knm" || \
${CPUTYPE} == "skylake-avx512" || ${CPUTYPE} == "knl"
. elif ${CPUTYPE} == "tigerlake" || ${CPUTYPE} == "cooperlake" || \
${CPUTYPE} == "cascadelake" || ${CPUTYPE} == "icelake-server" || \
${CPUTYPE} == "icelake-client" || ${CPUTYPE} == "cannonlake" || \
${CPUTYPE} == "knm" || ${CPUTYPE} == "skylake-avx512" || ${CPUTYPE} == "knl"
MACHINE_CPU = avx512 avx2 avx sse42 sse41 ssse3 sse3 sse2 sse i686 mmx i586
. elif ${CPUTYPE} == "skylake" || ${CPUTYPE} == "broadwell" || \
${CPUTYPE} == "haswell"
Expand Down Expand Up @@ -249,10 +249,10 @@ MACHINE_CPU = k8 3dnow sse3
. elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || \
${CPUTYPE} == "athlon-fx" || ${CPUTYPE} == "k8"
MACHINE_CPU = k8 3dnow
. elif ${CPUTYPE} == "cooperlake" || ${CPUTYPE} == "cascadelake" || \
${CPUTYPE} == "icelake-server" || ${CPUTYPE} == "icelake-client" || \
${CPUTYPE} == "cannonlake" || ${CPUTYPE} == "knm" || \
${CPUTYPE} == "skylake-avx512" || ${CPUTYPE} == "knl"
. elif ${CPUTYPE} == "tigerlake" || ${CPUTYPE} == "cooperlake" || \
${CPUTYPE} == "cascadelake" || ${CPUTYPE} == "icelake-server" || \
${CPUTYPE} == "icelake-client" || ${CPUTYPE} == "cannonlake" || \
${CPUTYPE} == "knm" || ${CPUTYPE} == "skylake-avx512" || ${CPUTYPE} == "knl"
MACHINE_CPU = avx512 avx2 avx sse42 sse41 ssse3 sse3
. elif ${CPUTYPE} == "skylake" || ${CPUTYPE} == "broadwell" || \
${CPUTYPE} == "haswell"
Expand Down

0 comments on commit e754c10

Please sign in to comment.