Displaying 3 results from an estimated 3 matches for "__floatsisf".
Did you mean:
__floatsidf
2015 Oct 20
2
[compiler-rt] Undefined negation in float emulation functions
...comment in this function that indicates INT_MIN is an anticipated input, but the negation has already occurred by this
point.
I am not a floating point expert, so perhaps I am missing some subtlety here. If so, apologies for the noise. The above
refers to r218935 and similar code is present in __floatsisf.
Thanks,
Matthew
2015 Oct 24
2
[compiler-rt] Undefined negation in float emulation functions
...ompilerrt_abort();
The shift in this expression is done on a signed int (the literal "1") and I believe shifting into the sign bit like
this is also UB.
Where do you suggest we go from here? My intended approach is (1) propose a patch that avoids the signed negation in
__floatsidf and __floatsisf as you suggested, (2) leave test__absv.i2 as-is as INT_MIN as an input is documented to be
undefined, and (3) propose a patch that rephrases the left shifts in __absv.i2 to avoid UB there. I don't want to cause
unnecessary headaches, so if there is a better way to go about this or if you disa...
2015 Oct 25
2
[compiler-rt] Undefined negation in float emulation functions
On 26/10/15 02:54, Joerg Sonnenberger wrote:
> On Sun, Oct 25, 2015 at 06:46:48AM -0400, Steve Canon via llvm-dev wrote:
>> On Oct 24, 2015, at 6:02 PM, Chris Lattner <clattner at apple.com> wrote:
>>>
>>>
>>>> On Oct 23, 2015, at 7:43 PM, Matthew Fernandez via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>>>> On 21/10/15 00:15,