This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] MIPS: Emit optimized sync instructions for Octeon CPUs.


On 08/17/2009 06:51 PM, David Daney wrote:

What do you think about adding an additional optional parameter to __sync_synchronize that would weaken it to just a write barrier?

I'd rather have __sync_rmb and __sync_wmb (or maybe __sync_acquire_synchronize and __sync_release_synchronize?).


Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]