Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 11:00:22 -0800
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        =?iso-8859-1?Q?Thomas_K=F6llmann?= <koellmann@gmx.net>
Cc:        R Joseph Wright <rjoseph@nwlink.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: gcc -Os optimisation broken (RELENG_4)
Message-ID:  <20000318110022.A60879@dragon.nuxi.com>
In-Reply-To: <20000318031845.A1816@home.net>; from koellmann@gmx.net on Sat, Mar 18, 2000 at 03:18:45AM %2B0100
References:  <20000317125045.A15480@schumann.cx> <Pine.BSF.4.21.0003170922440.9372-100000@mammalia.sea> <20000318031845.A1816@home.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 18, 2000 at 03:18:45AM +0100, Thomas Köllmann wrote:
> | Perhaps this is a bit off topic, but can the pentium optimisations be used
> | for AMD K6 processors?
> 
> I did a `make world' yesterday with 
>         CFLAGS=         -O2 -pipe -march=pentium
>         COPTFLAGS=      -O2 -pipe -march=pentium
..snip..
> If it doesn't I'll probably try `-03 -pipe -march=pentium' come next


What are people hoping to get by doing this?  Are you actually doing a
scientific performance evaluation between the various optimization
options???  Are are people just being macho, and thinking they are
getting all this non-existent performance increase?  

"-O" is the only globally safe optimization on FreeBSD.  -O2, etc..
causes various problems for various people in various ports, and parts of
/usr/src/.  If people are using these options just for fun, that is fine,
BUT if you experience *any* problems with compiling using -O2, etc..
don't bug this list -- go bug the GCC people.

-- 
-- David    (obrien@NUXI.com)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000318110022.A60879>