equal
deleted
inserted
replaced
52 __asm__ volatile ("lock; addl $0,0(%%esp)" : : : "cc", "memory"); |
52 __asm__ volatile ("lock; addl $0,0(%%esp)" : : : "cc", "memory"); |
53 #endif |
53 #endif |
54 compiler_barrier(); |
54 compiler_barrier(); |
55 } |
55 } |
56 |
56 |
|
57 inline void OrderAccess::cross_modify_fence() { |
|
58 int idx = 0; |
|
59 __asm__ volatile ("cpuid " : "+a" (idx) : : "ebx", "ecx", "edx", "memory"); |
|
60 } |
|
61 |
57 #endif // OS_CPU_SOLARIS_X86_ORDERACCESS_SOLARIS_X86_HPP |
62 #endif // OS_CPU_SOLARIS_X86_ORDERACCESS_SOLARIS_X86_HPP |