Function safe_arch::bit_extract2_u64

source ยท
pub fn bit_extract2_u64(a: u64, control: u64) -> u64
Available with target feature bmi1 only.
Expand description

Extract a span of bits from the u64, control value style.

  • Bits 0 through 7: start position.

  • Bits 8 through 15: span length.

  • Intrinsic: _bextr2_u64

  • Assembly: bextr r64, r64, r64