Displaying 4 results from an estimated 4 matches for "signedfloat".
Did you mean:
unsignedfloat
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....
2014 Jun 18
3
[LLVMdev] [RFC] Add a simple soft-float class
...at 21:59, Owen Anderson <resistor at mac.com> wrote:
>
> Hi Duncan,
>
> 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` ver...
2014 Jun 18
2
[LLVMdev] [RFC] Add a simple soft-float class
...EE 754 actually guarantees bit-exact results in all
cases.
-- Sean Silva
>
> Sent from my iPhone
>
> > On Jun 17, 2014, at 21:34, "Duncan P. N. Exon Smith" <
> dexonsmith at apple.com> wrote:
> >
> > 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...
2014 Jun 18
2
[LLVMdev] [RFC] Add a simple soft-float class
...;>
>>> Hi Duncan,
>>>
>>> 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...