Displaying 4 results from an estimated 4 matches for "denormal_fp32_math".
2020 Jan 27
11
Floating point semantic modes
...hat I've got.
======================
FP semantic modes
======================
except_behavior { ignore, strict, may_trap }
fenv_access { on, off }
rounding_mode { dynamic, tonearest, downward, upward, towardzero }
contract { on, off, fast }
denormal_fp_math { IEEE, PreserveSign, PositiveZero }
denormal_fp32_math { IEEE, PreserveSign, PositiveZero }
support_math_errno { on, off }
no_honor_nans { on, off }
no_honor_infinities { on, off }
no_signed_zeros { on, off }
allow_reciprocal { on, off }
allow_approximate_fns { on, off }
allow_reassociation { on, off }
---------------------
Dependencies
--------------...
2020 Jan 29
2
Floating point semantic modes
...;; Wang, Pengfei <pengfei.wang at intel.com>
Subject: Re: Floating point semantic modes
STDC FENV_ACCESS {ON|OFF}
Patch in progress. I think ON should force the following:
except_behavior { strict }
fenv_access { on }
rounding_mode { dynamic }
denormal_fp_math { IEEE }
denormal_fp32_math { IEEE }
no_signed_zeros { off }
allow_reciprocal { off }
allow_approximate_fns { off }
allow_reassociation { off }
The pragma `STDC FENV_ACCESS` notifies compiler about access to FP environment, so `except_behavior`, `fenv_access` and `rounding_mode` should be set according to thi...
2020 Jan 28
3
Floating point semantic modes
...tic modes
> > ======================
> > except_behavior { ignore, strict, may_trap } fenv_access { on, off }
> > rounding_mode { dynamic, tonearest, downward, upward, towardzero }
> > contract { on, off, fast } denormal_fp_math { IEEE, PreserveSign,
> > PositiveZero } denormal_fp32_math { IEEE, PreserveSign, PositiveZero }
> > support_math_errno { on, off }
>
> note that math errno handling can be
>
> 1) errno is set,
> 2) errno may be set and
> 3) errno is guaranteed to be untouched
>
> iso c math_errhandling can select between 1 and 2, (user can...
2020 Jan 29
3
Floating point semantic modes
...========
> FP semantic modes
> ======================
> except_behavior { ignore, strict, may_trap } fenv_access { on, off }
> rounding_mode { dynamic, tonearest, downward, upward, towardzero }
> contract { on, off, fast } denormal_fp_math { IEEE, PreserveSign,
> PositiveZero } denormal_fp32_math { IEEE, PreserveSign, PositiveZero }
> support_math_errno { on, off }
note that math errno handling can be
1) errno is set,
2) errno may be set and
3) errno is guaranteed to be untouched
iso c math_errhandling can select between 1 and 2, (user can or cannot rely on errno) but for optimizing...