u16x8_narrow_i32x4 in core::arch::wasm - Rust
Description: Converts two input vectors into a smaller lane vector by narrowing each lane.
Keywords: rust, rustlang, rust-lang, u16x8_narrow_i32x4

# Function core::arch::wasm::u16x8_narrow_i32x4

1.54.0 · source · [−]

    pub fn u16x8_narrow_i32x4(a: v128, b: v128) -> v128

Available on `target_family="wasm"` and target feature `simd128` only.
Expand description

Converts two input vectors into a smaller lane vector by narrowing each lane.

Signed saturation to 0x0000 or 0xffff is used and the input lanes are always interpreted as signed integers.