aboutsummaryrefslogtreecommitdiff
path: root/Basic/TargetInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-09-22 18:38:30 +0000
committerChris Lattner <sabre@nondot.org>2007-09-22 18:38:30 +0000
commit1c9bdaef20398390818e9114269cd9925534b89c (patch)
treea0742b64898aa641b1be96dc81219a541da0b7e0 /Basic/TargetInfo.cpp
parent525a05093a4816af961fe2bc6b8a81c17e2e26c2 (diff)
work around bugs and missing features in apfloat.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Basic/TargetInfo.cpp')
-rw-r--r--Basic/TargetInfo.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Basic/TargetInfo.cpp b/Basic/TargetInfo.cpp
index 2b0af7ed24..2c476b8627 100644
--- a/Basic/TargetInfo.cpp
+++ b/Basic/TargetInfo.cpp
@@ -42,8 +42,10 @@ void TargetInfo::getDoubleInfo(uint64_t &Size, unsigned &Align,
void TargetInfo::getLongDoubleInfo(uint64_t &Size, unsigned &Align,
const llvm::fltSemantics *&Format,
SourceLocation Loc) {
- Size = 80; Align = 32; // FIXME: implement correctly.
- Format = &llvm::APFloat::x87DoubleExtended;
+ Size = Align = 64; // FIXME: implement correctly.
+ Format = &llvm::APFloat::IEEEdouble;
+ //Size = 80; Align = 32; // FIXME: implement correctly.
+ //Format = &llvm::APFloat::x87DoubleExtended;
}