Share via


_SmulAddPack_2SW_ACC (Windows Embedded CE 6.0)

1/5/2010

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

Architecture ARM XSCALE, ARM10, ARM-DSP
Header armintr.h
Routine _SmulAddPack_2SW_ACC

See Also

Reference

ARM XSCALE Intrinsic Functions