soft-fp: Make extensions of subnormals from XFmode to TFmode signal underflow if...
[platform/upstream/glibc.git] / soft-fp / op-common.h
index ec0bc42..e3212ec 100644 (file)
                  _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                                                      \
                {                                                       \