mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 01:07:04 +08:00
Update target data strings for ARM and X86 to include the natural stack
alignment parameter "S<size>" that was introduced in r141599. llvm-svn: 141601
This commit is contained in:
@@ -1974,7 +1974,7 @@ public:
|
||||
LongDoubleAlign = 32;
|
||||
DescriptionString = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
|
||||
"i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-"
|
||||
"a0:0:64-f80:32:32-n8:16:32";
|
||||
"a0:0:64-f80:32:32-n8:16:32-S32";
|
||||
SizeType = UnsignedInt;
|
||||
PtrDiffType = SignedInt;
|
||||
IntPtrType = SignedInt;
|
||||
@@ -2020,7 +2020,7 @@ public:
|
||||
IntPtrType = SignedLong;
|
||||
DescriptionString = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
|
||||
"i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-"
|
||||
"a0:0:64-f80:128:128-n8:16:32";
|
||||
"a0:0:64-f80:128:128-n8:16:32-S128";
|
||||
HasAlignMac68kSupport = true;
|
||||
}
|
||||
|
||||
@@ -2038,7 +2038,7 @@ public:
|
||||
DoubleAlign = LongLongAlign = 64;
|
||||
DescriptionString = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
|
||||
"i64:64:64-f32:32:32-f64:64:64-f80:128:128-v64:64:64-"
|
||||
"v128:128:128-a0:0:64-f80:32:32-n8:16:32";
|
||||
"v128:128:128-a0:0:64-f80:32:32-n8:16:32-S32";
|
||||
}
|
||||
virtual void getTargetDefines(const LangOptions &Opts,
|
||||
MacroBuilder &Builder) const {
|
||||
@@ -2108,7 +2108,7 @@ public:
|
||||
DoubleAlign = LongLongAlign = 64;
|
||||
DescriptionString = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
|
||||
"i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-"
|
||||
"a0:0:64-f80:32:32-n8:16:32";
|
||||
"a0:0:64-f80:32:32-n8:16:32-S32";
|
||||
}
|
||||
virtual void getTargetDefines(const LangOptions &Opts,
|
||||
MacroBuilder &Builder) const {
|
||||
@@ -2215,7 +2215,7 @@ public:
|
||||
|
||||
DescriptionString = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
|
||||
"i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-"
|
||||
"a0:0:64-s0:64:64-f80:128:128-n8:16:32:64";
|
||||
"a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128";
|
||||
|
||||
// Use fpret only for long double.
|
||||
RealTypeUsesObjCFPRet = (1 << TargetInfo::LongDouble);
|
||||
@@ -2382,11 +2382,11 @@ public:
|
||||
// so set preferred for small types to 32.
|
||||
DescriptionString = ("e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-"
|
||||
"i64:64:64-f32:32:32-f64:64:64-"
|
||||
"v64:64:64-v128:64:128-a0:0:32-n32");
|
||||
"v64:64:64-v128:64:128-a0:0:32-n32-S64");
|
||||
} else {
|
||||
DescriptionString = ("e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
|
||||
"i64:64:64-f32:32:32-f64:64:64-"
|
||||
"v64:64:64-v128:64:128-a0:0:64-n32");
|
||||
"v64:64:64-v128:64:128-a0:0:64-n32-S64");
|
||||
}
|
||||
|
||||
// ARM targets default to using the ARM C++ ABI.
|
||||
@@ -2424,11 +2424,11 @@ public:
|
||||
// so set preferred for small types to 32.
|
||||
DescriptionString = ("e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-"
|
||||
"i64:32:64-f32:32:32-f64:32:64-"
|
||||
"v64:32:64-v128:32:128-a0:0:32-n32");
|
||||
"v64:32:64-v128:32:128-a0:0:32-n32-S32");
|
||||
} else {
|
||||
DescriptionString = ("e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
|
||||
"i64:32:64-f32:32:32-f64:32:64-"
|
||||
"v64:32:64-v128:32:128-a0:0:32-n32");
|
||||
"v64:32:64-v128:32:128-a0:0:32-n32-S32");
|
||||
}
|
||||
|
||||
// FIXME: Override "preferred align" for double and long long.
|
||||
|
||||
Reference in New Issue
Block a user