riscv-decode
A simple library for decoding RISC-V instructions. Currently supports all instructions in the base ISA as well as the A and M extensions. The RV32F extension (but not RV64F) and a small number of compressed instructions are also supported. Pull requests welcome for additional instruction support.