From owner-freebsd-stable Mon Jul 24 11:32:34 2000 Delivered-To: freebsd-stable@freebsd.org Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id 2BB3337BBBE for ; Mon, 24 Jul 2000 11:32:19 -0700 (PDT) (envelope-from larse@ISI.EDU) Received: from isi.edu (hbo.isi.edu [128.9.160.75]) by boreas.isi.edu (8.9.3/8.9.3) with ESMTP id LAA25511; Mon, 24 Jul 2000 11:32:08 -0700 (PDT) Message-ID: <397C8BA8.12E3137A@isi.edu> Date: Mon, 24 Jul 2000 11:32:08 -0700 From: Lars Eggert Organization: USC Information Sciences Institute X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.1-RC i386) X-Accept-Language: en, de MIME-Version: 1.0 Cc: Dan Larsson , FreeBSD Stable List Subject: Re: Recommended compilation optimizations References: <20000724152021.A61713@relativity.student.utwente.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dave Boers wrote: > > On Mon, Jul 24, 2000 at 11:36:30AM +0200, Dan Larsson wrote: > > When doing a buildworld or buildkernel, what are the optimal compilation > > flags I can set for a system running Pentium Pro? > > -O -pipe > > AFAIK that's the only optimization that is more or less guaranteed to work. I've used these in make.conf for a while with no problems, but your mileage may vary: CFLAGS=-O3 -pipe -funroll-loops -march=pentiumprp COPTFLAGS=-O3 -pipe -funroll-loops -fomit-frame-pointer -fno-builtin -march=pentiumpro CXXFLAGS+= -fmemoize-lookups -fsave-memoized -- Lars Eggert Information Sciences Institute http://www.isi.edu/larse/ University of Southern California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message