aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2020-01-24 21:30:31 +0900
committerStafford Horne <shorne@gmail.com>2021-01-14 08:45:01 +0900
commitb77f6d2fa848eca0aa04ff63aaeb52a54522e2aa (patch)
treedd52f739c69f15190ac03ce711adb9083db05949 /gcc
parente1171c32502372cacc658ddc44a3b04ec8c8ce17 (diff)
downloadgcc-b77f6d2fa848eca0aa04ff63aaeb52a54522e2aa.zip
gcc-b77f6d2fa848eca0aa04ff63aaeb52a54522e2aa.tar.gz
gcc-b77f6d2fa848eca0aa04ff63aaeb52a54522e2aa.tar.bz2
or1k: Support for softfloat to emulate hw exceptions
This allows the openrisc softfloat implementation to set exceptions. This also sets the correct tininess after rounding value to be consistent with hardware and simulator implementations. libgcc/ChangeLog: * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO, FP_EX_ALL): New constant macros. (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE, FP_HANDLE_EXCEPTIONS): New macros. (_FP_TININESS_AFTER_ROUNDING): Change to 1.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions