aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/c_srli.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/c_srli.h')
-rw-r--r--riscv/insns/c_srli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/c_srli.h b/riscv/insns/c_srli.h
index f410fef..de08031 100644
--- a/riscv/insns/c_srli.h
+++ b/riscv/insns/c_srli.h
@@ -1,3 +1,3 @@
-require_extension('C');
+require_extension(EXT_ZCA);
require(insn.rvc_zimm() < xlen);
WRITE_RVC_RS1S(sext_xlen(zext_xlen(RVC_RS1S) >> insn.rvc_zimm()));