diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-03 07:24:10 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-03 07:24:10 +0000 |
commit | 44bfcc4f291ede957525da5b782f4829e2f691e1 (patch) | |
tree | 8849e6d14281c455d4dfeb286d419086995bcc7f /libitm/config | |
parent | 948e3eac64160e9fc713b9ce265827d9ae9c3cae (diff) | |
download | gcc-44bfcc4f291ede957525da5b782f4829e2f691e1.tar.gz |
gcc/
2012-07-03 Uros Bizjak <ubizjak@gmail.com>
* config/i386/xmmintrin.h (_mm_sfence): Use __builtin_ia32_pause.
libgomp/
2012-07-03 Uros Bizjak <ubizjak@gmail.com>
* config/linux/x86/futex.h (cpu_relax): Use __builtin_ia32_pause.
* testsuite/libgomp.c/sort-1.c (busy_wait): Ditto.
libitm/
2012-07-03 Uros Bizjak <ubizjak@gmail.com>
* config/x86/target.h (cpu_relax): Use __builtin_ia32_pause.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189194 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/config')
-rw-r--r-- | libitm/config/x86/target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libitm/config/x86/target.h b/libitm/config/x86/target.h index 5c7e6fbee88..73b6585ae70 100644 --- a/libitm/config/x86/target.h +++ b/libitm/config/x86/target.h @@ -63,7 +63,7 @@ typedef struct gtm_jmpbuf static inline void cpu_relax (void) { - __asm volatile ("rep; nop" : : : "memory"); + __builtin_ia32_pause (); } } // namespace GTM |