rol

Performs a rotate left of xs1 by the amount in least-significant `log2(XLEN)` bits of xs2.

Synopsis

rol xd, xs1, xs2

Encoding

Type: R

0671112141519202425310110011xd001xs1xs20110000
funct7: 0110000
funct3: 001
opcode: 0110011

RISC-V Instruction Encoder/Decoder

open rol in rvcodecjs

Availability