[all-commits] [llvm/llvm-project] 82206e: [X86] Enabled a bunch of 64-bit Interlocked* funct...
topperc via All-commits
all-commits at lists.llvm.org
Wed Jul 8 10:46:25 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 82206e7fb49d9593d946599b107e8a8ad29a7d22
https://github.com/llvm/llvm-project/commit/82206e7fb49d9593d946599b107e8a8ad29a7d22
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M clang/include/clang/Basic/BuiltinsX86.def
M clang/include/clang/Basic/BuiltinsX86_64.def
M clang/lib/Headers/intrin.h
M clang/test/CodeGen/ms-intrinsics.c
Log Message:
-----------
[X86] Enabled a bunch of 64-bit Interlocked* functions intrinsics on 32-bit Windows to match recent MSVC
This enables _InterlockedAnd64/_InterlockedOr64/_InterlockedXor64/_InterlockedDecrement64/_InterlockedIncrement64/_InterlockedExchange64/_InterlockedExchangeAdd64/_InterlockedExchangeSub64 on 32-bit Windows
The backend already knows how to expand these to a loop using cmpxchg8b on 32-bit targets.
Fixes PR46595
Differential Revision: https://reviews.llvm.org/D83254
More information about the All-commits
mailing list