GCC for Mac OS X

Toon Moene toon@moene.indiv.nluug.nl
Mon Feb 14 16:09:00 GMT 2000


Stan Shebs wrote:

> I wrote:

> > us physicists are very much interested in
> > a g77 generating vector arithmetic on a home computer (or even a laptop
> > - if Apple ever manages to put a G4 in a PowerBook ;-)

> In between doing email, I'm studying the patch.  It seems to involve a
> number of source language extensions, which is the part that seems
> especially difficult to justify for GCC.  On the other hand, the
> extensions have already been adopted by other G4 compilers, so GCC may
> want to do that just to keep up.  More as I find it out...

Hmmm, do I read correctly, between the lines, here that generating
vector code is dependent on support by frontends - bummer, that would
mean that the following obvious Fortran candidate code isn't improved at
all:

      subroutine saxpy(x,a,y,n)
      dimension x(n), y(n)
      do i = 1, n
         y(i) = y(i) + a * x(i)
      enddo
      end

?

[ I hope the answer is no ;-) ]

-- 
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
GNU Fortran: http://gcc.gnu.org/onlinedocs/g77_news.html


More information about the Gcc mailing list