]> granicus.if.org Git - clang/commit
X86: inline all atomic operations up to 128-bits.
authorTim Northover <tnorthover@apple.com>
Wed, 2 Jul 2014 10:25:45 +0000 (10:25 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 2 Jul 2014 10:25:45 +0000 (10:25 +0000)
commitf789c57348f2c28214ea26a2c0b4260ab3c1af50
tree88c777836164ac438fa3d9ea5aad6a81da2b29db
parentc533089456fdae3a0dbdd765f959078f05aa4629
X86: inline all atomic operations up to 128-bits.

The backend *can* cope with all of these now, so Clang should give it the
chance. On CPUs without cmpxchg16b (e.g. the original athlon64) LLVM can reform
the libcalls.

rdar://problem/13496295

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212173 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/CodeGen/x86_64-atomic-128.c [new file with mode: 0644]