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:
Marcel Moolenaar 2012-05-24 22:06:00 +00:00
parent 920b965865
commit 7097794901
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235942

View File

@ -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