Commit Graph

3 Commits

Author SHA1 Message Date
ee0253c1fb isa_coverage: count op.endswith dispatch families (s_*_saveexec_b32/b64) 2026-11-22 19:08:21 +01:00
6290b0acd4 isa_coverage: allow v_mac_legacy_f32 (gfx1013 VOP2, missing from AMD's XML); counts at current main; wrap long lines
v_mac_legacy_f32 came in with 58706b5b; llvm-mc accepts it for gfx1013 (v_mac_legacy_f32_e32).
The docs give the counts with the commit they were taken at, and the README row no longer
quotes numbers that every new rule changes. Reported by @josevictorp in #1562.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:53:11 +01:00
e901a7b99a tools: isa_coverage.py, RDNA2 ISA coverage of the translator from AMD's XML
Reads AMD's machine-readable RDNA2 ISA spec (path given with --isa, not vendored), scans
tools/rdna2spirv.py statically with ast and reports, per encoding, which instructions have a
rule, are refused or are unknown, plus every matched name that is not an RDNA2 instruction.
Tests use a small hand-written fixture; the real-XML test skips without LEONIDA_RDNA2_ISA_XML.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:14:44 +01:00