Encoding:

POOL32S

010110

rt

rs

rd

0

DSRAV

010010000

6

5

5

5

2

9

Format:

DSRAV rd, rt, rs 

microMIPS64

Doubleword Shift Right Arithmetic Variable

Purpose:

Doubleword Shift Right Arithmetic Variable

To execute an arithmetic right-shift of a doubleword by a variable number of bits.

Description:

 GPR[rd] = GPR[rt] >> GPR[rs]   (arithmetic)

The doubleword contents of GPR rt are shifted right, duplicating the sign bit (63) into the emptied bits; the result is placed in GPR rd. The bit-shift amount in the range 0 to 63 is specified by the low-order 6 bits in GPR rs.

Restrictions:

Operation:

s        = GPR[rs]5..0
GPR[rd]   = (GPR[rt]63)s || GPR[rt]63..s

Exceptions:

Reserved Instruction