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: Ordered load/store attributes?


* Richard Henderson (rth@redhat.com) wrote:
> On Sun, Jul 25, 2004 at 12:14:13AM +0100, Dr. David Alan Gilbert wrote:
> >   Are there any attributes that can be placed on a pointer or
> > variable to say that accesses through/of it are made using ordered
> > loads and store operations on architectures that perform reordering?
> > (e.g. force use of ld.acq and st.rel on Itanium?)
> 
> volatile.

Ah - I hadn't expected volatile to be that smart.  Doh.

Thanks.

Dave
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    | Running GNU/Linux on Alpha,68K| Happy  \ 
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/


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