[patch][0/5] powerpc: Add support to fully comply with IEEE-754standard

Segher Boessenkool segher at kernel.crashing.org
Fri Jan 12 23:03:53 EST 2007


> When floating-point underflow exceptions are disabled
> (SPEFSCR[FUNFE] is cleared) and the result of a floating-point 
> operation
> underflows, a signed zero result is produced.

You probably want to make at least this one tweakable
per-process; on some important algorithms (some FFTs
etc.) the results are perfectly acceptable with underflow-
to-zero and the performance difference is huge.  AltiVec
can do this per-process too, for example -- it has a
user register for setting this, you need some other
interface though.


Segher




More information about the Linuxppc-dev mailing list