c.subw

Subtract 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.SUBW expands into `subw xd, xd, xs2`.

Synopsis

c.subw xd, xs2

Encoding

Type:

01245679101501xs200xd100111

RISC-V Instruction Encoder/Decoder

open c.subw in rvcodecjs

Availability