From owner-freebsd-questions Tue Jul 29 03:26:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA02304 for questions-outgoing; Tue, 29 Jul 1997 03:26:41 -0700 (PDT) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA02298 for ; Tue, 29 Jul 1997 03:26:35 -0700 (PDT) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id MAA29781; Tue, 29 Jul 1997 12:27:11 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.8.5/8.6.9) id MAA00542; Tue, 29 Jul 1997 12:27:02 +0200 (MEST) Message-ID: <19970729122701.26536@gil.physik.rwth-aachen.de> Date: Tue, 29 Jul 1997 12:27:01 +0200 From: Christoph Kukulies To: Sylvain Hubert Cc: freebsd-questions@FreeBSD.ORG Subject: Re: fortran compiler References: <33D8FF0C.7D6B@physics.uottawa.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.75e In-Reply-To: <33D8FF0C.7D6B@physics.uottawa.ca>; from Sylvain Hubert on Fri, Jul 25, 1997 at 03:31:24PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Jul 25, 1997 at 03:31:24PM -0400, Sylvain Hubert wrote: > Hi! > > I am testing the f2c compiler on a PentiumPro (freeBSD OS) and > it seems that the optimization is not very efficient. It > might be because I do not use the proper options. I only try the > option -O3 for optimization. > > Do someone knows how to optimize a fortan code for a Pentium Pro, > in other word, what options should I put? > > Or, do someone knows of any good fortran compiler for a PentiumPro > chip? > > Thank you in advance for any reply! > > Sylvain... In what areas do you want to achieve optiimization? FP performance? Code size? Code speed? Optimizing for C is generally speaking also good for f77 (f2c). You might recompile libmsun with -DHAVE_FPU (/etc/make.conf). But beware of the consequences of loosing IEEE compliance. -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de