From owner-freebsd-current Sat Mar 18 11: 0:56 2000 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 29D1237BA70 for ; Sat, 18 Mar 2000 11:00:23 -0800 (PST) (envelope-from obrien@NUXI.ucdavis.edu) Received: from dragon.nuxi.com (root@d60-024.leach.ucdavis.edu [169.237.60.24]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id LAA41296; Sat, 18 Mar 2000 11:00:22 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id LAA60915; Sat, 18 Mar 2000 11:00:22 -0800 (PST) (envelope-from obrien) Date: Sat, 18 Mar 2000 11:00:22 -0800 From: "David O'Brien" To: =?iso-8859-1?Q?Thomas_K=F6llmann?= Cc: R Joseph Wright , freebsd-current@FreeBSD.ORG Subject: Re: gcc -Os optimisation broken (RELENG_4) Message-ID: <20000318110022.A60879@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20000317125045.A15480@schumann.cx> <20000318031845.A1816@home.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i In-Reply-To: <20000318031845.A1816@home.net>; from koellmann@gmx.net on Sat, Mar 18, 2000 at 03:18:45AM +0100 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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