VSRI
Vector Shift Right and Insert.
Syntax
VSRI
{
}.cond
{size
}, Qd
,
#Qm
imm
VSRI
{
}.cond
{size
}, Dd
,
#Dm
imm
where:
cond
is an optional condition code.
size
must be one of
8
,16
,32
, or64
.Qd
,Qm
are the destination vector and the operand vector, for a quadword operation.
Dd
,Dm
are the destination vector and the operand vector, for a doubleword operation.
imm
is the immediate value specifying the size of the shift, in the range 1 to
.size
Operation
VSRI
takes each element in a vector, right shifts them by an immediate
value, and inserts the results in the destination vector. Bits shifted out of the right of
each element are lost. The following figure shows the operation of VSRI
with a single element and a shift value of two. The two most significant bits in the
destination vector are unchanged.
Figure 14-8 Operation of doubleword VSRI.64 Dd, Dm, #2