Date: Wed, 11 Sep 2002 10:56:48 -0700 From: Kris Kennaway <kris@obsecurity.org> To: David O'Brien <obrien@FreeBSD.ORG> Cc: Kris Kennaway <kris@obsecurity.org>, Peter Wemm <peter@wemm.org>, Darren Pilgrim <dmp@pantherdragon.org>, Matthew Dillon <dillon@apollo.backplane.com>, Dan Nelson <dnelson@allantgroup.com>, Terry Lambert <tlambert2@mindspring.com>, Jason Andresen <jandrese@mitre.org>, Dmitry Morozovsky <marck@rinet.ru>, hackers@FreeBSD.ORG Subject: Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build) Message-ID: <20020911175648.GB96962@xor.obsecurity.org> In-Reply-To: <20020911044156.GB91353@dragon.nuxi.com> References: <3D50664F.71603B49@pantherdragon.org> <20020807015511.A1A092A7D6@canning.wemm.org> <20020906203026.GA78157@xor.obsecurity.org> <20020911044156.GB91353@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Tue, Sep 10, 2002 at 09:41:56PM -0700, David O'Brien wrote:
> +. if ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || ${CPUTYPE} == "athlon-4" || ${CPUTYPE} == "athlon"
> +_CPUCFLAGS = -march=${CPUTYPE}
> . elif ${CPUTYPE} == "k6-3"
> _CPUCFLAGS = -march=k6-3
> . elif ${CPUTYPE} == "k6-2"
Why stop there? Nearly all of the CPUTYPE values are the same as
their -march commands.
> +. if ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || ${CPUTYPE} == "athlon-4"
> +MACHINE_CPU = athlon-xp k7 3dnow see mmx k6 k5 i586 i486 i386
^^^ typo
> +. elif ${CPUTYPE} == "athlon" || ${CPUTYPE} == "athlon-tbird"
> +MACHINE_CPU = athlon k7 3dnow mmx k6 k5 i586 i486 i386
Can you think of a situtation where the athlon/athlon-xp capabilities
would need to be tested? i.e. what would they be used for?
Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
iD8DBQE9f4PfWry0BWjoQKURApB4AKCKsmJJO9uzkROoVg6EdkRNMWYIFgCgr3qT
50yNqP5zM2I7moKbfmx6DBU=
=Qgrh
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020911175648.GB96962>
