__shsub16 in core::arch::arm - Rust
Description: Signed halving parallel halfword-wise subtraction.

Skip to main content

## __shsub16

# Function __shsub16

Source

    pub unsafe fn __shsub16(a: int16x2_t, b: int16x2_t) -> int16x2_t

🔬This is a nightly-only experimental API. (`stdarch_arm_dsp` #117237)
Available on ARM and (target feature `v6` and non-target feature `mclass`, or target features `mclass` and `dsp`) only.
Expand description

Signed halving parallel halfword-wise subtraction.

Returns the 16-bit signed equivalent of

res[0] = (a[0] - b[0]) / 2 res[1] = (a[1] - b[1]) / 2