On Thu, Jul 26, 2001 at 11:59:27PM +0200, Bernd Walter wrote:
> [...]
> ATOMIC_ASM(set,      char,  "orb %b2,%0",   v)
> ATOMIC_ASM(clear,    char,  "andb %b2,%0", ~v)
> [...]

That does set, not test-and-set. What I want is exactly what the Intel
BTS instruction does: atomically test and set a bit.

        -Arun

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to