Subject: Re: default optimization
To: Wojciech Puchar <wojtek@wojtek.from.pl>
From: Jared D. McNeill <jmcneill@invisible.yi.org>
List: port-i386
Date: 01/22/2001 16:46:11
On Mon, 22 Jan 2001, Wojciech Puchar wrote:
> > : i mean cpu optimization (like -m386, -m486, -mpentium or -mpentiumpro)
> >
> > On i386, we use least common denominator (-m386).  We support processors all
> > the way down to 80386 (hence the name "i386").  All base and package
> > binaries posted on ftp.netbsd.org use this default setting.
> > Note that -m386, -m486, etc. are CPU code generation (not optimization)
> > settings -- if you use -m486, you get code that an 80386 *cannot* run.
> is gcc in netbsd changed???
>
> in linux -mpentiumpro compiled binaries run on 386 CPU - gcc uses only 386
> opcodes...

I seem to remember the same thing -- I thought that it was the
'-march=...' flag that did the 'CPU code generation' thing.

Jared