Encoding:

POOL32S

010110

rt

rs

sa

0

00

DROTR

011000000

6

5

5

5

2

9

Format:

DROTR rt, rs, sa

microMIPS64

Doubleword Rotate Right

Purpose:

Doubleword Rotate Right

To execute a logical right-rotate of a doubleword by a fixed amount-0 to 31 bits.

Description:

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

The doubleword contents of GPR rs are rotated right; the result is placed in GPR rt. The bit-rotate amount in the range 0 to 31 is specified by sa.

Restrictions:

Operation:

s        = 0 || sa
GPR[rt]   = GPR[rs]s-1..0 || GPR[rs]63..s

Exceptions:

Reserved Instruction