You copied the Doc URL to your clipboard.

14.107 VRSHRN (by immediate)

Vector Rounding Shift Right, Narrow, by immediate value.

Syntax

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

where:

cond

is an optional condition code.

datatype

must be one of I16, I32,or I64.

Dd, Qm

are the destination vector and the operand vector.

imm

is the immediate value specifying the size of the shift, in the range 0 to (size(datatype)/2). The ranges are shown in the following table:

Table 14-16 Available immediate ranges in VRSHRN (by immediate)

datatypeimm range
I160 to 8
I320 to 16
I640 to 32

VRSHRN with an immediate valueof zero is a pseudo-instruction for VMOVN.

Operation

VRSHRN 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 rounded.

Was this page helpful? Yes No