diff options
author | Andrew Waterman <andrew@sifive.com> | 2023-06-17 14:34:22 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2023-06-18 01:23:45 -0700 |
commit | 961d6def2131fa0a831083684fc77b83592a2175 (patch) | |
tree | 0704b350076cb5a51593e243573531c9a4b72b24 | |
parent | b043cc1d7430d6a4d982aa4d2b07b44dd4b2366c (diff) | |
download | riscv-isa-sim-961d6def2131fa0a831083684fc77b83592a2175.zip riscv-isa-sim-961d6def2131fa0a831083684fc77b83592a2175.tar.gz riscv-isa-sim-961d6def2131fa0a831083684fc77b83592a2175.tar.bz2 |
Remove Xbitmanip from disassembler
-rw-r--r-- | disasm/disasm.cc | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/disasm/disasm.cc b/disasm/disasm.cc index 25de783..8722cdb 100644 --- a/disasm/disasm.cc +++ b/disasm/disasm.cc @@ -2144,38 +2144,6 @@ void disassembler_t::add_instructions(const isa_parser_t* isa) } } - if (isa->extension_enabled(EXT_XZBP)) { - DEFINE_ITYPE_SHIFT(grevi); - DEFINE_ITYPE_SHIFT(gorci); - DEFINE_RTYPE(pack); - DEFINE_RTYPE(packh); - DEFINE_RTYPE(packu); - DEFINE_RTYPE(grev); - DEFINE_RTYPE(gorc); - DEFINE_RTYPE(xperm4); - DEFINE_RTYPE(xperm8); - DEFINE_RTYPE(xperm16); - DEFINE_RTYPE(xperm32); - } - - if (isa->extension_enabled(EXT_XZBP) || - isa->extension_enabled(EXT_XZBE) || - isa->extension_enabled(EXT_XZBF)) { - if(isa->get_max_xlen() == 64) { - DEFINE_RTYPE(packw); - } - } - - if (isa->extension_enabled(EXT_XZBT)) { - DEFINE_R3TYPE(cmix); - DEFINE_R3TYPE(fsr); - DEFINE_R3TYPE(fsri); - if(isa->get_max_xlen() == 64) { - DEFINE_R3TYPE(fsriw); - DEFINE_R3TYPE(fsrw); - } - } - if (isa->extension_enabled(EXT_ZICBOM)) { DISASM_INSN("cbo.clean", cbo_clean, 0, {&base_only_address}); DISASM_INSN("cbo.flush", cbo_flush, 0, {&base_only_address}); @@ -2252,7 +2220,7 @@ disassembler_t::disassembler_t(const isa_parser_t *isa) // next-highest priority: other instructions in same base ISA std::string fallback_isa_string = std::string("rv") + std::to_string(isa->get_max_xlen()) + - "gqchv_zfh_zba_zbb_zbc_zbs_zcb_zicbom_zicboz_zkn_zkr_zks_svinval_xbitmanip"; + "gqchv_zfh_zba_zbb_zbc_zbs_zcb_zicbom_zicboz_zkn_zkr_zks_svinval"; isa_parser_t fallback_isa(fallback_isa_string.c_str(), DEFAULT_PRIV); add_instructions(&fallback_isa); |