Function core::arch::wasm32::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 and WebAssembly only.
Expand description

将两个 128 位 vectors 相加,就好像它们是两个包装的八个 16 位无符号整数一样,在溢出到 u16::MAX 时会饱和。