aboutsummaryrefslogtreecommitdiff
path: root/riscv/rocc.cc
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2013-10-18 17:34:54 -0700
committerYunsup Lee <yunsup@cs.berkeley.edu>2013-10-18 17:34:54 -0700
commitcb6cfc5f3ad18280c6dce1f03ee4ff87e4677dad (patch)
tree2f2416b151713f95aaa0d24d7a5163330c3d0d90 /riscv/rocc.cc
parent9543d241b320cb1c4982949aa6d012940c8f5377 (diff)
downloadspike-cb6cfc5f3ad18280c6dce1f03ee4ff87e4677dad.zip
spike-cb6cfc5f3ad18280c6dce1f03ee4ff87e4677dad.tar.gz
spike-cb6cfc5f3ad18280c6dce1f03ee4ff87e4677dad.tar.bz2
refactor disassembler, and add hwacha disassembler
Diffstat (limited to 'riscv/rocc.cc')
-rw-r--r--riscv/rocc.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/riscv/rocc.cc b/riscv/rocc.cc
index b148319..7988c01 100644
--- a/riscv/rocc.cc
+++ b/riscv/rocc.cc
@@ -36,3 +36,9 @@ std::vector<insn_desc_t> rocc_t::get_instructions()
insns.push_back((insn_desc_t){0x7b, 0x7f, &::illegal_instruction, c3});
return insns;
}
+
+std::vector<disasm_insn_t*> rocc_t::get_disasms()
+{
+ std::vector<disasm_insn_t*> insns;
+ return insns;
+}