pub(crate) unsafe extern "platform-intrinsic" fn simd_gather<T, U, V>(
    val: T,
    ptr: U,
    mask: V
) -> T
🔬This is a nightly-only experimental API. (portable_simd #86656)
Expand description

llvm.masked.gather like a loop of pointer reads val: vector of values to select if a lane is masked ptr: vector of pointers to read from mask: a “wide” mask of integers, selects as if simd_select(mask, read(ptr), val) note, the LLVM intrinsic accepts a mask vector of <N x i1> FIXME: review this if/when we fix up our mask story in general?