_SmulAddPack_2SW_ACC (Windows CE 5.0)

Send Feedback

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

void _SmulAddPack_2SW_ACC(int Arg1,intArg2);

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

Header: Armintr.h.

See Also

ARM XSCALE Intrinsic Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.