SPECIAL 000000 |
rs |
rt |
rd |
0000 |
R 1 |
DSRLV 010110 |
6 |
5 |
5 |
5 |
4 |
1 |
6 |
DROTRV rd, rt, rs |
MIPS64 Release 2 |
Doubleword Rotate Right Variable |
Doubleword Rotate Right Variable
To execute a logical right-rotate of a doubleword by a variable number of bits
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.
s = GPR[rs]5..0 GPR[rd] = GPR[rt]s-1..0 || GPR[rt]63..s
Reserved Instruction