Encoding:

SPECIAL

000000

0

00000

rt

rd

sa

DSRA32

111111

6

5

5

5

5

6

Format:

DSRA32 rd, rt, sa

MIPS64

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

The 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 32 to 63 is specified by sa+32.

Restrictions:

Operation:

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

Exceptions:

Reserved Instruction