Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!flute.cs.uiuc.edu!grunwald From: grunwald@flute.cs.uiuc.edu (Dirk Grunwald) Newsgroups: comp.lang.c++ Subject: Re: C++ vrs Fortran for linear algebra. Message-ID: Date: 30 Jul 89 16:48:38 GMT References: <3967@portia.Stanford.EDU> <508@gill.UUCP> Sender: news@brutus.cs.uiuc.edu Reply-To: grunwald@flute.cs.uiuc.edu Organization: University of Illinois, Urbana-Champaign Lines: 12 In-reply-to: schwartz@shire.cs.psu.edu's message of 30 Jul 89 06:41:44 GMT Is there a math inline library for the SPARC? The SQRT computation is a fairly heafty part of the entire computation. On a Sun-3, the math-inline library helps a good deal (that's what the .il library is doing). From what I saw on the Sun-3, f77 -O4 appears to force the inlines (I didn't specify them, but calls to fsqrtx were generated anyway). It's hard to believe that using stacked arrays would make it *slower* that a version using malloc; did my modified version eliminate the dope vectors? I do notice that it used doubles, not floats. -- Dirk Grunwald -- Univ. of Illinois (grunwald@flute.cs.uiuc.edu)