Revert isync for ILP32 to sync as per my original change that I discussed
with Nathan. Leave __ATOMIC_ACQ as an isync as per Nathan.
This commit is contained in:
parent
920b965865
commit
7097794901
@ -54,10 +54,10 @@
|
||||
#define __ATOMIC_REL() __asm __volatile("lwsync" : : : "memory")
|
||||
#define __ATOMIC_ACQ() __asm __volatile("lwsync" : : : "memory")
|
||||
#else
|
||||
#define mb() __asm __volatile("isync" : : : "memory")
|
||||
#define rmb() __asm __volatile("isync" : : : "memory")
|
||||
#define wmb() __asm __volatile("isync" : : : "memory")
|
||||
#define __ATOMIC_REL() __asm __volatile("isync" : : : "memory")
|
||||
#define mb() __asm __volatile("sync" : : : "memory")
|
||||
#define rmb() __asm __volatile("sync" : : : "memory")
|
||||
#define wmb() __asm __volatile("sync : : : "memory")
|
||||
#define __ATOMIC_REL() __asm __volatile("sync" : : : "memory")
|
||||
#define __ATOMIC_ACQ() __asm __volatile("isync" : : : "memory")
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user