[PATCH] D22446: [compiler-rt] Change all asm directives to __asm__ in cpu_model.

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 17 13:43:39 PDT 2016


compnerd added a subscriber: compnerd.

================
Comment at: lib/builtins/cpu_model.c:230
@@ -229,3 +229,3 @@
 #elif defined(_MSC_VER)
-  __asm {
+  __asm__ {
       mov   eax,value
----------------
This would be nice to leave as `__asm` as Microsoft documents it as `__asm` blocks.  https://msdn.microsoft.com/en-us/library/45yd4tzz.aspx


https://reviews.llvm.org/D22446





More information about the llvm-commits mailing list