introduction to isaspec

5 Oct 2022, 08:45
20m
201 (Opus Hall)

201

Opus Hall

30 S 10th Street, Minneapolis, MN
Talk (half slot, Wineconf and FOSS XR only) Main Track

Speaker

Rob Clark (Google)

Description

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
Code of Conduct Yes
For which conference do you send the proposal? X.Org Developers Conference 2022
GSoC, EVoC or Outreachy No

Primary author

Rob Clark (Google)

Presentation Materials

2026 Platinum Sponsor
Arm
2026 Gold Sponsors
AMD
Collabora
Microsoft
NVIDIA
Raspberry Pi
2026 Silver Sponsors
CodeWeavers
Igalia
Netflix
Qualcomm
Snap AR
The Linux Foundation
2026 Bronze Sponsors
Khronos Group
Libre Computer
LunarG