Displaying 1 result from an estimated 1 matches for "fp_rounding_mode".
2014 Mar 26
3
[LLVMdev] [cfe-dev] computing a conservatively rounded square of a double
...We could introduce an "fp_rounding_sensitive" annotation (flag?) on the
instruction level which disables optimizations sensative to floating
point rounding. This could be parsed by clang as either a function
attribute or statement attribute.
Alternatively, we could introduce an "fp_rounding_mode(x)" annotation
with the semantics of specifying the desired rounding mode. The
required work would be much the same.
I'm picturing either of these being *really* course grained in their
effect - at least to start. Something like disable all FP optimizations
within their context.
A...