210
Format:
shv vt[0], offset(base)
Description:
This instruction stores a byte from each of eight VU regsiter elements, to every second byte of a
128-bit word in DMEM. The bytes are taken from the register elements with their MSB positioned
at bit 14. See Figure 3-3, “Packed Loads and Stores,” on page 53.
The effective address is computed by adding the
offset
to the contents of the
base
register (a SU
GPR).
Note:
The element specifier
element
should be 0.
This instruction could be used to pack pixel chroma (UV) values, as required for MPEG
compression.
Operation:
Exceptions:
None
SHV
from Vector Register
Store Packed Half
31
26
20
21
15
16
0
SWC2
base
vt
6
5
5
1 1 1 0 1 0
SHV
4
5
element
6
10
7
11
7
SHV
0 1 0 0 0
25
offset
T:
Addr
((offset
15
)
16
|| offset
15...0
) + GPR[base]
for i in 0...7
Addr = Addr + i * 2
data
VR[vt][i*2]
14...7
StoreDMEM (BYTE, data, Addr
11...0
)
endfor
Summary of Contents for Ultra64
Page 2: ...2 ...
Page 10: ...10 ...
Page 12: ...12 Figure 6 2 buildtask Operation 137 ...
Page 14: ...14 ...
Page 80: ...80 Vector Unit Instructions vmadm dres_int dres_int vconst 3 vmadn dres_frac vconst vconst 0 ...
Page 104: ...104 RSP Coprocessor 0 ...
Page 150: ...150 Advanced Information ...
Page 155: ...Revision 1 0 155 ...
Page 248: ...248 Exceptions None ...
Page 251: ...Revision 1 0 251 Exceptions None ...
Page 254: ...254 Exceptions None ...
Page 257: ...Revision 1 0 257 Exceptions None ...
Page 293: ...Revision 1 0 293 Exceptions None ...
Page 316: ...316 Exceptions None ...