Encoding:

POOL32S

010110

rt

rs

sa

0

DSRA32

010000100

6

5

5

5

2

9

Format:

DSRA32 rt, rs, sa

microMIPS64

Doubleword Shift Right Arithmetic Plus 32

Purpose:

Doubleword Shift Right Arithmetic Plus 32

To execute an arithmetic right-shift of a doubleword by a fixed amount-32 to 63 bits

Description:

 GPR[rt] = GPR[rs] >> (sa+32)   (arithmetic)

The doubleword contents of GPR rs are shifted right, duplicating the sign bit (63) into the emptied bits; the result is placed in GPR rt. The bit-shift amount in the range 32 to 63 is specified by sa+32.

Restrictions:

Operation:

s        = 1 || sa   /* 32+sa */
GPR[rt]   = (GPR[rs]63)s || GPR[rs]63..s

Exceptions:

Reserved Instruction