aboutsummaryrefslogtreecommitdiff
path: root/softfloat/s_roundPackToF32.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_roundPackToF32.c
parenta4ae7da6ef0c09c2616a0b82f7f569e4e134f75c (diff)
downloadpk-6517fe26a2a0c89c3112f4a383c601572c71d64a.zip
pk-6517fe26a2a0c89c3112f4a383c601572c71d64a.tar.gz
pk-6517fe26a2a0c89c3112f4a383c601572c71d64a.tar.bz2
Update to new privileged spec
Diffstat (limited to 'softfloat/s_roundPackToF32.c')
-rwxr-xr-xsoftfloat/s_roundPackToF32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/softfloat/s_roundPackToF32.c b/softfloat/s_roundPackToF32.c
index 11764f1..578ae43 100755
--- a/softfloat/s_roundPackToF32.c
+++ b/softfloat/s_roundPackToF32.c
@@ -53,7 +53,7 @@ float32_t
goto uiZ;
}
}
- if ( roundBits ) softfloat_exceptionFlags |= softfloat_flag_inexact;
+ if ( roundBits ) softfloat_raiseFlags( softfloat_flag_inexact );
sig = ( sig + roundIncrement )>>7;
sig &= ~ ( ! ( roundBits ^ 0x40 ) & roundNearestEven );
uiZ = packToF32UI( sign, sig ? exp : 0, sig );