38
RSP Architecture
Vector Compare Extension Register (VCE)
This 8-bit register contains one bit for each VU slice, set to 1 if the
vch
comparison was -1, 0 otherwise. Expressed in a high-level language:
if ((vs[elem] < 0 && vt[elem] >= 0) ||
(vs[elem] >= 0 && vt[elem] < 0) {
if (vs[elem] + vt[elem] == -1)
VCE[elem] = 1;
else
VCE[elem] = 0;
} else {
VCE[elem] = 0;
}
This is used for double-precision clip compares by
vcl
(in addition to VCC
and VCO);
vcl
clears VCE.
Figure 2-7
VCE Register Format
0
elem
7
elem
6
elem
5
elem
4
elem
3
elem
2
elem
1
elem
0
1
2
3
4
5
6
7
compare is -1
Содержание 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 ...