2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/arch/sparc/math-emu
David S. Miller 456d3d4246 sparc64: Fix several bugs in quad floating point emulation.
UltraSPARC-T2 and later do not use the fp_exception_other trap and do
not set the floating point trap type field in the %fsr at all when you
try to execute an unimplemented FPU operation.

Instead, it uses the illegal_instruction trap and it leaves the
floating point trap type field clear.

So we should not validate the %fsr trap type field when do_mathemu()
is invoked from the illegal instruction handler.

Also, the floating point trap type field is 3 bits, not 4 bits.

Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-25 00:31:56 -07:00
..
Makefile Fix common misspellings 2011-03-31 11:26:23 -03:00
math_32.c perf: Remove the nmi parameter from the swevent and overflow interface 2011-07-01 11:06:35 +02:00
math_64.c sparc64: Fix several bugs in quad floating point emulation. 2012-05-25 00:31:56 -07:00
sfp-util_32.h Revert "endian: #define __BYTE_ORDER" 2010-05-26 08:30:15 -07:00
sfp-util_64.h Revert "endian: #define __BYTE_ORDER" 2010-05-26 08:30:15 -07:00