You copied the Doc URL to your clipboard.

14.113 VSHL (by immediate)

Vector Shift Left by immediate.

Syntax

VSHL{cond}.datatype {Qd}, Qm, #imm

VSHL{cond}.datatype {Dd}, Dm, #imm

where:

cond

is an optional condition code.

datatype

must be one of I8, I16, I32,or I64.

Qd, Qm

are the destination and operand vectors, for a quadwordoperation.

Dd, Dm

are the destination and operand vectors, for a doublewordoperation.

imm

is the immediate value specifying the size of the shift. The ranges are shown in the following table:

Table 14-20 Available immediate ranges in VSHL (by immediate)

datatypeimm range
I80 to 7
I160 to 15
I320 to 31
I640 to 63

Operation

VSHL takes each element in a vector of integers, left shifts them by an immediate value, and places the results in the destination vector.

Bits shifted out of the left of each element are lost.

The following figure shows the operation of VSHL with two elements and a shift value of one. The least significant bit in each element in the destination vector is set to zero.

Figure 14-6 Operation of quadword VSHL.I64 Qd, Qm, #1


Related reference

Was this page helpful? Yes No