| commit | 3acd6bd0b65d2d597fd18feaa25b9d91acfde937 | [log] [tgz] |
|---|---|---|
| author | Tim Northover <tnorthover@apple.com> | Wed Jul 02 12:56:02 2014 +0000 |
| committer | Tim Northover <tnorthover@apple.com> | Wed Jul 02 12:56:02 2014 +0000 |
| tree | ee4f071b84fa95aca1b718811c927230388cea25 | |
| parent | f5b107940ab1d302ac4ad48a92d8d95bb7af9676 [diff] |
ARM: add support for v8 ldaex/stlex builtins. ARMv8 adds (to both AArch32 and AArch64) acquiring and releasing variants of the exclusive operations, in line with the C++11 memory model. This adds support for two new intrinsics to expose them to C & C++ developers directly: __builtin_arm_ldaex and __builtin_arm_stlex, in direct analogy with the versions with no implicit barrier. rdar://problem/15885451 llvm-svn: 212175