From ad92e0ff5d0dbb8f5fccb988f002dc8439ae94ba Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Fri, 10 May 2013 12:38:18 +0200 Subject: [Embtk] MIPS32/MIPS64: __atomic builtins sizes: sync to upstream code Signed-off-by: Abdoulaye Walsimou Gaye --- lib/Basic/Targets.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 26cf272196..b42c4a89ec 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -4114,7 +4114,7 @@ public: MipsTargetInfoBase(triple, "o32", "mips32") { SizeType = UnsignedInt; PtrDiffType = SignedInt; - MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 64; + MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 32; } virtual bool setABI(const std::string &Name) { if ((Name == "o32") || (Name == "eabi")) { @@ -4216,7 +4216,7 @@ public: LongDoubleWidth = LongDoubleAlign = 128; LongDoubleFormat = &llvm::APFloat::IEEEquad; SuitableAlign = 128; - MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 128; + MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 64; } virtual bool setABI(const std::string &Name) { SetDescriptionString(Name); -- cgit v1.2.3