commit | 06acefb9a3dd41d24143ef45b9382023db3451fe | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Fri Dec 26 02:22:10 2008 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Fri Dec 26 02:22:10 2008 +0000 |
tree | bd789b967ffb5d32183d1fae77dea84b20291c51 | |
parent | 77f06797f6293f72690cfcbcc0981fb8f251e559 [diff] |
Fix implementation of _mm_pause. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61441 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Headers/emmintrin.h b/lib/Headers/emmintrin.h index 1232cab..2388065 100644 --- a/lib/Headers/emmintrin.h +++ b/lib/Headers/emmintrin.h
@@ -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))