From: Ehsan Akhgari Date: Sun, 6 Jul 2014 05:50:19 +0000 (+0000) Subject: Enable the InterlockedBitTestAndSet test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d55e30db10093c7ffc963bc5783b81d73443233;p=clang Enable the InterlockedBitTestAndSet test git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212392 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Parser/MicrosoftExtensions.c b/test/Parser/MicrosoftExtensions.c index badd2049f5..a388746de5 100644 --- a/test/Parser/MicrosoftExtensions.c +++ b/test/Parser/MicrosoftExtensions.c @@ -20,15 +20,12 @@ void * __ptr32 PtrToPtr32(const void *p) void __forceinline InterlockedBitTestAndSet (long *Base, long Bit) { - // FIXME: Re-enable this once MS inline asm stabilizes. -#if 0 __asm { mov eax, Bit mov ecx, Base lock bts [ecx], eax setc al }; -#endif } // Both inline and __forceinline is OK.