Added the following intrinsics:
_BitScanForward, _BitScanReverse, _BitScanForward64, _BitScanReverse64
_InterlockedAnd64, _InterlockedDecrement64, _InterlockedExchange64,
_InterlockedExchangeAdd64, _InterlockedExchangeSub64,
_InterlockedIncrement64, _InterlockedOr64, _InterlockedXor64.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM except for the minor comment
lib/Headers/intrin.h | ||
---|---|---|
302 ↗ | (On Diff #155945) | This ifdef feels a bit inconsistent; when the other existing ones are in the form __x86_64__ and __arm__ (and not _M_X64 or _M_ARM), the last one should probably be __aarch64__ as well. Both here and in the testcase. |