srliw

Shift the 32-bit value in xs1 right by shamt, and store the sign-extended result in xd

Synopsis

srliw xd, xs1, shamt

Encoding

Type:

0671112141519202425310011011xd101xs1shamt0000000
funct7: 0000000
funct3: 101
opcode: 0011011

RISC-V Instruction Encoder/Decoder

open srliw in rvcodecjs

Availability