core::arch::wasm32::v8x16_swizzle - Rust
Description: API documentation for the Rust `v8x16_swizzle` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, v8x16_swizzle

# [−][src]Function core::arch::wasm32::v8x16_swizzle

    pub unsafe fn v8x16_swizzle(a: v128, s: v128) -> v128

🔬 This is a nightly-only experimental API. (`wasm_simd` #74372)
This is supported on WebAssembly and target feature `simd128` only.

Returns a new vector with lanes selected from the lanes of the first input vector `a` specified in the second input vector `s`.

The indices `i` in range [0, 15] select the `i`-th element of `a`. For indices outside of the range the resulting lane is 0.