[fpc-devel] membar instruction
darekm at emadar.com
Sat Feb 23 21:36:08 CET 2008
Micha Nelissen pisze:
> Dariusz Mazur wrote:
>>> Don't know about this one, can't you use a do nothing loop?
>> in spin-lock there is NOOP used, I think that is instruction, that every
>> processor do nothing but not avoid (duration is very small but not zero)
> Why do you use a NOP in a spin-lock?
its only exaple form sparc manual, I need (I want to test) it to in my
membar #LoadLoad | #LoadStore
membar #StoreStore !RMO and PSO only
membar #LoadStore !RMO only
Example 7---Lock and Unlock Using LDSTUB
More information about the fpc-devel