mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-21 09:25:07 +00:00
[mips] Fix data layout string. Add 64 to the list of native integer widths
and add stack alignment information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1bbd644301
commit
3f0ef85f44
@ -45,11 +45,13 @@ MipsTargetMachine(const Target &T, StringRef TT,
|
||||
Subtarget(TT, CPU, FS, isLittle, RM),
|
||||
DL(isLittle ?
|
||||
(Subtarget.isABI_N64() ?
|
||||
"e-p:64:64:64-i8:8:32-i16:16:32-i64:64:64-f128:128:128-n32" :
|
||||
"e-p:32:32:32-i8:8:32-i16:16:32-i64:64:64-n32") :
|
||||
"e-p:64:64:64-i8:8:32-i16:16:32-i64:64:64-f128:128:128-"
|
||||
"n32:64-S128" :
|
||||
"e-p:32:32:32-i8:8:32-i16:16:32-i64:64:64-n32-S64") :
|
||||
(Subtarget.isABI_N64() ?
|
||||
"E-p:64:64:64-i8:8:32-i16:16:32-i64:64:64-f128:128:128-n32" :
|
||||
"E-p:32:32:32-i8:8:32-i16:16:32-i64:64:64-n32")),
|
||||
"E-p:64:64:64-i8:8:32-i16:16:32-i64:64:64-f128:128:128-"
|
||||
"n32:64-S128" :
|
||||
"E-p:32:32:32-i8:8:32-i16:16:32-i64:64:64-n32-S64")),
|
||||
InstrInfo(MipsInstrInfo::create(*this)),
|
||||
FrameLowering(MipsFrameLowering::create(*this, Subtarget)),
|
||||
TLInfo(*this), TSInfo(*this), JITInfo(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user