Encoding:

POOL32S

010110

rt

rs

rd

0

DROTRV

011010000

6

5

5

5

2

9

Format:

DROTRV rd, rt, rs

microMIPS64

Doubleword Rotate Right Variable

Purpose:

Doubleword Rotate Right Variable

To execute a logical right-rotate of a doubleword by a variable number of bits

Description:

 GPR[rd] = GPR[rt] <= (right) GPR[rs]

The 64-bit doubleword contents of GPR rt are rotated right; the result is placed in GPR rd. The bit-rotate 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]s-1..0  || GPR[rt]63..s

Exceptions:

Reserved Instruction