]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix underflow generation in soft-fp.
authorDavid S. Miller <davem@davemloft.net>
Wed, 30 May 2012 20:41:01 +0000 (13:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 May 2012 20:41:01 +0000 (13:41 -0700)
commitae251b0b58b6fff00a572fe1497eddec8433a9d3
tree84a641823647c7996b6269b18276e722e9cb8022
parent35c166e492b1c806b1e0c1d26f4e1385a7cfb055
Fix underflow generation in soft-fp.

* soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
(FP_TRAPPING_EXCEPTIONS): Provide default implementation.
* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
(FP_TRAPPING_EXCEPTIONS): Define.
* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
(FP_TRAPPING_EXCEPTIONS): Define.
* soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
subnormals only when inexact has been signalled or underflow
exceptions are enabled.
(_FP_PACK_CANONICAL): Likewise.
ChangeLog
soft-fp/op-common.h
soft-fp/soft-fp.h
sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
sysdeps/sparc/sparc64/soft-fp/sfp-machine.h