diff options
author | Ben Marshall <ben.marshall@bristol.ac.uk> | 2021-07-28 11:50:57 +0100 |
---|---|---|
committer | Ben Marshall <ben.marshall@bristol.ac.uk> | 2021-07-28 11:50:57 +0100 |
commit | 8e023fa06a47cca7c7da50b5358ed9dc48f579f9 (patch) | |
tree | 470112e8f3fdd2630f044716c647154574ec7c90 /disasm | |
parent | a4eefd3fe6e99e63664bee49d6994221debbd0ea (diff) | |
download | riscv-isa-sim-8e023fa06a47cca7c7da50b5358ed9dc48f579f9.zip riscv-isa-sim-8e023fa06a47cca7c7da50b5358ed9dc48f579f9.tar.gz riscv-isa-sim-8e023fa06a47cca7c7da50b5358ed9dc48f579f9.tar.bz2 |
scalar-crypto: Remove remaining RV*_ONLY code
- Remove remaining code which allowed spike to differentiate between
RV32 and RV64 instructions which share an encoding.
On branch scalar-crypto
Changes to be committed:
modified: disasm/disasm.cc
modified: riscv/processor.cc
Diffstat (limited to 'disasm')
-rw-r--r-- | disasm/disasm.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/disasm/disasm.cc b/disasm/disasm.cc index fe1e24e..b6ad437 100644 --- a/disasm/disasm.cc +++ b/disasm/disasm.cc @@ -447,11 +447,7 @@ disassembler_t::disassembler_t(int xlen) #define DECLARE_INSN(code, match, mask) \ const uint32_t match_##code = match; \ const uint32_t mask_##code = mask; - #define DECLARE_RV32_ONLY(code) {} - #define DECLARE_RV64_ONLY(code) {} #include "encoding.h" - #undef DECLARE_RV64_INSN - #undef DECLARE_RV32_INSN #undef DECLARE_INSN // explicit per-instruction disassembly @@ -1682,11 +1678,7 @@ disassembler_t::disassembler_t(int xlen) // provide a default disassembly for all instructions as a fallback #define DECLARE_INSN(code, match, mask) \ add_insn(new disasm_insn_t(#code " (args unknown)", match, mask, {})); - #define DECLARE_RV32_ONLY(code) {} - #define DECLARE_RV64_ONLY(code) {} #include "encoding.h" - #undef DECLARE_RV64_INSN - #undef DECLARE_RV32_INSN #undef DECLARE_INSN } |