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
- Need a clean room implementation of this function Arun Sharma
- Re: Need a clean room implementation of this function Bernd Walter
- RE: Need a clean room implementation of this function John Baldwin
- Re: Need a clean room implementation of this function Arun Sharma
- Re: Need a clean room implementation of this function Bernd Walter
- Re: Need a clean room implementation of this function Arun Sharma
- Re: Need a clean room implementation of this func... Bernd Walter
- Re: Need a clean room implementation of this function John Baldwin
- Re: Need a clean room implementation of this function Arun Sharma
- Re: Need a clean room implementation of this func... Jake Burkholder

