This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GNU Fortran 90?


Zack Weinberg wrote:

> On Wed, Nov 15, 2000 at 08:22:45PM +0100, Toon Moene wrote:

> > This means that to be able to use AltiVec, we have to build a
> > vectorising pass into the middle-end of GCC (and then g77 code would
> > profit as well).

> I hope you are not still intending to keep g77 around after g95 is
> complete.

No, but the operative word here is "complete".  g95 is *not* "complete
as a replacement for g77* IMHO, until it implements all language
features that g77 now offers.  Note that this at least means:

1. Completing g95 parser.

2. Coupling parser internal representation to GCC trees.

3. Writing run time library.

4. Adding all that's in g77 but not in Fortran 95.

Especially step 3. could take a long time (i.e. O(1 year)).  My estimate
for a vectorisation pass would be "several months" for someone who's
well versed in loop.[ch] and unroll.c (vectorisation is effectively a
form of loop unrolling coupled with adequate alias analysis).

So from my point of view it could well be that automatic vectorisation
is added to GCC before g77 is removed.  In that case g77 would benefit
from this as well - although not as much as I would want, because RTH
recently discovered that John Carr's alias analysis just doesn't work
perfectly for g77 (expletives elided).

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]