aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/op-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/op-common.h')
-rw-r--r--soft-fp/op-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/soft-fp/op-common.h b/soft-fp/op-common.h
index 9a9a8f5..67cdc33 100644
--- a/soft-fp/op-common.h
+++ b/soft-fp/op-common.h
@@ -1505,6 +1505,7 @@
FP_SET_EXCEPTION (FP_EX_INVALID); \
_FP_FRAC_SLL_##dwc (D, (_FP_FRACBITS_##dfs \
- _FP_FRACBITS_##sfs)); \
+ _FP_SETQNAN (dfs, dwc, D); \
} \
} \
} \