bsd.cpu.mk: add support for x86-64-v[234] levels as CPUTYPE
These are supported in LLVM 12 and GCC 11: https://github.com/llvm/llvm-project/commit/012dd42e027e https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=324bec558e95584e8c1997575ae9d75978af59f1 Differential Revision: https://reviews.freebsd.org/D29150
This commit is contained in:
parent
b542c9e42b
commit
362fef2f4a
@ -194,16 +194,19 @@ MACHINE_CPU = k5 i586
|
||||
${CPUTYPE} == "cooperlake" || ${CPUTYPE} == "cascadelake" || \
|
||||
${CPUTYPE} == "icelake-server" || ${CPUTYPE} == "icelake-client" || \
|
||||
${CPUTYPE} == "cannonlake" || ${CPUTYPE} == "knm" || \
|
||||
${CPUTYPE} == "skylake-avx512" || ${CPUTYPE} == "knl"
|
||||
${CPUTYPE} == "skylake-avx512" || ${CPUTYPE} == "knl" || \
|
||||
${CPUTYPE} == "x86-64-v4"
|
||||
MACHINE_CPU = avx512 avx2 avx sse42 sse41 ssse3 sse3 sse2 sse i686 mmx i586
|
||||
. elif ${CPUTYPE} == "alderlake" || ${CPUTYPE} == "skylake" || \
|
||||
${CPUTYPE} == "broadwell" || ${CPUTYPE} == "haswell"
|
||||
${CPUTYPE} == "broadwell" || ${CPUTYPE} == "haswell" || \
|
||||
${CPUTYPE} == "x86-64-v3"
|
||||
MACHINE_CPU = avx2 avx sse42 sse41 ssse3 sse3 sse2 sse i686 mmx i586
|
||||
. elif ${CPUTYPE} == "ivybridge" || ${CPUTYPE} == "sandybridge"
|
||||
MACHINE_CPU = avx sse42 sse41 ssse3 sse3 sse2 sse i686 mmx i586
|
||||
. elif ${CPUTYPE} == "tremont" || ${CPUTYPE} == "goldmont-plus" || \
|
||||
${CPUTYPE} == "goldmont" || ${CPUTYPE} == "westmere" || \
|
||||
${CPUTYPE} == "nehalem" || ${CPUTYPE} == "silvermont"
|
||||
${CPUTYPE} == "nehalem" || ${CPUTYPE} == "silvermont" || \
|
||||
${CPUTYPE} == "x86-64-v2"
|
||||
MACHINE_CPU = sse42 sse41 ssse3 sse3 sse2 sse i686 mmx i586
|
||||
. elif ${CPUTYPE} == "penryn"
|
||||
MACHINE_CPU = sse41 ssse3 sse3 sse2 sse i686 mmx i586
|
||||
@ -212,7 +215,7 @@ MACHINE_CPU = ssse3 sse3 sse2 sse i686 mmx i586
|
||||
. elif ${CPUTYPE} == "yonah" || ${CPUTYPE} == "prescott"
|
||||
MACHINE_CPU = sse3 sse2 sse i686 mmx i586
|
||||
. elif ${CPUTYPE} == "pentium4" || ${CPUTYPE} == "pentium4m" || \
|
||||
${CPUTYPE} == "pentium-m"
|
||||
${CPUTYPE} == "pentium-m" || ${CPUTYPE} == "x86-64"
|
||||
MACHINE_CPU = sse2 sse i686 mmx i586
|
||||
. elif ${CPUTYPE} == "pentium3" || ${CPUTYPE} == "pentium3m"
|
||||
MACHINE_CPU = sse i686 mmx i586
|
||||
@ -262,16 +265,19 @@ MACHINE_CPU = k8 3dnow
|
||||
${CPUTYPE} == "cooperlake" || ${CPUTYPE} == "cascadelake" || \
|
||||
${CPUTYPE} == "icelake-server" || ${CPUTYPE} == "icelake-client" || \
|
||||
${CPUTYPE} == "cannonlake" || ${CPUTYPE} == "knm" || \
|
||||
${CPUTYPE} == "skylake-avx512" || ${CPUTYPE} == "knl"
|
||||
${CPUTYPE} == "skylake-avx512" || ${CPUTYPE} == "knl" || \
|
||||
${CPUTYPE} == "x86-64-v4"
|
||||
MACHINE_CPU = avx512 avx2 avx sse42 sse41 ssse3 sse3
|
||||
. elif ${CPUTYPE} == "alderlake" || ${CPUTYPE} == "skylake" || \
|
||||
${CPUTYPE} == "broadwell" || ${CPUTYPE} == "haswell"
|
||||
${CPUTYPE} == "broadwell" || ${CPUTYPE} == "haswell" || \
|
||||
${CPUTYPE} == "x86-64-v3"
|
||||
MACHINE_CPU = avx2 avx sse42 sse41 ssse3 sse3
|
||||
. elif ${CPUTYPE} == "ivybridge" || ${CPUTYPE} == "sandybridge"
|
||||
MACHINE_CPU = avx sse42 sse41 ssse3 sse3
|
||||
. elif ${CPUTYPE} == "tremont" || ${CPUTYPE} == "goldmont-plus" || \
|
||||
${CPUTYPE} == "goldmont" || ${CPUTYPE} == "westmere" || \
|
||||
${CPUTYPE} == "nehalem" || ${CPUTYPE} == "silvermont"
|
||||
${CPUTYPE} == "nehalem" || ${CPUTYPE} == "silvermont" || \
|
||||
${CPUTYPE} == "x86-64-v2"
|
||||
MACHINE_CPU = sse42 sse41 ssse3 sse3
|
||||
. elif ${CPUTYPE} == "penryn"
|
||||
MACHINE_CPU = sse41 ssse3 sse3
|
||||
|
Loading…
Reference in New Issue
Block a user