VQSHL and VQSHLU (by immediate)
Vector Saturating Shift Left.
only permitted if
Qis also present. Indicates that the results are unsigned even though the operands are signed.
is an optional condition code.
must be one of :
S8, S16, S32, S64
U8, U16, U32, U64
are the destination and operand vectors, for a quadword operation.
are the destination and operand vectors, for a doubleword operation.
is the immediate value specifying the size of the shift, in the range 0 to (size(
) - 1). The ranges are shown in the following table:
Table 14-11 Available immediate ranges in VQSHL and VQSHLU (by immediate)
datatype imm range or U8 0 to 7 S16 or U16 0 to 15 S32 or U32 0 to 31 S64 or U64 0 to 63
VQSHLU instructions take each element in a
vector of integers, left shift them by an immediate value, and place the results in the
The sticky QC flag (FPSCR bit) is set if saturation occurs.