Displaying 3 results from an estimated 3 matches for "uintt".
Did you mean:
uint
2014 Jun 18
3
[LLVMdev] [RFC] Add a simple soft-float class
...>
> Some of these don’t make a lot of sense:
Sorry -- I think I was assuming too much knowledge about what I committed as
part of the BlockFrequencyInfo rewrite.
What's committed there is a class called UnsignedFloat that wraps the
following with a bunch of API:
template <class UIntT> struct UnsignedFloat {
UIntT Digits;
uint16_t Exponent;
};
There are some static asserts to restrict UIntT to either `uint32_t` or
`uint64_t`. I have tests that are out of tree. The `uint32_t` version uses
64-bit math for divide and multiply while the `uint64_t` version u...
2014 Jun 18
2
[LLVMdev] [RFC] Add a simple soft-float class
...orry -- I think I was assuming too much knowledge about what I committed as
>> part of the BlockFrequencyInfo rewrite.
>>
>> What's committed there is a class called UnsignedFloat that wraps the
>> following with a bunch of API:
>>
>> template <class UIntT> struct UnsignedFloat {
>> UIntT Digits;
>> uint16_t Exponent;
>> };
>>
>> There are some static asserts to restrict UIntT to either `uint32_t` or
>> `uint64_t`. I have tests that are out of tree. The `uint32_t` version uses
>> 64-...
2014 Jun 18
10
[LLVMdev] [RFC] Add a simple soft-float class
I'm currently working on stripping usage of `UnsignedFloat` out of
`-block-freq`. Before I finish...
I propose adding a soft-float class to llvm/Support/ or llvm/Analysis/.
- Portable (unlike hard-floats).
- Well-defined for all platforms and safe to use in code.
- Easy to use and reason about (unlike `APFloat`).
- Uses operators.
- No special numbers.
- Every