Encoding:

POOL32S

010110

rt

rs

sa

0

00

DSRA

010000000

6

5

5

5

2

9

Format:

DSRA rt, rs, sa

microMIPS64

Doubleword Shift Right Arithmetic

Purpose:

Doubleword Shift Right Arithmetic

To execute an arithmetic right-shift of a doubleword by a fixed amount-0 to 31 bits.

Description:

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

The 64-bit 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 0 to 31 is specified by sa.

Restrictions:

Operation:

s        = 0 || sa
GPR[rt]   = (GPR[rs]63)s || GPR[rs]63..s

Exceptions:

Reserved Instruction