VRSRA (by immediate)
Vector Rounding Shift Right by immediate value and Accumulate.
is an optional condition code.
must be one of
are the destination vector and the operand vector, for a quadword operation.
are the destination vector and the operand vector, for a doubleword operation.
is the immediate value specifying the size of the shift, in the range 1 to (size(
)). The ranges are shown in the following table:
Table 14-19 Available immediate ranges in VRSRA (by immediate)
datatype imm range S8 or U8 1 to 8 S16 or U16 1 to 16 S32 or U32 1 to 32 S64 or U64 1 to 64
VRSRA takes each element in a vector, right shifts them by an immediate
value, and accumulates the results into the destination vector. The results are rounded.