core::arch::wasm

Function u16x8_add_sat

1.54.0 ยท source
pub fn u16x8_add_sat(a: v128, b: v128) -> v128
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.