i16x8_narrow_i32x4 in core::arch::wasm32 - Rust
Description: Converts two input vectors into a smaller lane vector by narrowing each lane.

core::arch::wasm32

# Function i16x8_narrow_i32x4

1.54.0 · Source

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

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

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

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