rorw

Performs a rotate right on the least-significant word of xs1 by the amount in least-significant 5 bits of xs2. The resultant word is sign-extended by copying bit 31 to all of the more-significant bits.

Synopsis

rorw xd, xs1, xs2

Encoding

Type: R

0671112141519202425310111011xd101xs1xs20110000
funct7: 0110000
funct3: 101
opcode: 0111011

RISC-V Instruction Encoder/Decoder

open rorw in rvcodecjs

Availability