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

Skip to main content

## i8x16_narrow_i16x8

# Function i8x16_narrow_i16x8

Source

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

🔬This is a nightly-only experimental API. (`simd_wasm64` #90599)
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 0x7f or 0x80 is used and the input lanes are always interpreted as signed integers.