aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/c_add.h
blob: ab7d4d4c8e643f252c80f6df73077d34a46f0d66 (plain)
1
2
3
require_extension('C');
require(insn.rvc_rs2() != 0);
WRITE_RD(sext_xlen(RVC_RS1 + RVC_RS2));