c.addw

Add the 32-bit values in xs2 from xd, and store the result in xd. The xd and xs2 register indexes should be used as xd+8 and xs2+8 (registers x8-x15). C.ADDW expands into `addw xd, xd, xs2`.

Synopsis

c.addw xd, xs2

Encoding

Type:

01245679101501xs201xd100111

RISC-V Instruction Encoder/Decoder

open c.addw in rvcodecjs

Availability