Uploaded October 2022 | Updated December 2026, 3 hours ago
X.Org Developers Conference 2022
indico.freedesktop.org/event/2/contributions/55
isaspec is tool to describe an instruction set in xml, and generate assembler and disassembler from that single description. It is currently used by freedreno (ir3), with a WIP MR for etnaviv conversion. It has a number of interesting features do deal with (at least slightly) weird instruction sets:
the base construct is a "bitset", which can be an entire instruction, or used as a field type in a larger bitset
flexible override and display mechanism, to deal with instructions where some bits have completely different meaning depending on other bit(s) in the instruction, to deal with mnemonics, etc
inheritance ("extends") to reduce duplication between groups of similar instructions
#xdc #isaspec
X.Org Developers Conference 2022
indico.freedesktop.org/event/2/contributions/55
isaspec is tool to describe an instruction set in xml, and generate assembler and disassembler from that single description. It is currently used by freedreno (ir3), with a WIP MR for etnaviv conversion. It has a number of interesting features do deal with (at least slightly) weird instruction sets:
the base construct is a "bitset", which can be an entire instruction, or used as a field type in a larger bitset
flexible override and display mechanism, to deal with instructions where some bits have completely different meaning depending on other bit(s) in the instruction, to deal with mnemonics, etc
inheritance ("extends") to reduce duplication between groups of similar instructions
#xdc #isaspec










