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
msg36876/pgp00000.pgp
Description: PGP signature

