freebsd-dev/sys/powerpc
Doug Rabson 5b38fe900d Implement 'software completion' for floating point arithmetic. On the
alpha, operations involving non-finite numbers or denormalised numbers
or operations which should generate such numbers will cause an arithmetic
exception.  For programs which follow some strict code generation rules,
the kernel trap handler can then 'complete' the operation by emulating
the faulting instruction.

To use software completion, a program must be compiled with the arguments
'-mtrap-precision=i' and '-mfp-trap-mode=su' or '-mfp-trap-mode=sui'.
Programs compiled in this way can use non-finite and denormalised numbers
at the expense of slightly less efficient code generation of floating
point instructions.  Programs not compiled with these options will receive
a SIGFPE signal when non-finite or denormalised numbers are used or
generated.

Reviewed by: John Polstra <jdp@polstra.com>
1998-12-04 10:52:48 +00:00
..
aim Implement 'software completion' for floating point arithmetic. On the 1998-12-04 10:52:48 +00:00
include Add the ability to specify where on the at_shutdown queue a handler is 1998-10-30 05:41:15 +00:00
powerpc Implement 'software completion' for floating point arithmetic. On the 1998-12-04 10:52:48 +00:00