When CPUTYPE is defined to any value, on amd64 platform "mmx" is

available through MACHINE_CPU, indicating the CPU supports that
feature, as done by revision 138685.

This changeset adds "mmx" into the default amd64 MACHINE_CPU list
when no CPUTYPE is specified to provide consistent behavior.

PR:		amd64/145593
Submitted by:	mm
MFC after:	2 weeks
This commit is contained in:
Xin LI 2010-04-21 01:13:08 +00:00
parent 0e4ae43e17
commit 611049ae75
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206973

View File

@ -9,7 +9,7 @@ _CPUCFLAGS =
. if ${MACHINE_ARCH} == "i386"
MACHINE_CPU = i486
. elif ${MACHINE_ARCH} == "amd64"
MACHINE_CPU = amd64 sse2 sse
MACHINE_CPU = amd64 sse2 sse mmx
. elif ${MACHINE_ARCH} == "ia64"
MACHINE_CPU = itanium
. elif ${MACHINE_ARCH} == "powerpc"