locking problem with mips atomicity

Eric Christopher echristo@redhat.com
Tue Mar 16 17:35:00 GMT 2004


> > 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.

-eric

-- 
Eric Christopher <echristo@redhat.com>



More information about the Gcc mailing list