From: Toon Moene <toon@moene.indiv.nluug.nl>
Subject: Re: Alpha performance under Linux ?
Date: 1997/10/05 [thread overview]
Message-ID: <617n32$80b$1@news.utrecht.NL.net> (raw)
In-Reply-To: 3436119E.6063D0D3@tarkus.se
Carlos Vidal <carlos@tarkus.se> wrote:
> Marcus Maskos wrote:
> > So I am interested in informations how good a Alpha chip
> > performs (interger an floating point) when working with linux and
compiling
> > with gcc or g77. Or is there a need for buying a commercial compiler to
reach
> > full performance of an Alpha chip?
>
> Gcc/g77 are quite still very slow (in relative terms) on the Alpha.
One of the reasons g77 leads to slow executables on Alpha is the inability of
the (current) backend to deal efficiently with array index calculations which
use half words (which is the default case if you're just using Fortran
programs with ordinary INTEGERs as array indices).
We are working on that problem.
A (non-supported) way of temporarily (i.e. until the *real* problem is fixed)
work-around this shortcoming is setting the preprocessor name
FFECOM_FASTER_ARRAY_REFS to 1 instead of 0 in f/com.c. This will make the
Fortran frontend spell out the array indexing computation to the code
generation phase, which happens to work around the "subword index" problem.
However, use at your own risk !
--
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.ai.mit.edu; NWP: http://www.knmi.nl/hirlam
prev parent reply other threads:[~1997-10-05 4:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-29 4:00 Alpha performance under Linux ? Marcus Maskos
1997-09-30 4:00 ` Carlos Vidal
1997-10-02 4:00 ` Marcus Maskos
1997-10-03 4:00 ` Michael C. Vergallen
1997-10-05 4:00 ` Philippe Le Foll
1997-10-08 4:00 ` Marcus Maskos
1997-10-08 4:00 ` Michael C. Vergallen
1997-10-08 4:00 ` Greg Lindahl
1997-10-04 4:00 ` Carlos Vidal
1997-10-05 4:00 ` Toon Moene [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox