Is there a more machine-readable list of SPIR instructions around anywhere?
If not, I plan to make a spreadsheet so that I can autogenerate code.
- It’ll basically be lines of: Op[NAME], Param1Type, Param1Name, Param1Mode, Param2Type …
- Types will be from a manual list, eg: ‘SourceLanguage’, ‘id-def’, ‘nts’ (null-terminated-string), optional-word.
- Not fussed about the encoded opcode value, as I can get that from the header.