Share via


_SmulAddWHi_SW_SL

9/7/2007

This ARM DSP-enhanced, signed integer multiply-accumulate operation multiplies Rm with the top 16 bits of Rs then accumulates in Rn. The operation adds the upper 32 bits of the 48-bit product to the 32-bit Rn.

Syntax

int _SmulAddWHi_SW_SL(
  int Arg1, 
  int Arg2,
  int Arg3
);

Parameters

  • Arg1
    [in] The contents of Rn, the value added to the product of Arg2 and Arg3.
  • Arg2
    [in] The contents of Rm, the first term in the product.
  • Arg3
    [in] The contents of Rs, the second term in the product.

Return Values

The integer result of the multiplication and accumulation.

Remarks

The compiler translates this instruction into the smlawt assembly instruction.

Requirements

Routine Required header Architecture

_SmulAddWHi_SW_SL

<armintr.h>

ARM10, ARM-DSP

See Also

Reference

ARM DSP-enhanced Intrinsic Functions
_SmulAddWLo_SW_SL