Encoding:

SPECIAL

000000

0000

R

1

rt

rd

sa

DSRL

111010

6

4

1

5

5

5

6

Format:

DROTR rd, rt, sa

MIPS64 Release 2

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[rd] = GPR[rt] <= (right) sa

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

Restrictions:

Operation:

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

Exceptions:

Reserved Instruction