This is the mail archive of the gcc@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: More on memory barriers


On Tue, 14 Sep 2004, Jason Merrill wrote:
> It also means that my 2003-12-19 change to remove general memory
> clobbers from the atomic operations was misguided; I failed to consider the
> synchronization function of the memory clobber.
>
> Thoughts?

Your new insight is comforting. ;-)
<URL:http://gcc.gnu.org/ml/gcc-patches/2004-03/msg01799.html>.
(The ranting paragraph starting with "I also added back the
memory clobber removed last December".)

Wrt. your question later in the thread, no additional sync insns
is needed for CRIS.

I probably miss something, but I don't really see an OO arch as
effectively much different than GCC taking a quantum leap in
scheduler technology and moving a memory access across the
location where a memory barrier is needed (that is, moving it
across a needed but *absent* barrier).

brgds, H-P


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