This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] Another floating point speedup
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Cc: d at domob dot eu
- Date: Sun, 04 Jan 2009 22:23:56 +0100
- Subject: Re: [Patch, Fortran] Another floating point speedup
First, happy New Year!
Daniel,
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
Dominique