This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: FWD: FLOATING-POINT CONSISTENCY, -FFLOAT-STORE, AND X86


Tim Hollebeek <tim@wagner.princeton.edu> writes:

 > Marc Lehmann writes ...
 > > 
 > > I still don't see what the 64 bit precision idea gives us, in terms of
 > > performance. First, it doesn't give us full ieee, second, it kills
 > > performance, depending on where the rounding mode is set (before each
 > > assignment? resetting it to normal before each long double assignment?)
 > 
 > 64 bit rounding is a wonderful solution .... assuming the only
 > floating point type you ever use is 'double'.  As such, it makes sense
 > as a practical user level solution, but I'm afraid it's almost useless
 > as a general purpose solution.

As I just detailed, I don't think it's any worse wrt correct numerics
than using 80 bit FPU + 80 bit spills.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il


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