Subject: Re: -mtune=nocona for EMT64 machines
To: Blair Sadewitz <blair.sadewitz@gmail.com>
From: Juan RP <juan@xtrarom.org>
List: port-amd64
Date: 04/22/2007 15:08:12
On Sat, 21 Apr 2007 17:02:47 -0400
"Blair Sadewitz" <blair.sadewitz@gmail.com> wrote:

> I rebuilt the whole tree with -mtune=nocona, and I
> it seems like this may be the way to go (instead of, for example,
> -march=nocona) for EMT64 processors.  I have to run some benchmarks,
> but what inspired me to try this was looking at the table in
> override_options() in dist/gcc4/gcc/config/i386.c.
> 
> I also think we should build the kernel with all of the -mno-sse,
> -mno-mmx etc. flags present.

NetBSD uses minimal optimization flags, and IMHO it's ok.

If you want specific flags for your build, use CPUFLAGS or CFLAGS in
/etc/mk.conf.

-- 
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish