| commit | feea883de4e50eb5d24c723a269274ef0fd2e89f | [log] [tgz] |
|---|---|---|
| author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Apr 12 05:08:17 2012 +0000 |
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Apr 12 05:08:17 2012 +0000 |
| tree | cdf8a600974d64a7fc63162bbedbefa46d92820a | |
| parent | 0b1aef2bb0bb770ceca7ebf4281e46c3b8137697 [diff] |
Implement support for 18 of the GNU-compatible __atomic builtins. This is not quite sufficient for libstdc++'s <atomic>: we still need __atomic_test_and_set and __atomic_clear, and may need a more complete __atomic_is_lock_free implementation. We are also missing an implementation of __atomic_always_lock_free, __atomic_nand_fetch, and __atomic_fetch_nand, but those aren't needed for libstdc++. llvm-svn: 154579