core::arch::wasm

# Function u64x2_shuffle

Source

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

🔬This is a nightly-only experimental API. (`simd_wasm64` #90599)
Available on `target_family="wasm"` and target feature `simd128` only.
Expand description

Same as `i8x16_shuffle`, except operates as if the inputs were two 64-bit integers, only taking 2 indices to shuffle.

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