diff options
| author | Tim Northover <tnorthover@apple.com> | 2013-07-16 09:47:53 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2013-07-16 09:47:53 +0000 |
| commit | 6aacd49094bc34e477af04c2806d20b47372205d (patch) | |
| tree | fa4f832c4b6572696ab8b0d208c1401a25912dfe /llvm/lib/Target/Sparc/SparcFrameLowering.cpp | |
| parent | 4245f78fdd992e0f96c4c88ef7f31912803ad634 (diff) | |
| download | bcm5719-llvm-6aacd49094bc34e477af04c2806d20b47372205d.tar.gz bcm5719-llvm-6aacd49094bc34e477af04c2806d20b47372205d.zip | |
ARM: implement low-level intrinsics for the atomic exclusive operations.
This adds three overloaded intrinsics to Clang:
T __builtin_arm_ldrex(const volatile T *addr)
int __builtin_arm_strex(T val, volatile T *addr)
void __builtin_arm_clrex()
The intent is that these do what users would expect when given most sensible
types. Currently, "sensible" translates to ints, floats and pointers.
llvm-svn: 186394
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcFrameLowering.cpp')
0 files changed, 0 insertions, 0 deletions

