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 | 09df2b066221d869f17f4b5762405f111a65f983 (patch) | |
| tree | e55e70ce819dda6a74789300e836c7f3a1e67107 /lib/CodeGen/CGExprConstant.cpp | |
| parent | e8caa30d6124b915fb6bfb3fb2d0eb4857381d08 (diff) | |
| download | clang-09df2b066221d869f17f4b5762405f111a65f983.tar.gz clang-09df2b066221d869f17f4b5762405f111a65f983.tar.bz2 clang-09df2b066221d869f17f4b5762405f111a65f983.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
