You copied the Doc URL to your clipboard.

14.117 VSHRN (by immediate)

Vector Shift Right, Narrow, by immediate value.


VSHRN{cond}.datatype Dd, Qm, #imm



is an optional condition code.


must be one of I16, I32,or I64.

Dd, Qm

are the destination vector and the operand vector.


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

Table 14-23 Available immediate ranges in VSHRN (by immediate)

datatypeimm range
I160 to 8
I320 to 16
I640 to 32

VSHRN with an immediate value ofzero is a pseudo-instruction for VMOVN.


VSHRN takes each element in a quadword vector, right shifts them by an immediate value, and places the results in a doubleword vector. The results are truncated.