https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106910

--- Comment #11 from Hongtao.liu <crazylht at gmail dot com> ---
(In reply to Hongtao.liu from comment #10)
> Because the round insn does not trap on denormals.

Note for scalar version, gcc generates roundss $9, %xmm0, %xmm0 which doesn't
raise exception because it's allowed by the below option.
-----
ffp-int-builtin-inexact
Common Var(flag_fp_int_builtin_inexact) Init(1) Optimization
Allow built-in functions ceil, floor, round, trunc to raise \"inexact\"
exceptions.
-----

Reply via email to