Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef __i386__
- #define spice_mb() __asm__ __volatile__ ("lock; addl $0,0(%%esp)": : :"memory")
- #else
- //mfence
- #define spice_mb() __asm__ __volatile__ ("lock; addl $0,0(%%rsp)": : :"memory")
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement