[PATCH] D41032: [CodeGen][X86] Implement _InterlockedCompareExchange128 intrinsic

Colden Cullen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 12 14:38:52 PST 2017


colden updated this revision to Diff 126634.
colden retitled this revision from "[CodeGen] Implement _InterlockedCompareExchange128 intrinsic" to "[CodeGen][X86] Implement _InterlockedCompareExchange128 intrinsic".
colden added a comment.

Moved implementation to X86_64 specific code, as according to Microsoft docs this function isn't supported on X86 or ARM.


https://reviews.llvm.org/D41032

Files:
  llvm/tools/clang/include/clang/Basic/BuiltinsX86_64.def
  llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp
  llvm/tools/clang/test/CodeGen/ms-intrinsics.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41032.126634.patch
Type: text/x-patch
Size: 5555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171212/92cb5deb/attachment.bin>


More information about the cfe-commits mailing list