[parisc-linux] FYI floating point

Jim Hull jim_hull@hp.com
Wed, 28 Mar 2001 16:44:56 -0800


Paul wrote:

> Apparently
> the FPU expects emulation to handle the exceptional cases of some
> instructions (such as division by a very tiny number).  Don't count
> on this to be fixed until sometime next week.

Yes, the architecture allows the FP hardware to give up and trap to the
emulation handler for any reason whatsoever.  The emulation handler is
expected to include a full implementation of all instructions.

When the lack of of an FP emulation handler in parisc-linux was first
discussed on this list, I started the machinery inside HP to get the HP-UX
one open-sourced.  Thanks to the work of many individuals in HP, this is
actually happening now.  So, if you'd like to hack in some minimal support
to get a particular program working, fine, but otherwise I would suggest
you wait until the HP-UX handler is released.

 -- Jim