aboutsummaryrefslogtreecommitdiff
path: root/softfloat/s_roundPackToF64.c
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-03-12 17:38:04 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2015-03-12 17:38:04 -0700
commit6517fe26a2a0c89c3112f4a383c601572c71d64a (patch)
treed37eea7ae6f3e15eee94afb5c9c749a4cd800577 /softfloat/s_roundPackToF64.c
parenta4ae7da6ef0c09c2616a0b82f7f569e4e134f75c (diff)
downloadriscv-pk-6517fe26a2a0c89c3112f4a383c601572c71d64a.zip
riscv-pk-6517fe26a2a0c89c3112f4a383c601572c71d64a.tar.gz
riscv-pk-6517fe26a2a0c89c3112f4a383c601572c71d64a.tar.bz2
Update to new privileged spec
Diffstat (limited to 'softfloat/s_roundPackToF64.c')
-rwxr-xr-xsoftfloat/s_roundPackToF64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/softfloat/s_roundPackToF64.c b/softfloat/s_roundPackToF64.c
index fb0ef1d..47d438d 100755
--- a/softfloat/s_roundPackToF64.c
+++ b/softfloat/s_roundPackToF64.c
@@ -54,7 +54,7 @@ float64_t
goto uiZ;
}
}
- if ( roundBits ) softfloat_exceptionFlags |= softfloat_flag_inexact;
+ if ( roundBits ) softfloat_raiseFlags( softfloat_flag_inexact );
sig = ( sig + roundIncrement )>>10;
sig &= ~ ( ! ( roundBits ^ 0x200 ) & roundNearestEven );
uiZ = packToF64UI( sign, sig ? exp : 0, sig );