locking problem with mips atomicity

Michael Eager eager@mvista.com
Tue Mar 16 17:47:00 GMT 2004


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



More information about the Gcc mailing list