_pickt_ob

Depending on the state in the condition code bits, this intrinsic function picks an element of vector vs or an element of vector vt and writes the selected element to the corresponding element of the result vector vd. If the condition tests TRUE, then the function selects an element of vector vs; otherwise, it selects an element of vt.

double _pickt_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 result of the Vector Pick TRUE operation.

Remarks

The MIPS compiler translates this intrinsic function into the PICKT.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.