c.srli

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`.

Synopsis

c.srli xd, shamt

Encoding

Type:

012679101501shamtxd100000

RISC-V Instruction Encoder/Decoder

open c.srli in rvcodecjs

Availability