aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/c_addi.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/c_addi.h')
-rw-r--r--riscv/insns/c_addi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/c_addi.h b/riscv/insns/c_addi.h
index eb98344..62d0639 100644
--- a/riscv/insns/c_addi.h
+++ b/riscv/insns/c_addi.h
@@ -1,2 +1,2 @@
-require_extension('C');
+require_extension(EXT_ZCA);
WRITE_RD(sext_xlen(RVC_RS1 + insn.rvc_imm()));