Function core::arch::x86_64::_bextr2_u32

1.27.0 · source · []
pub unsafe fn _bextr2_u32(a: u32, control: u32) -> u32
Available on (x86 or x86-64) and target feature bmi1 and x86-64 only.
Expand description

Extracts bits of a specified by control into the least significant bits of the result.

Bits [7,0] of control specify the index to the first bit in the range to be extracted, and bits [15,8] specify the length of the range.

Intel’s documentation

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.