vqshrn

Vector Saturating Shift Right Narrow

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

Shifts right, saturates, and narrows.

Details

The Vector Saturating Shift Right Narrow instruction shifts right, saturates, and narrows.

Pseudocode Operation

// Shifts right, saturates, and narrows

Example

VQSHRN.dt d0, q2, #16

Encoding

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

Operands

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