Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-11 Thread Kris Kennaway
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

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-11 Thread David O'Brien
On Wed, Sep 11, 2002 at 10:56:48AM -0700, Kris Kennaway wrote: +. 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

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-10 Thread David O'Brien
On Fri, Sep 06, 2002 at 06:08:23PM -0700, Maxime Henrion wrote: Forgot that one. Here is an updated patch. I'm quite sure that on the Intel side, only the pentium 4 have sse2, but I don't know if any AMD chip supports it yet. The attached patch only adds it for p4's. Athlon-{X,M}P support

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-10 Thread David O'Brien
On Fri, Sep 06, 2002 at 01:30:26PM -0700, Kris Kennaway wrote: `-mcpu=CPU-TYPE' Tune to CPU-TYPE everything applicable about the generated code, except for the ABI and the set of available instructions. The choices for CPU-TYPE are `i386', `i486', `i586', `i686',

Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-06 Thread Kris Kennaway
On Tue, Aug 06, 2002 at 06:55:11PM -0700, Peter Wemm wrote: `-mcpu=CPU-TYPE' Tune to CPU-TYPE everything applicable about the generated code, except for the ABI and the set of available instructions. The choices for CPU-TYPE are `i386', `i486', `i586', `i686',

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-06 Thread Dan Nelson
In the last episode (Sep 06), Kris Kennaway said: How about the following patch (I've only tested 'pentium3'): Index: share/mk/bsd.cpu.mk I've been using a similar patch ever since 3.* went into the tree with no problems. Haven't benchmarked the difference between pentiumpro and the other

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-06 Thread Maxime Henrion
Kris Kennaway wrote: On Tue, Aug 06, 2002 at 06:55:11PM -0700, Peter Wemm wrote: `-mcpu=CPU-TYPE' Tune to CPU-TYPE everything applicable about the generated code, except for the ABI and the set of available instructions. The choices for CPU-TYPE are `i386', `i486',

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-06 Thread Kris Kennaway
On Fri, Sep 06, 2002 at 05:55:47PM -0700, Maxime Henrion wrote: I've got a very similar patch which I believe to be a bit more complete because it also updates the MACHINE_CPU variable which lists the features available on a particular CPU. I attach it to this mail. Oops, I forgot that

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-06 Thread Maxime Henrion
Kris Kennaway wrote: On Fri, Sep 06, 2002 at 05:55:47PM -0700, Maxime Henrion wrote: I've got a very similar patch which I believe to be a bit more complete because it also updates the MACHINE_CPU variable which lists the features available on a particular CPU. I attach it to this mail.

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-06 Thread Kris Kennaway
On Fri, Sep 06, 2002 at 06:08:23PM -0700, Maxime Henrion wrote: Kris Kennaway wrote: On Fri, Sep 06, 2002 at 05:55:47PM -0700, Maxime Henrion wrote: I've got a very similar patch which I believe to be a bit more complete because it also updates the MACHINE_CPU variable which lists the

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-06 Thread Peter Wemm
Maxime Henrion wrote: Kris Kennaway wrote: On Fri, Sep 06, 2002 at 05:55:47PM -0700, Maxime Henrion wrote: I've got a very similar patch which I believe to be a bit more complete because it also updates the MACHINE_CPU variable which lists the features available on a particular