Partager via


_sub_ob

This intrinsic function subtracts the values in vector vs from the values in vector vt, writes that difference into result vector vd.

double _sub_ob(
  double Arg1,
  double Arg2,
  int Arg3
);

Parameters

  • Arg1
    [in] The contents of vs, the first operand.
  • Arg2
    [in] The contents of vt, the second operand.
  • Arg3
    [in] The value of the select field, which selects the values of vt[i] used for each i. The following table shows the possible values for the select field.
    Select field Description
    0000 Vector-scalar operation where each element of vs is operated against element vt[0].
    0001 Vector-scalar operation where each element of vs is operated against element vt[1].
    0010 Vector-scalar operation where each element of vs is operated against element vt[2].
    0011 Vector-scalar operation where each element of vs is operated against element vt[3].
    0100 Vector-scalar operation where each element of vs is operated against element vt[4].
    0101 Vector-scalar operation where each element of vs is operated against element vt[5].
    0110 Vector-scalar operation where each element of vs is operated against element vt[6].
    0111 Vector-scalar operation where each element of vs is operated against element vt[7].
    1011 Vector-vector operation, where each element of vt is operated against the corresponding elements of vs.

Return Values

The vector difference between vector vs and vector vt.

Remarks

The MIPS compiler translates this intrinsic function into the SUB.OB assembly instruction.

Requirements

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

See Also

Common Intrinsic Functions | Intrinsic Functions for MIPS Microprocessors

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.