70
Vector Unit Instructions
VU Select Instructions
The VU select operations compare pairs of vector elements and choose
which one to write, based on the outcome of the test.
Figure 3-12
VU Select Opcode Encoding
Instruction fields are:
Element
: Vector or scalar element of
vt
.
Type
: One of the following operations:
Table 3-6
VU Select Type Encoding
Select compares perform an element by element comparison of
vs
and
vt
,
using
VCO
as input, clearing
VCO
, setting
VCC
with the result of comparison,
and storing the element for which the comparison is true to
vd
.
vlt
:
VS < VT
veq
:
VS == VT
Type
Instruction
0 0 0
vlt
0 0 1
veq
0 1 0
vne
0 1 1
vge
1 0 0
vcl
1 0 1
vch
1 1 0
vcr
1 1 1
vmrg
0
2
3
5
1 0 0
type
Содержание Ultra64
Страница 2: ...2 ...
Страница 10: ...10 ...
Страница 12: ...12 Figure 6 2 buildtask Operation 137 ...
Страница 14: ...14 ...
Страница 80: ...80 Vector Unit Instructions vmadm dres_int dres_int vconst 3 vmadn dres_frac vconst vconst 0 ...
Страница 104: ...104 RSP Coprocessor 0 ...
Страница 150: ...150 Advanced Information ...
Страница 155: ...Revision 1 0 155 ...
Страница 248: ...248 Exceptions None ...
Страница 251: ...Revision 1 0 251 Exceptions None ...
Страница 254: ...254 Exceptions None ...
Страница 257: ...Revision 1 0 257 Exceptions None ...
Страница 293: ...Revision 1 0 293 Exceptions None ...
Страница 316: ...316 Exceptions None ...