Function safe_arch::bit_extract2_u32
source ยท pub fn bit_extract2_u32(a: u32, control: u32) -> u32
Available with target feature
bmi1
only.Expand description
Extract a span of bits from the u32
, control value style.
-
Bits 0 through 7: start position.
-
Bits 8 through 15: span length.
-
Intrinsic:
_bextr2_u32
-
Assembly:
bextr r32, r32, r32