vrshrn

Vector Rounding Shift Right Narrow

VRSHRN<c>.<dt> <Dd>, <Qm>, #<imm>

Shifts right, rounds, and narrows (2N -> N bits).

Details

The Vector Rounding Shift Right Narrow instruction shifts right, rounds, and narrows (2N -> N bits).

Pseudocode Operation

// Shifts right, rounds, and narrows (2N -> N bits)

Example

VRSHRN.dt d0, q2, #16

Encoding

Binary Layout
11110010
1
D
imm6
Vd
1000
0
1
M
1
Vm
 
Format NEON Shift
Opcode 0xF2800810
Extension NEON (SIMD)

Operands

  • Dd
    Dest Narrow
  • Qm
    Src Wide
  • imm
    Signed immediate value