diff options
author | Andrew Waterman <andrew@sifive.com> | 2023-06-19 12:11:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-19 12:11:56 -0700 |
commit | 8b10de64dd2048e813438dbb5e4ed24d09feb8eb (patch) | |
tree | 75a90f0f823c1b8c21b6549d84985ce173d0ab20 /disasm | |
parent | b6dc274bcf6d18db229f5f6e1ae238e1a3c409b7 (diff) | |
parent | f71bda9637366c2bb06612cf03ed126c628df678 (diff) | |
download | riscv-isa-sim-8b10de64dd2048e813438dbb5e4ed24d09feb8eb.zip riscv-isa-sim-8b10de64dd2048e813438dbb5e4ed24d09feb8eb.tar.gz riscv-isa-sim-8b10de64dd2048e813438dbb5e4ed24d09feb8eb.tar.bz2 |
Merge pull request #1364 from glg-rv/dev/glguida/amocas
Zacas extension
Diffstat (limited to 'disasm')
-rw-r--r-- | disasm/disasm.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/disasm/disasm.cc b/disasm/disasm.cc index 7834799..096c38f 100644 --- a/disasm/disasm.cc +++ b/disasm/disasm.cc @@ -815,6 +815,12 @@ void disassembler_t::add_instructions(const isa_parser_t* isa) DEFINE_XAMO(sc_d) } + if (isa->extension_enabled(EXT_ZACAS)) { + DEFINE_XAMO(amocas_w) + DEFINE_XAMO(amocas_d) + DEFINE_XAMO(amocas_q) + } + add_insn(new disasm_insn_t("j", match_jal, mask_jal | mask_rd, {&jump_target})); add_insn(new disasm_insn_t("jal", match_jal | match_rd_ra, mask_jal | mask_rd, {&jump_target})); add_insn(new disasm_insn_t("jal", match_jal, mask_jal, {&xrd, &jump_target})); |