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: locking problem with mips atomicity


Eric Christopher wrote:
> 
> > > Better is to make the compiler force the address into a register.
> > > It may already be that way, resulting in "la r3,0(r4)".
> >
> > This is exactly what this code does.
> 
> He means to force it in without using the la macro.
> 
> In fact, I think I'd prefer this.

How?


--
Michael Eager     eager@mvista.com	408-328-8426	
MontaVista Software, Inc. 1237 E. Arques Ave., Sunnyvale, CA  94085


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