[PATCH] Enable the InterlockedBitTestAndSet test

Ehsan Akhgari ehsan.akhgari at gmail.com
Sat Jul 5 22:52:10 PDT 2014


Hi majnemer,

:

http://reviews.llvm.org/D4400

Files:
  test/Parser/MicrosoftExtensions.c

Index: test/Parser/MicrosoftExtensions.c
===================================================================
--- test/Parser/MicrosoftExtensions.c
+++ test/Parser/MicrosoftExtensions.c
@@ -20,15 +20,12 @@
 
 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4400.11103.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140706/d907dc85/attachment.bin>


More information about the cfe-commits mailing list