[PATCH] D26955: Fix bitwidth for x87 extended-precision floating-point type
Bruno Cardoso Lopes via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 28 12:56:30 PST 2016
bruno added inline comments.
================
Comment at: lib/Basic/TargetInfo.cpp:229
switch (BitWidth) {
- case 96:
+ case 80:
if (&getLongDoubleFormat() == &llvm::APFloat::x87DoubleExtended)
----------------
The change makes sense but I believe there's some historical reason why this is 96 instead of 80? What problem have you found in practice? Do you have a testcase or unittest that exercise the issue (and that could be added to the patch)?
https://reviews.llvm.org/D26955
More information about the cfe-commits
mailing list