[COFF] Add more missing MSVC ARM64 intrinsics
authorMandeep Singh Grang <mgrang@codeaurora.org>
Tue, 17 Jul 2018 22:03:24 +0000 (22:03 +0000)
committerMandeep Singh Grang <mgrang@codeaurora.org>
Tue, 17 Jul 2018 22:03:24 +0000 (22:03 +0000)
commit0054f48b4402dc50017a5254c454a1879445f3f7
tree79b468c496a5fd9be86c536f5c82bbfbf16a3283
parente15a111ba0df12b4ad24c64cf9daef031fba007e
[COFF] Add more missing MSVC ARM64 intrinsics

Summary:
Added the following intrinsics:
_BitScanForward, _BitScanReverse, _BitScanForward64, _BitScanReverse64
_InterlockedAnd64, _InterlockedDecrement64, _InterlockedExchange64,
_InterlockedExchangeAdd64, _InterlockedExchangeSub64,
_InterlockedIncrement64, _InterlockedOr64, _InterlockedXor64.

Reviewers: compnerd, mstorsjo, rnk, javed.absar

Reviewed By: mstorsjo

Subscribers: kristof.beyls, chrib, llvm-commits

Differential Revision: https://reviews.llvm.org/D49445

llvm-svn: 337327
clang/include/clang/Basic/BuiltinsAArch64.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/Headers/intrin.h
clang/test/CodeGen/ms-intrinsics.c