r212392 - Enable the InterlockedBitTestAndSet test

Ehsan Akhgari ehsan.akhgari at gmail.com
Sat Jul 5 22:50:19 PDT 2014


Author: ehsan
Date: Sun Jul  6 00:50:19 2014
New Revision: 212392

URL: http://llvm.org/viewvc/llvm-project?rev=212392&view=rev
Log:
Enable the InterlockedBitTestAndSet test

Modified:
    cfe/trunk/test/Parser/MicrosoftExtensions.c

Modified: cfe/trunk/test/Parser/MicrosoftExtensions.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/MicrosoftExtensions.c?rev=212392&r1=212391&r2=212392&view=diff
==============================================================================
--- cfe/trunk/test/Parser/MicrosoftExtensions.c (original)
+++ cfe/trunk/test/Parser/MicrosoftExtensions.c Sun Jul  6 00:50:19 2014
@@ -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.





More information about the cfe-commits mailing list