search for: fcvt_lu

Displaying 3 results from an estimated 3 matches for "fcvt_lu".

2017 Apr 19
3
[cfe-dev] FE_INEXACT being set for an exact conversion from float to unsigned long long
...with just the cast on its own: https://godbolt.org/g/myUoL2 <https://godbolt.org/g/myUoL2> >> >> It appears to be in the LLVM lowering of the fptoui intrinsic so it must MC layer optimisations. >> >> ; Function Attrs: noinline nounwind uwtable >> define i64 @_Z7fcvt_luf(float %f) #0 { >> %1 = alloca float, align 4 >> store float %f, float* %1, align 4 >> %2 = load float, float* %1, align 4 >> %3 = fptoui float %2 to i64 >> ret i64 %3 >> } >> >> GCC performs a comparison with ucomiss and branches whereas C...
2017 Apr 20
4
[cfe-dev] FE_INEXACT being set for an exact conversion from float to unsigned long long
...ot seeing the full range of LLVM's behaviour. Yes. I’m sure. It reproduces with just the cast on its own: https://godbolt.org/g/myUoL2 It appears to be in the LLVM lowering of the fptoui intrinsic so it must MC layer optimisations. ; Function Attrs: noinline nounwind uwtable define i64 @_Z7fcvt_luf(float %f) #0 { %1 = alloca float, align 4 store float %f, float* %1, align 4 %2 = load float, float* %1, align 4 %3 = fptoui float %2 to i64 ret i64 %3 } GCC performs a comparison with ucomiss and branches whereas Clang computes both forms and predicates the result using a conditional m...
2017 Apr 21
2
[cfe-dev] FE_INEXACT being set for an exact conversion from float to unsigned long long
...ot seeing the full range of LLVM's behaviour. Yes. I’m sure. It reproduces with just the cast on its own: https://godbolt.org/g/myUoL2 It appears to be in the LLVM lowering of the fptoui intrinsic so it must MC layer optimisations. ; Function Attrs: noinline nounwind uwtable define i64 @_Z7fcvt_luf(float %f) #0 { %1 = alloca float, align 4 store float %f, float* %1, align 4 %2 = load float, float* %1, align 4 %3 = fptoui float %2 to i64 ret i64 %3 } GCC performs a comparison with ucomiss and branches whereas Clang computes both forms and predicates the result using a conditional m...