Skip to main content

## i16x8_narrow_i32x4

# Function i16x8_narrow_i32x4

1.54.0 · Source

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

Available on WebAssembly and `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 0x7fff or 0x8000 is used and the input lanes are always interpreted as signed integers.