upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/isa_coverage.md
diff options
context:
space:
mode:
authorevilclanker9000 <45567075+evilclanker9000@users.noreply.github.com>2026-11-23 19:52:10 +0100
committerGitHub <noreply@github.com>2026-11-23 12:52:10 -0600
commit427a7ec71cbfaaf549b3e12865a87f6b87a069c8 (patch)
treefe12f30d4a3ba4deae24e1ad173112ffb11b0196 /docs/isa_coverage.md
parentb763516e8c05666e33c9f24a645e5228721ba358 (diff)
docs/isa_coverage: name tools/rdna2_isa_tables.py, the decoder's opcode and operand tables (EGEN-ISA-TABLES-DOC) (#6530)
Squash-merged after diff review of PR #6530
Diffstat (limited to 'docs/isa_coverage.md')
-rw-r--r--docs/isa_coverage.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/isa_coverage.md b/docs/isa_coverage.md
index c5e4e029e..999eeef82 100644
--- a/docs/isa_coverage.md
+++ b/docs/isa_coverage.md
@@ -72,6 +72,12 @@ Names the translator matches that are not in the RDNA2 XML (10), each checked wi
72| `s_delay_alu` | other GPU only (RDNA3) | deliberate, in `NOOPS` | 72| `s_delay_alu` | other GPU only (RDNA3) | deliberate, in `NOOPS` |
73| `v_mac_f32`, `v_mac_legacy_f32`, `v_mad_f32`, `v_mad_legacy_f32`, `v_madak_f32`, `v_madmk_f32`, `s_get_waveid_in_workgroup` | valid | real gfx1013 instructions that AMD's XML omits | 73| `v_mac_f32`, `v_mac_legacy_f32`, `v_mad_f32`, `v_mad_legacy_f32`, `v_madak_f32`, `v_madmk_f32`, `s_get_waveid_in_workgroup` | valid | real gfx1013 instructions that AMD's XML omits |
74 74
75`tools/rdna2_decode.py` decodes raw words without LLVM from the opcode and operand tables in
76`tools/rdna2_isa_tables.py`, which are derived from the same `amdgpu_isa_rdna2.xml`. The gfx1013 entries above
77that the XML omits (`v_mac_f32`, `v_mad_f32`, `v_madak_f32`, `v_madmk_f32`, `s_get_waveid_in_workgroup`) are in
78that table, and `v_mad_legacy_f32` is the name the decoder gives VOP3 opcode 0x140 on a gfx101* target. A name
79added there belongs in the table above as well.
80
75None is a typo that breaks translation, so there is nothing to fix in the translator. No name ends in a suffix 81None is a typo that breaks translation, so there is nothing to fix in the translator. No name ends in a suffix
76`base_op()` strips (`_e32`, `_e64`, `_sdwa`, `_dpp`), and every `startswith` prefix matches at least one RDNA2 82`base_op()` strips (`_e32`, `_e64`, `_sdwa`, `_dpp`), and every `startswith` prefix matches at least one RDNA2
77instruction. 83instruction.