search for: assume_finit

Displaying 2 results from an estimated 2 matches for "assume_finit".

Did you mean: assume_finite
2010 Jan 15
0
[LLVMdev] Presenting Unsafe Math Flag to Optimizer
...ying no > nan's / inf), it would also be useful to know you can do reassociation > etc, useful to know that you don't care about signed zero, etc. I think the main issues are: 1) special values (+0, -0, NaN, +Inf, -Inf) to be taken into account - this can be represented with an 'assume_finite' bit and an 'assume_no_signed_zero' bit 2) rounding, the x86 FPU has 80 bits of internal precision, so you get inconsistent results depending on intermediate results being spilled or being kept in registers. One usual way of handling this is that any assignment in the source code w...
2010 Jan 14
2
[LLVMdev] Presenting Unsafe Math Flag to Optimizer
On Jan 14, 2010, at 2:01 AM, Duncan Sands wrote: > Hi Bill, > >> The current implementation of the "allow unsafe math" option is to >> specify it via the TargetOptions object. However, this prevents the >> target-independent optimizer from using it. Are there any opinions >> (ha!) on how this could be achieved in a nice clean manner which >>