riscv-opcodes icon indicating copy to clipboard operation
riscv-opcodes copied to clipboard

README should explain usage

Open scottj97 opened this issue 4 years ago • 1 comments
trafficstars

The current README.md does not explain how one would use this repo to add support for new instructions. I assume this repo can somehow be used to generate files useful to Spike and/or binutils?

There is some evidence for this in Spike's git repo:

riscv/encoding.h:/* Automatically generated by parse_opcodes.  */

Currently the README only refers to riscv-tools, which is (1) obsolete, and (2) doesn't seem to actually use this repo for anything. (At least, I couldn't find any script that refers to its riscv-opcodes submodule, or the parse_opcodes script.)

scottj97 avatar Feb 04 '21 23:02 scottj97

You could check out the Makefile.

furuame avatar Feb 05 '21 00:02 furuame