core::arch::x86

Function _pext_u32

1.27.0 · source
pub unsafe fn _pext_u32(a: u32, mask: u32) -> u32
Available on (x86 or x86-64) and target feature bmi2 and x86 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