i32x4_shuffle in core::arch::wasm32 - Rust
Description: Same as [`i8x16_shuffle`], except operates as if the inputs were four 32-bit integers, only taking 4 indices to shuffle.
Keywords: rust, rustlang, rust-lang, i32x4_shuffle

# Function core::arch::wasm32::i32x4_shuffle
1.54.0[−][src]

    pub fn i32x4_shuffle<const I0: usize, const I1: usize, const I2: usize, const I3: usize>(
        a: v128,
        b: v128
    ) -> v128

This is supported on WebAssembly and target feature `simd128` only.
Expand description

Same as `i8x16_shuffle`, except operates as if the inputs were four 32-bit integers, only taking 4 indices to shuffle.

Indices in the range [0, 3] select from `a` while [4, 7] select from `b`. Note that this will generate the `i8x16.shuffle` instruction, since there is no native `i32x4.shuffle` instruction (there is no need for one since `i8x16.shuffle` suffices).