projects
/
platform
/
upstream
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
soft-fp: Make extensions of subnormals from XFmode to TFmode signal underflow if...
[platform/upstream/glibc.git]
/
soft-fp
/
op-common.h
diff --git
a/soft-fp/op-common.h
b/soft-fp/op-common.h
index
ec0bc42
..
e3212ec
100644
(file)
--- a/
soft-fp/op-common.h
+++ b/
soft-fp/op-common.h
@@
-1522,6
+1522,8
@@
_FP_FRAC_SLL_##dwc (D, (_FP_FRACBITS_##dfs \
- _FP_FRACBITS_##sfs)); \
D##_e = 0; \
+ if (FP_TRAPPING_EXCEPTIONS & FP_EX_UNDERFLOW) \
+ FP_SET_EXCEPTION (FP_EX_UNDERFLOW); \
} \
else \
{ \