Revision 1.0
191
Format:
lsv vt[element], offset(base)
Description:
This instruction loads a short (16 bits) from the effective address of DMEM into vector register
vt
starting at byte
e
.
The effective address is computed by shifting the
offset
up by 1 bit and adding it to the contents of
the
base
register (a SU GPR).
The
offset
field of the instruction is encoded by shifting the offset used in the source code down 1
bit, so the offset used in the source code must be a multiple of 2 bytes.
This instruction has three load delay slots (results are available in the fourth instruction following
this load). If an attempt is made to use the target register
vt
in a delay slot, hardware register
interlocking will stall the processor until the load is completed.
Note:
The element specifier
element
is the byte element of the vector register, not the
ordinal element count, as in VU computational instructions.
Operation:
Exceptions:
None
LSV
into Vector Register
Load Short
31
26
20
21
15
16
0
LWC2
base
vt
6
5
5
1 1 0 0 1 0
LSV
4
5
element
6
10
7
11
7
LSV
0 0 0 0 1
25
offset
T:
Addr
((offset
15
)
15
|| offset
15...0
|| 0
1
) + GPR[base]
VR[vt][element]
15...0
dmem[Addr
11...0
]
15...0
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 ...