aboutsummaryrefslogtreecommitdiff
path: root/riscv/disasm.h
AgeCommit message (Collapse)AuthorFilesLines
2019-10-08Speed up compilation of disasm.cc, especially in clangAndrew Waterman1-2/+2
2019-06-09rvv: fix indentChih-Min Chao1-1/+1
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2019-05-09Add a tool "spike-log-parser" to get the instruction name from spike log.Jerry Shih1-1/+9
Usage: ./spike-log-parser < $(log_file) Here is the example log: x15 a5 <- 0x000000008004935e 2147783518 core 0: 0x000000008000c362 (0xca278793) addi a5, a5, -862 x15 a5 <- 0x0000000080049000 2147782656 core 0: 0x000000008000c366 (0x0000639c) c.ld a5, 0(a5) x15 a5 <- 0x0000000000000000 0 core 0: 0x000000008000c368 (0xfef43423) sd a5, -24(s0) The output will be: addi c.ld sd
2019-04-17disasm: make instruction name dynamicChih-Min Chao1-1/+2
to support not const instruction name generated by generated string Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2019-02-24typo in vector disassemblyBruce Hoult1-1/+1
2019-02-24Add ability for disassembler to have instructions with optional argumentsBruce Hoult1-3/+22
2018-03-26Add an api to get the name for a CSR.Prashanth Mundkur1-0/+1
2016-06-29Disassemble RVC instructions based on XLENAndrew Waterman1-3/+3
The interpretation of RVC opcodes depends on XLEN, and the disassembler always assumed RV32. h/t Michael Clark
2014-09-27Avoid some unused variable warningsAndrew Waterman1-13/+2
...and also save some space by not defining the register names in a header.
2014-07-24added support for register convention names in debug modeScott Beamer1-0/+14
2013-10-18refactor disassembler, and add hwacha disassemblerYunsup Lee1-5/+50
2013-03-25add BSD licenseAndrew Waterman1-0/+2
2011-11-11Remove dependence on binutilsYour Name1-0/+23
We now have our own disassembler.