Disassemble RVC instructions based on XLEN
authorAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 29 Jun 2016 22:00:22 +0000 (15:00 -0700)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 29 Jun 2016 22:02:12 +0000 (15:02 -0700)
commit03b8bad375217fbc2143046e8caad9d80301abdb
treea5649fae5b7eb88825a5f94181820e4affff67b8
parent9b960e91b4d7e44d59fd73a7199517a82ba07c86
Disassemble RVC instructions based on XLEN

The interpretation of RVC opcodes depends on XLEN, and the disassembler
always assumed RV32.

h/t Michael Clark
riscv/disasm.h
riscv/processor.cc
riscv/processor.h
spike_main/disasm.cc
spike_main/spike-dasm.cc