+2012-07-03 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/xmmintrin.h (_mm_sfence): Use __builtin_ia32_pause.
+
2012-07-03 Roland McGrath <mcgrathr@google.com>
* configure.ac (HAVE_AS_IX86_REP_LOCK_PREFIX): Also require that the
extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_mm_pause (void)
{
- __asm__ __volatile__ ("rep; nop" : : );
+ __builtin_ia32_pause ();
}
/* Transpose the 4x4 matrix composed of row[0-3]. */
+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.
+
2012-07-02 Richard Guenther <rguenther@suse.de>
- Michael Matz <matz@suse.de>
- Tobias Grosser <tobias@grosser.es>
- Sebastian Pop <sebpop@gmail.com>
+ Michael Matz <matz@suse.de>
+ Tobias Grosser <tobias@grosser.es>
+ Sebastian Pop <sebpop@gmail.com>
* testsuite/libgomp.graphite/force-parallel-4.c: Adjust.
* testsuite/libgomp.graphite/force-parallel-5.c: Likewise.
static inline void
cpu_relax (void)
{
- __asm volatile ("rep; nop" : : : "memory");
+ __builtin_ia32_pause ();
}
busy_wait (void)
{
#if defined __i386__ || defined __x86_64__
- __asm volatile ("rep; nop" : : : "memory");
+ __builtin_ia32_pause ();
#elif defined __ia64__
__asm volatile ("hint @pause" : : : "memory");
#elif defined __sparc__ && (defined __arch64__ || defined __sparc_v9__)
+2012-07-31 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/x86/target.h (cpu_relax): Use __builtin_ia32_pause.
+
2012-05-21 Patrick Marlier <patrick.marlier@gmail.com>
* eh_cpp.cc: Fix __cxa_end_catch declaration.
static inline void
cpu_relax (void)
{
- __asm volatile ("rep; nop" : : : "memory");
+ __builtin_ia32_pause ();
}
} // namespace GTM