Skip to main content

## __smlawt

# Function __smlawt

Source

    pub unsafe fn __smlawt(a: i32, b: i32, c: i32) -> i32

🔬This is a nightly-only experimental API. (`stdarch_arm_dsp` #117237)
Available on ARM and (ARM) only.
Expand description

Insert a SMLAWT instruction

Returns the equivalent of (a * b[1] + (c << 16)) >> 16 where [0] is the lower 16 bits and [1] is the upper 16 bits. Sets the Q flag if overflow occurs on the addition.