Fix underflow reporting and tie up loose ends in sparc soft-fp.
authorDavid S. Miller <davem@davemloft.net>
Mon, 28 May 2012 04:02:14 +0000 (21:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 May 2012 04:11:42 +0000 (21:11 -0700)
commitd66ef399f5a9e1656fe8e435a8fa655cf271b676
treefa8fa1a3d009ccbac649f4587ede51c4e2d0b871
parent04fb54b50745587b5bfb7baff66ac9f69ac92db9
Fix underflow reporting and tie up loose ends in sparc soft-fp.

* sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
(___Q_zero): New.
(__Q_simulate_exceptions): Return void.  Change to simulate
exceptions by writing into the %fsr.
* sysdeps/sparc/sparc64/soft-fp/qp_util.c
(__Qp_handle_exceptions): Likewise.
(numbers): Delete.
* sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
__Qp_handle_exceptions.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
__Qp_handle_exceptions.
* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
as unused and give dummy FP_RND_NEAREST initializer.
(FP_INHIBIT_RESULTS): Define.
(___Q_simulate_exceptions): Update declaration.
(FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
formatting.
* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
as unused and give dummy FP_RND_NEAREST initializer.
(__Qp_handle_exceptions): Update declaration.
(FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
formatting.
ChangeLog
sysdeps/sparc/sparc32/soft-fp/q_util.c
sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
sysdeps/sparc/sparc64/soft-fp/Versions
sysdeps/sparc/sparc64/soft-fp/qp_util.c
sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist