octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A Note by Kahan on how not to do some things


From: Peter L.
Subject: Re: A Note by Kahan on how not to do some things
Date: Thu, 21 Oct 2010 22:02:28 +0200

Just to add some information for those who are not aware of this:

At the time this note was written, Intel chips and derivatives used 80
bits internally in the registers, and then rounded to 64 bits when the
double precision numbers where written to memory. This is known as x87
code.

The SSE2 standard does not use 80 bits internally, but only 64 bits, and
today GCC emits SSE2 code to do floating point operations, because the
syntax of the instructions is some much easier to work with (the x87
used a stack-based approach). Therefore it is not possible anymore to
get the extra precision discussed in the paper, unless the compiler
reverts to x87, which will slow the code down by a large factor.

This was discussed in the ATLAS project when SSE2 came out. SSE2
effectively lowered the precision but enabled much faster and cleaner
code.

Cheers,

Peter.
 

fre, 08 10 2010 kl. 09:46 -0700, skrev Michael D Godfrey:
> John agreed that this could be of fairly wide interest to
> members of the list.
> 
> As most of you know, Kahan is the person who 
> created the IEEE floating point spec, among many other
> useful things including a very large number of well-educated
> students.
> 
> Michael
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]