forked from OSchip/llvm-project
Add datalayout information for the IEEE quad precision fp128 type.
llvm-svn: 126780
This commit is contained in:
parent
e96dad9544
commit
c76ae9c8e0
|
@ -96,11 +96,11 @@ X86_32TargetMachine::X86_32TargetMachine(const Target &T, const std::string &TT,
|
|||
const std::string &FS)
|
||||
: X86TargetMachine(T, TT, FS, false),
|
||||
DataLayout(getSubtargetImpl()->isTargetDarwin() ?
|
||||
"e-p:32:32-f64:32:64-i64:32:64-f80:128:128-n8:16:32" :
|
||||
"e-p:32:32-f64:32:64-i64:32:64-f80:128:128-f128:128:128-n8:16:32" :
|
||||
(getSubtargetImpl()->isTargetCygMing() ||
|
||||
getSubtargetImpl()->isTargetWindows()) ?
|
||||
"e-p:32:32-f64:64:64-i64:64:64-f80:32:32-n8:16:32" :
|
||||
"e-p:32:32-f64:32:64-i64:32:64-f80:32:32-n8:16:32"),
|
||||
"e-p:32:32-f64:64:64-i64:64:64-f80:32:32-f128:128:128-n8:16:32" :
|
||||
"e-p:32:32-f64:32:64-i64:32:64-f80:32:32-f128:128:128-n8:16:32"),
|
||||
InstrInfo(*this),
|
||||
TSInfo(*this),
|
||||
TLInfo(*this),
|
||||
|
@ -111,7 +111,7 @@ X86_32TargetMachine::X86_32TargetMachine(const Target &T, const std::string &TT,
|
|||
X86_64TargetMachine::X86_64TargetMachine(const Target &T, const std::string &TT,
|
||||
const std::string &FS)
|
||||
: X86TargetMachine(T, TT, FS, true),
|
||||
DataLayout("e-p:64:64-s:64-f64:64:64-i64:64:64-f80:128:128-n8:16:32:64"),
|
||||
DataLayout("e-p:64:64-s:64-f64:64:64-i64:64:64-f80:128:128-f128:128:128-n8:16:32:64"),
|
||||
InstrInfo(*this),
|
||||
TSInfo(*this),
|
||||
TLInfo(*this),
|
||||
|
|
Loading…
Reference in New Issue