]> granicus.if.org Git - clang/commit
headers: add missing Windows ARM Interlocked intrinsics
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 26 Sep 2016 22:12:43 +0000 (22:12 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 26 Sep 2016 22:12:43 +0000 (22:12 +0000)
commit4765e80edb821a082e10f5ee1cb7b19d8fe84475
tree61c8d9a9a04172d5b645e6080ebf3723367466dc
parent92f23b6427c9004574b36eac34215b9ae19c552f
headers: add missing Windows ARM Interlocked intrinsics

On ARM, there are multiple versions of each of the intrinsics, with
acquire/relaxed/release barrier semantics.

The newly added ones are provided as inline functions here instead of builtins,
since they should only be available on certain archs (arm/aarch64).

This is necessary in order to compile C++ code for ARM in MSVC mode.

Patch by Martin Storsjö!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282447 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/intrin.h