[Patch, Fortran] Another floating point speedup
Daniel Kraft
d@domob.eu
Mon Jan 5 10:06:00 GMT 2009
Hi Dominique,
thanks for testing my pach!
Dominique Dhumieres wrote:
> I have applied the patch in http://gcc.gnu.org/ml/fortran/2009-01/msg00025.html.
> On a 2.1Ghz Core2Duo, Darwin9, the timing of the test goes from 35s to 26s (-m64 -O3,
> for reference with ifort it takes less than 13s). I have two failures with the NIST
> tests: FM110 and 900. The failures for FM110 can be reduced to
>
> character(15) :: str="+ .339567+2"
> character(15) :: str1="+.339567+2"
> real :: x
> read(str1,*) x
> print *, x
> read(str,*) x
> print *, x
> end
>
> where STR gives:
>
> At line 6 of file read_tst.f90
> Fortran runtime error: Bad real number in item 1 of list input
I don't think this has something to do with it, though, as this error
message is not generated by my code; and gfortran 4.3 gives this error,
too, on my system (unless I messed something up). This looks like
something to fix with the following up list_read patches, maybe.
Daniel
--
Done: Arc-Bar-Cav-Rog-Sam-Tou-Val-Wiz
To go: Hea-Kni-Mon-Pri-Ran
More information about the Fortran
mailing list