core::arch::x86_64

Function _pdep_u64

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

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

Intel’s documentation