core::arch::wasm

Function u16x8_add_sat

Source
pub fn u16x8_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 unsigned integers, saturating on overflow to u16::MAX.