OpenCloudOS-Kernel/include/math-emu
Kumar Gala 48d6c64311 math-emu: Add support for reporting exact invalid exception
Some architectures (like powerpc) provide status information on the exact
type of invalid exception.  This is pretty straight forward as we already
report invalid exceptions via FP_SET_EXCEPTION.

We add new flags (FP_EX_INVALID_*) the architecture code can define if it
wants the exact invalid exception reported.

We had to split out the INF/INF and 0/0 cases for divide to allow reporting
the two invalid forms properly.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: David S. Miller <davem@davemloft.net>
2008-09-16 10:01:37 -05:00
..
double.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
op-1.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
op-2.h math-emu: Fix compiler warnings 2008-09-16 10:01:37 -05:00
op-4.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
op-8.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
op-common.h math-emu: Add support for reporting exact invalid exception 2008-09-16 10:01:37 -05:00
quad.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
single.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
soft-fp.h math-emu: Add support for reporting exact invalid exception 2008-09-16 10:01:37 -05:00