SPECIAL 000000 |
0 00000 |
rt |
rd |
sa |
DSRA 111011 |
6 |
5 |
5 |
5 |
5 |
6 |
DSRA rd, rt, sa |
MIPS64 |
Doubleword Shift Right Arithmetic |
Doubleword Shift Right Arithmetic
To execute an arithmetic right-shift of a doubleword by a fixed amount-0 to 31 bits.
GPR[rd] = GPR[rt] >> sa (arithmetic)
The 64-bit 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 31 is specified by sa.
s = 0 || sa GPR[rd] = (GPR[rt]63)s || GPR[rt]63..s
Reserved Instruction