core::arch::x86

Function _pdep_u32

1.27.0 · source
pub unsafe fn _pdep_u32(a: u32, mask: u32) -> u32
Available on (x86 or x86-64) and target feature bmi2 and x86 only.
Expand description

Scatter contiguous low order bits of a to the result at the positions specified by the mask.

Intel’s documentation