On Mon, 28 May 2001, Kevin D. Kissell wrote: > Use a global variable testable by the inline code? With both variants inlined? Now that's really ugly. > > Are vr41xx plain ISA I or crippled ISA II+ CPUs? > > Actually, they are crippled MIPS III+ 64-bit CPUs Then an ll/sc and lld/scd emulation seems to be most appropriate here. I don't think we want to add _test_and_set() to mips64*-linux. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available +