similar to ruslan@freebsd's work, use https://github.com/riscv/riscv-opcodes
authorderaadt <deraadt@openbsd.org>
Sat, 8 May 2021 18:08:41 +0000 (18:08 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 8 May 2021 18:08:41 +0000 (18:08 +0000)
commitb2a96f19f726736d2920944a688a05dc2ccdd6d5
tree11e0e86dbdf5ad3c4c32f24d5b49ca2fc62994ce
parentc01ef8ee1288289f22dec0fde8253743ef163643
similar to ruslan@freebsd's work, use https://github.com/riscv/riscv-opcodes
to generate instruction decoder tables

$ cat opcodes opcodes-rvc-pseudo opcodes-rvc opcodes-custom |
    ./parse-opcodes -c

with jsg
sys/arch/riscv64/riscv64/db_instruction.h [new file with mode: 0644]