[cfe-commits] r61441 - /cfe/trunk/lib/Headers/emmintrin.h

Anders Carlsson andersca at mac.com
Thu Dec 25 18:22:11 PST 2008


Author: andersca
Date: Thu Dec 25 20:22:10 2008
New Revision: 61441

URL: http://llvm.org/viewvc/llvm-project?rev=61441&view=rev
Log:
Fix implementation of _mm_pause.

Modified:
    cfe/trunk/lib/Headers/emmintrin.h

Modified: cfe/trunk/lib/Headers/emmintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/emmintrin.h?rev=61441&r1=61440&r2=61441&view=diff

==============================================================================
--- cfe/trunk/lib/Headers/emmintrin.h (original)
+++ cfe/trunk/lib/Headers/emmintrin.h Thu Dec 25 20:22:10 2008
@@ -1106,7 +1106,7 @@
 
 static inline void __attribute__((__always_inline__)) _mm_pause(void)
 {
-  asm("pause");
+  __asm__ volatile ("pause");
 }
 
 #define _MM_SHUFFLE(x, y) (((x) << 1) | (y))





More information about the cfe-commits mailing list