Displaying 3 results from an estimated 3 matches for "ppcdoubledouble".
2016 Sep 30
2
[PPC, APFloat] Add full PPCDoubleDouble to APFloat
I have found some internal test failures due to the wrong constant folding
on ppc_fp128.
As documented in APFloat::PPCDoubleDouble, APFloat doesn't support PowerPC
double-double correctly <
https://github.com/llvm-mirror/llvm/blob/492acdd450bcdf9837494d6da029ed064f14fc33/lib/Support/APFloat.cpp#L74
>.
To support this, we need to add a second tuple of (sign, exponent,
significand) to APFloat. I wonder where should I...
2016 Oct 03
2
[PPC, APFloat] Add full PPCDoubleDouble to APFloat
...e-precision arithmetic on the elements of the
> pairs. As a result, I suspect we really just want to store the two
> double-precision numbers, and essentially delegate to APFloat IEEEdouble in
> the implementation of the various operations.
>
> As such, one option might be that, when PPCDoubleDouble fltSemantics are
> selected, the exponent and sign are ignored, and we just store the data for
> the two double-precision floating-point numbers in the significand. We
> might even do this directly, by making the significand something like this:
>
> union Significand {
> int...
2012 Jun 24
1
[LLVMdev] APFloat::PPCDoubleDouble arithmetic
Hi all,
What changes to LLVM are needed to support arithmetic for PPCDoubleDouble?
arithmeticOK == false for PPCDoubleDouble leads e.g. to assert "Compile-time arithmetic does not support these semantics" when compiling the next function on PowerPC with clang:
double quiet_NaN()
{
return 4.94065645841246544176568792868221e-324L;
}
--
Regards,
Konstantin