Function core::arch::wasm32::u8x16_add_sat

1.54.0 · source ·
pub fn u8x16_add_sat(a: v128, b: v128) -> v128
Available on target_family="wasm" and target feature simd128 and WebAssembly only.
Expand description

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