VQSHL (by signed variable)
Vector Saturating Shift Left by signed variable.
Syntax
VQSHL
{
}.cond
{datatype
}, Qd
,
Qm
Qn
VQSHL
{
}.cond
{datatype
}, Dd
,
Dm
Dn
where:
cond
is an optional condition code.
datatype
must be one of
S8
,S16
,S32
,S64
,U8
,U16
,U32
, orU64
.Qd
,Qm
,Qn
are the destination vector, the first operand vector, and the second operand vector, for a quadword operation.
Dd
,Dm
,Dn
are the destination vector, the first operand vector, and the second operand vector, for a doubleword operation.
Operation
VQSHL
takes each element in a vector, shifts them by a value from the
least significant byte of the corresponding element of a second vector, and places the
results in the destination vector. If the shift value is positive, the operation is a left
shift. Otherwise, it is a truncating right shift.
The sticky QC flag (FPSCR bit[27]) is set if saturation occurs.