search for: exception_behavior

Displaying 4 results from an estimated 4 matches for "exception_behavior".

2016 Feb 05
3
[RFC] FP Environment and Rounding mode handling in LLVM
...39;, > 'fmul', 'fdiv', and 'frem' (so 5 total). From here on out, I'll > exclusively use 'fadd' as my examples. The intrinsics would look > like: > > declare {f32, i1} @llvm.fadd.with.environment.f32(f32 %lhs, f32 %rhs, > i8 %rounding_mode, i8 %exception_behavior) > > > Then we define specific values to be used for the IEEE rounding > modes. And we define values to control exception behavior. I'm not > an expert on floating point exceptions in particular (my platforms > don't use them) but I'm imagining three states "ign...
2016 Feb 03
7
[RFC] FP Environment and Rounding mode handling in LLVM
Hi everyone, Sergey (CC’ed) worked on a series of patches to add support for floating-point environment and floating-point rounding modes in LLVM. This started *in 2014* and the patches after multiple rounds of review in the last months (involving amongst other Steve Canon, Hal Finkel, David Majnemer, and myself) are getting very close (IMO) to be in a state where we can land them. This is the
2016 Feb 06
2
[RFC] FP Environment and Rounding mode handling in LLVM
...', and 'frem' (so 5 total). From here on out, I'll > > exclusively use 'fadd' as my examples. The intrinsics would look > > like: > > > > declare {f32, i1} @llvm.fadd.with.environment.f32(f32 %lhs, f32 > > %rhs, > > i8 %rounding_mode, i8 %exception_behavior) > > > > > > Then we define specific values to be used for the IEEE rounding > > modes. And we define values to control exception behavior. I'm not > > an expert on floating point exceptions in particular (my platforms > > don't use them) but I'm im...
2016 Feb 06
2
[RFC] FP Environment and Rounding mode handling in LLVM
...om here on out, I'll >>>> exclusively use 'fadd' as my examples. The intrinsics would look >>>> like: >>>> >>>> declare {f32, i1} @llvm.fadd.with.environment.f32(f32 %lhs, f32 >>>> %rhs, >>>> i8 %rounding_mode, i8 %exception_behavior) >>>> >>>> >>>> Then we define specific values to be used for the IEEE rounding >>>> modes. And we define values to control exception behavior. I'm not >>>> an expert on floating point exceptions in particular (my platforms >>&...