core::arch::x86_64

Function _pext_u64

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

Gathers the bits of x specified by the mask into the contiguous low order bit positions of the result.

Intel’s documentation