[llvm-dev] [PPC, APFloat] Add full PPCDoubleDouble to APFloat

Tim Shen via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 30 14:43:12 PDT 2016


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 start to change, so that
it's less hacky? I certainly expect refactoring to come. :)

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160930/789e507d/attachment.html>


More information about the llvm-dev mailing list