rolw

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

Synopsis

rolw xd, xs1, xs2

Encoding

Type: R

0671112141519202425310111011xd001xs1xs20110000
funct7: 0110000
funct3: 001
opcode: 0111011

RISC-V Instruction Encoder/Decoder

open rolw in rvcodecjs

Availability