roriw

Performs a rotate right on the least-significant word of xs1 by the amount in the least-significant log2(XLEN) bits of shamt. The resulting word value is sign-extended by copying bit 31 to all of the more-significant bits.

Synopsis

roriw xd, xs1, shamt

Encoding

Type:

0671112141519202425310011011xd101xs1shamt0110000
funct7: 0110000
funct3: 101
opcode: 0011011

RISC-V Instruction Encoder/Decoder

open roriw in rvcodecjs

Availability