r200452 - SPARCv9 supports atomic operations up to 64 bits.
Jakob Stoklund Olesen
stoklund at 2pi.dk
Wed Jan 29 20:48:04 PST 2014
Author: stoklund
Date: Wed Jan 29 22:48:04 2014
New Revision: 200452
URL: http://llvm.org/viewvc/llvm-project?rev=200452&view=rev
Log:
SPARCv9 supports atomic operations up to 64 bits.
Patch by Roman Divacky!
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=200452&r1=200451&r2=200452&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Jan 29 22:48:04 2014
@@ -4543,6 +4543,7 @@ public:
LongDoubleWidth = 128;
LongDoubleAlign = 128;
LongDoubleFormat = &llvm::APFloat::IEEEquad;
+ MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 64;
}
virtual void getTargetDefines(const LangOptions &Opts,
More information about the cfe-commits
mailing list