summaryrefslogtreecommitdiff
path: root/libitm/config/x86/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'libitm/config/x86/target.h')
-rw-r--r--libitm/config/x86/target.h2
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