sh2add.uw

Performs an XLEN-wide addition of two addends. The first addend is xs2. The second addend is the unsigned value formed by extracting the least-significant word of xs1 and shifting it left by 2 places.

Synopsis

sh2add.uw xd, xs1, xs2

Encoding

Type: R

0671112141519202425310111011xd100xs1xs20010000
funct7: 0010000
funct3: 100
opcode: 0111011

RISC-V Instruction Encoder/Decoder

open sh2add.uw in rvcodecjs

Availability