c.srli
Shift right logical immediate
Shift the value in xd right by shamt, and store the result back in xd.
The xd register index should be used as xd+8 (registers x8-x15).
C.SRLI expands into srli xd, xd, shamt.
| This instruction must have data-independent timing when extension Zkt is enabled. |
Decode Variables
-
RV32
-
RV64
Bits<5> shamt = $encoding[6:2];
Bits<3> xd = $encoding[9:7];
Bits<6> shamt = {$encoding[12], $encoding[6:2]};
Bits<3> xd = $encoding[9:7];