diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-03-12 17:38:04 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-03-12 17:38:04 -0700 |
commit | 6517fe26a2a0c89c3112f4a383c601572c71d64a (patch) | |
tree | d37eea7ae6f3e15eee94afb5c9c749a4cd800577 /softfloat/s_roundPackToI32.c | |
parent | a4ae7da6ef0c09c2616a0b82f7f569e4e134f75c (diff) | |
download | riscv-pk-6517fe26a2a0c89c3112f4a383c601572c71d64a.zip riscv-pk-6517fe26a2a0c89c3112f4a383c601572c71d64a.tar.gz riscv-pk-6517fe26a2a0c89c3112f4a383c601572c71d64a.tar.bz2 |
Update to new privileged spec
Diffstat (limited to 'softfloat/s_roundPackToI32.c')
-rwxr-xr-x | softfloat/s_roundPackToI32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softfloat/s_roundPackToI32.c b/softfloat/s_roundPackToI32.c index 1c91497..6f63a3b 100755 --- a/softfloat/s_roundPackToI32.c +++ b/softfloat/s_roundPackToI32.c @@ -37,7 +37,7 @@ int_fast32_t z = uZ.i; if ( z && ( ( z < 0 ) ^ sign ) ) goto invalid; if ( exact && roundBits ) { - softfloat_exceptionFlags |= softfloat_flag_inexact; + softfloat_raiseFlags( softfloat_flag_inexact ); } return z; invalid: |