Catch up with Clang 4.0.0.
This commit is contained in:
parent
67833f2936
commit
982ee4e2f5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314875
@ -44,7 +44,7 @@
|
||||
# if omitted), ultrasparc3
|
||||
# Additionally the following CPU types are recognized by clang:
|
||||
# Intel x86 architecture (for both amd64 and i386):
|
||||
# (AMD CPUs) bdver4, bdver3, bdver2, bdver1, btver2, btver1
|
||||
# (AMD CPUs) znver1, bdver4, bdver3, bdver2, bdver1, btver2, btver1
|
||||
# (Intel CPUs) skylake, knl, broadwell, haswell, ivybridge,
|
||||
# sandybridge, westmere, nehalem, silvermont, bonnell
|
||||
#
|
||||
|
@ -173,7 +173,9 @@ _CPUCFLAGS = -mcpu=${CPUTYPE}
|
||||
|
||||
########## i386
|
||||
. if ${MACHINE_CPUARCH} == "i386"
|
||||
. if ${CPUTYPE} == "bdver4"
|
||||
. if ${CPUTYPE} == "znver1"
|
||||
MACHINE_CPU = avx2 avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586
|
||||
. elif ${CPUTYPE} == "bdver4"
|
||||
MACHINE_CPU = xop avx2 avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586
|
||||
. elif ${CPUTYPE} == "bdver3" || ${CPUTYPE} == "bdver2" || \
|
||||
${CPUTYPE} == "bdver1"
|
||||
@ -242,7 +244,9 @@ MACHINE_CPU = mmx
|
||||
MACHINE_CPU += i486
|
||||
########## amd64
|
||||
. elif ${MACHINE_CPUARCH} == "amd64"
|
||||
. if ${CPUTYPE} == "bdver4"
|
||||
. if ${CPUTYPE} == "znver1"
|
||||
MACHINE_CPU = avx2 avx sse42 sse41 ssse3 sse4a sse3
|
||||
. elif ${CPUTYPE} == "bdver4"
|
||||
MACHINE_CPU = xop avx2 avx sse42 sse41 ssse3 sse4a sse3
|
||||
. elif ${CPUTYPE} == "bdver3" || ${CPUTYPE} == "bdver2" || \
|
||||
${CPUTYPE} == "bdver1"
|
||||
|
Loading…
Reference in New Issue
Block a user