Date: Sun, 19 Jun 2005 10:33:26 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: "O. Hartmann" <ohartman@mail.uni-mainz.de> Cc: delphij@delphij.net, freebsd-amd64@freebsd.org Subject: Re: 6.0-Current and gcc 4.x Message-ID: <20050619173326.GA1276@troutmask.apl.washington.edu> In-Reply-To: <42B53F24.8020300@mail.uni-mainz.de> References: <42B409A7.5020909@mail.uni-mainz.de> <1119099681.759.22.camel@spirit> <42B53F24.8020300@mail.uni-mainz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 19, 2005 at 11:47:16AM +0200, O. Hartmann wrote: > > Maybe this is a bit of off topic, but I'm curious about why gcc 4.0 let > FreeBSD run into performance penalties. May you give me a hint for > further digging the net? I'm interested in this. GCC 4.0 has an entirely new infrastructure on which optimizations are to be base (ie., tree-ssa). Some of the optimizations available in gcc 3.x are not yet available on 4.0. Others require additional tuning. > Well, the major intention is to use a faster C and/or free Fortran > compiler doing my numerical research on FreeBSD boxes. In most cases I > gained success on compiling Fortran90 code with PGI and/or Intel V8 > compilers, running this code on FBSD 5.3/4 boxes within the Linuxulator. > I found out that some C code performs not that fast as expected using > PGI or Intel C compiler, but Fortran code (F77) performs really faster > (fast in the manner of: it is useable!). > On a pure AMD64-FreeBSD 5.4-STABLE box I feel like a dead man in the > water because I do not have access to a 64Bit Linuxulator using the > 64Bit versions of Intel or PGI (which gave me a real boost on our SuSE > Linux Cluster, but I do not wish to develop under Linux, sorry). You should be able to install gcc 4.0.1 in /usr/local/ and use it for your needs. gfortran, the new Fortran 95 compiler, works on most codes and I use it everyday. There are some bugs in complex modules and derived types, but the gfortran developers are making good progress in killing off bugs. troutmask:kargl[202] uname -m amd64 troutmask:kargl[208] gfortran -v Using built-in specs. Target: amd64-unknown-freebsd6.0 -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050619173326.GA1276>