vshrn

Vector Shift Right Narrow

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

Shifts right and narrows result.

Details

The Vector Shift Right Narrow instruction shifts right and narrows result.

Pseudocode Operation

// Shifts right and narrows result

Example

VSHRN.dt d0, q2, #16

Encoding

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

Operands

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