core::intrinsics::simd

Function simd_saturating_add

source
pub unsafe extern "rust-intrinsic" fn simd_saturating_add<T>(
    x: T,
    y: T,
) -> T
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Adds two simd vectors elementwise, with saturation.

T must be a vector of integer primitive types.