diff options
author | Weiwei Li <liweiwei@iscas.ac.cn> | 2022-06-28 10:12:10 +0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2022-11-17 15:37:52 -0800 |
commit | 0adf9307eaef62402c4368d33e88bbb5e1211653 (patch) | |
tree | 10770c782ec98477ba0d083732bfa6855f9d22d0 /riscv/insns/c_add.h | |
parent | 251ecc9d1d5b31e4e964d0437271003533070c50 (diff) | |
download | riscv-isa-sim-0adf9307eaef62402c4368d33e88bbb5e1211653.zip riscv-isa-sim-0adf9307eaef62402c4368d33e88bbb5e1211653.tar.gz riscv-isa-sim-0adf9307eaef62402c4368d33e88bbb5e1211653.tar.bz2 |
add support for zca zcd and zcf
Diffstat (limited to 'riscv/insns/c_add.h')
-rw-r--r-- | riscv/insns/c_add.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/c_add.h b/riscv/insns/c_add.h index ab7d4d4..796e634 100644 --- a/riscv/insns/c_add.h +++ b/riscv/insns/c_add.h @@ -1,3 +1,3 @@ -require_extension('C'); +require_extension(EXT_ZCA); require(insn.rvc_rs2() != 0); WRITE_RD(sext_xlen(RVC_RS1 + RVC_RS2)); |