Partager via


_SmulAddPack_2SW_ACC

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,
  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, then adds them to the value in the 40-bit accumulator (acc0).

The compiler translates this instruction into the miaph assembly instruction.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Armintr.h.

See Also

ARM XSCALE Intrinsic Functions

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.