mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
bsd.cpu.mk: Correct MACHINE_CPU for Intel Alder Lake
Apparently Intel Alder Lake lacks AVX-512 instructions.
Fixes: 09e7341c5e
"Catch up with Clang 12"
This commit is contained in:
parent
09e7341c5e
commit
e80145525b
@ -190,14 +190,14 @@ MACHINE_CPU = 3dnow mmx k6 k5 i586
|
||||
MACHINE_CPU = mmx k6 k5 i586
|
||||
. elif ${CPUTYPE} == "k5"
|
||||
MACHINE_CPU = k5 i586
|
||||
. elif ${CPUTYPE} == "alderlake" || ${CPUTYPE} == "sapphirerapids" || \
|
||||
${CPUTYPE} == "tigerlake" || ${CPUTYPE} == "cooperlake" || \
|
||||
${CPUTYPE} == "cascadelake" || ${CPUTYPE} == "icelake-server" || \
|
||||
${CPUTYPE} == "icelake-client" || ${CPUTYPE} == "cannonlake" || \
|
||||
${CPUTYPE} == "knm" || ${CPUTYPE} == "skylake-avx512" || ${CPUTYPE} == "knl"
|
||||
. elif ${CPUTYPE} == "sapphirerapids" || ${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"
|
||||
. elif ${CPUTYPE} == "alderlake" || ${CPUTYPE} == "skylake" || \
|
||||
${CPUTYPE} == "broadwell" || ${CPUTYPE} == "haswell"
|
||||
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
|
||||
@ -258,14 +258,14 @@ MACHINE_CPU = k8 3dnow sse3
|
||||
. elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || \
|
||||
${CPUTYPE} == "athlon-fx" || ${CPUTYPE} == "k8"
|
||||
MACHINE_CPU = k8 3dnow
|
||||
. elif ${CPUTYPE} == "alderlake" || ${CPUTYPE} == "sapphirerapids" || \
|
||||
${CPUTYPE} == "tigerlake" || ${CPUTYPE} == "cooperlake" || \
|
||||
${CPUTYPE} == "cascadelake" || ${CPUTYPE} == "icelake-server" || \
|
||||
${CPUTYPE} == "icelake-client" || ${CPUTYPE} == "cannonlake" || \
|
||||
${CPUTYPE} == "knm" || ${CPUTYPE} == "skylake-avx512" || ${CPUTYPE} == "knl"
|
||||
. elif ${CPUTYPE} == "sapphirerapids" || ${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"
|
||||
. elif ${CPUTYPE} == "alderlake" || ${CPUTYPE} == "skylake" || \
|
||||
${CPUTYPE} == "broadwell" || ${CPUTYPE} == "haswell"
|
||||
MACHINE_CPU = avx2 avx sse42 sse41 ssse3 sse3
|
||||
. elif ${CPUTYPE} == "ivybridge" || ${CPUTYPE} == "sandybridge"
|
||||
MACHINE_CPU = avx sse42 sse41 ssse3 sse3
|
||||
|
Loading…
Reference in New Issue
Block a user