diff options
author | liweiwei90 <34847211+liweiwei90@users.noreply.github.com> | 2022-06-07 09:28:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 18:28:36 -0700 |
commit | 656fa5acf6aef85ae2326309d9bb2cdba69987ef (patch) | |
tree | ac37805b16825991caa349dc2f4da796f96c370e /disasm | |
parent | caf5a420ef7414031368739e16d60f3f418aa6ac (diff) | |
download | riscv-isa-sim-656fa5acf6aef85ae2326309d9bb2cdba69987ef.zip riscv-isa-sim-656fa5acf6aef85ae2326309d9bb2cdba69987ef.tar.gz riscv-isa-sim-656fa5acf6aef85ae2326309d9bb2cdba69987ef.tar.bz2 |
update disasm for cbo.* instructions (#1026)
Diffstat (limited to 'disasm')
-rw-r--r-- | disasm/disasm.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/disasm/disasm.cc b/disasm/disasm.cc index 7df39da..b42bdc2 100644 --- a/disasm/disasm.cc +++ b/disasm/disasm.cc @@ -2037,13 +2037,13 @@ void disassembler_t::add_instructions(const isa_parser_t* isa) } if (isa->extension_enabled(EXT_ZICBOM)) { - DISASM_INSN("cbo.clean", cbo_clean, 0, {&xrs1}); - DISASM_INSN("cbo.flush", cbo_flush, 0, {&xrs1}); - DISASM_INSN("cbo.inval", cbo_inval, 0, {&xrs1}); + DISASM_INSN("cbo.clean", cbo_clean, 0, {&base_only_address}); + DISASM_INSN("cbo.flush", cbo_flush, 0, {&base_only_address}); + DISASM_INSN("cbo.inval", cbo_inval, 0, {&base_only_address}); } if (isa->extension_enabled(EXT_ZICBOZ)) { - DISASM_INSN("cbo.zero", cbo_zero, 0, {&xrs1}); + DISASM_INSN("cbo.zero", cbo_zero, 0, {&base_only_address}); } if (isa->extension_enabled(EXT_ZKND) || |