This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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