vrsra

Vector Rounding Shift Right and Accumulate

VRSRA<c>.<dt> <Qd>, <Qm>, #<imm>

Shifts right with rounding and adds to accumulator.

Details

The Vector Rounding Shift Right and Accumulate instruction shifts right with rounding and adds to accumulator.

Pseudocode Operation

// Shifts right with rounding and adds to accumulator

Example

VRSRA.dt q0, q2, #16

Encoding

Binary Layout
11110010
1
D
imm6
Vd
0011
L
Q
M
1
Vm
 
Format NEON Shift
Opcode 0xF2800310
Extension NEON (SIMD)

Operands

  • Qd
    Dest/Acc
  • Qm
    Second source 128-bit SIMD register
  • imm
    Signed immediate value