core::arch::wasm

Function i16x8_add_sat

Source
pub fn i16x8_add_sat(a: v128, b: v128) -> v128
🔬This is a nightly-only experimental API. (simd_wasm64 #90599)
Available on target_family="wasm" and target feature simd128 only.
Expand description

Adds two 128-bit vectors as if they were two packed eight 16-bit signed integers, saturating on overflow to i16::MAX.