Skip to main content

## u8x16_narrow_i16x8

# Function u8x16_narrow_i16x8

1.54.0 · Source

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

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

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

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