Use this checklist before adding a second architecture backend:
- Define an
ArchitectureProfilefor the ISA, including bit width, endianness, and extension set. - Define opcode and field tables for the ISA, including any extension / mode gating rules that affect decode legality.
- Implement decoder-to-IR lowering against the shared
DecodedInstructionsurface instead of a string-first backend payload. - Add formatter coverage requirements:
- Capstone-style text formatting
- canonical text formatting
- verbose debug formatting
- structured JSON output
- Add test assets:
- golden fixtures
- differential/oracle coverage
- property tests
- fuzz targets
- Register benchmark cases for:
- IR decode throughput
- detail overhead
- CLI end-to-end cost
- Update
README.md,README_CN.md,docs/support-matrix.md, andtests/differential/known-differences.tomlas needed for the new ISA surface.