X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Farch_x86.h;fp=urcu%2Farch_x86.h;h=e3171a24fa608d044de77ad8633e67e4adbbc69f;hp=64cc026f9cd46343cb977dc7b076bf9a7d70a317;hb=a2c502feb1f1510eef3234168bc16a98404694bf;hpb=7dfc94383c405a4a873067c22c71e908fb19af25 diff --git a/urcu/arch_x86.h b/urcu/arch_x86.h index 64cc026..e3171a2 100644 --- a/urcu/arch_x86.h +++ b/urcu/arch_x86.h @@ -47,20 +47,6 @@ extern "C" { #define cpu_relax() asm volatile("rep; nop" : : : "memory"); -/* - * Serialize core instruction execution. Also acts as a compiler barrier. - * On PIC ebx cannot be clobbered - */ -#ifdef __PIC__ -#define sync_core() \ - asm volatile("push %%ebx; cpuid; pop %%ebx" \ - : : : "memory", "eax", "ecx", "edx"); -#endif -#ifndef __PIC__ -#define sync_core() \ - asm volatile("cpuid" : : : "memory", "eax", "ebx", "ecx", "edx"); -#endif - #define rdtscll(val) \ do { \ unsigned int __a, __d; \