core::arch::x86_64

Function _bittestandset

1.55.0 · source
pub unsafe fn _bittestandset(p: *mut i32, b: i32) -> u8
Available on x86-64 and (x86 or x86-64) only.
Expand description

Returns the bit in position b of the memory addressed by p, then sets the bit to 1.

Intel’s documentation