Add CPUTYPE support for Via C3 and C3-2 processors.

MFC after:	2 weeks
This commit is contained in:
Dag-Erling Smørgrav 2006-07-19 11:27:19 +00:00
parent 961ed9347e
commit 7fa5ba9e34
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160497
2 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,7 @@
# athlon-tbird athlon k8 k6-3 k6-2 k6 k5
# (Intel CPUs) nocona pentium4[m] prescott pentium3[m] pentium-m
# pentium2 pentiumpro pentium-mmx pentium i486 i386
# (Via CPUs) c3 c3-2
# Alpha/AXP architecture: ev67 ev6 pca56 ev56 ev5 ev45 ev4
# AMD64 architecture: opteron, athlon64, nocona
# Intel ia64 architecture: itanium2, itanium

View File

@ -132,6 +132,10 @@ MACHINE_CPU = 3dnow mmx k6 k5 i586 i486 i386
MACHINE_CPU = mmx k6 k5 i586 i486 i386
. elif ${CPUTYPE} == "k5"
MACHINE_CPU = k5 i586 i486 i386
. elif ${CPUTYPE} == "c3"
MACHINE_CPU = 3dnow mmx i586 i486 i386
. elif ${CPUTYPE} == "c3-2"
MACHINE_CPU = sse mmx i586 i486 i386
. elif ${CPUTYPE} == "pentium4" || ${CPUTYPE} == "pentium4m" || ${CPUTYPE} == "pentium-m"
MACHINE_CPU = sse2 sse i686 mmx i586 i486 i386
. elif ${CPUTYPE} == "pentium3" || ${CPUTYPE} == "pentium3m"