Share via


_SmulAddPack_2SW_ACC

9/7/2007

This ARM XScale instruction performs two 16x16 signed multiplication on packed half word data and accumulates these to a single 40-bit accumulator.

Syntax

void _SmulAddPack_2SW_ACC(
  int Arg1,
  int Arg2
); 

Parameters

  • Arg1
    [in] Value in Rm.
  • Arg2
    [in] Value in Rs.

Return Values

None.

Remarks

First, this instruction multiplies the lower 16 bits of the value in Rm with the lower 16 bits of the value in Rs.

It then performs a multiplication with the upper 16 bits of Rs and Rm.

The instruction sign-extends both signed 32-bit products and then adds them to the value in the 40-bit accumulator (acc0).

The compiler translates this instruction into the miaph assembly instruction.

Requirements

Routine Required header Architecture

_SmulAddPack_2SW_ACC

<armintr.h>

ARM10, ARM-DSP, ARM XSCALE

See Also

Reference

ARM XSCALE Intrinsic Functions