mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 18:33:22 +00:00
Make x86 long double alignment 32 for everything but
Darwin (which makes size within a struct==96) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e713d9340a
commit
8c78a26955
@ -116,7 +116,9 @@ X86TargetMachine::X86TargetMachine(const Module &M, const std::string &FS,
|
||||
: Subtarget(M, FS, is64Bit),
|
||||
DataLayout(Subtarget.is64Bit() ?
|
||||
std::string("e-p:64:64-f64:32:64-i64:32:64-f80:128:128") :
|
||||
std::string("e-p:32:32-f64:32:64-i64:32:64-f80:128:128")),
|
||||
Subtarget.isTargetDarwin() ?
|
||||
std::string("e-p:32:32-f64:32:64-i64:32:64-f80:128:128") :
|
||||
std::string("e-p:32:32-f64:32:64-i64:32:64-f80:32:32")),
|
||||
FrameInfo(TargetFrameInfo::StackGrowsDown,
|
||||
Subtarget.getStackAlignment(), Subtarget.is64Bit() ? -8 : -4),
|
||||
InstrInfo(*this), JITInfo(*this), TLInfo(*this) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user