Five EmbedDev logo Five EmbedDev

An Embedded RISC-V Blog

Compiler explorer now includes RISC-V opcode references for the rv64 targets, following my pull pull request and initial work by Siyao.

The updated files are:

The opcode references are generated from opcodes.yaml which is generated by convert_opcodes.rb in

The opcode decriptions are automatically extracted from the ISA user manual in HTML format. For example the description for sd is extracted from the Load and Store Instructions section.

To generate the data run these commands in the compiler explorer repo:

 cd compiler-explorer/etc/scripts/docenizers/
./ \
    -i \
    -o ../../../lib/asm-docs/generated/asm-docs-riscv64.ts