diff options
| author | evilclanker9000 <45567075+evilclanker9000@users.noreply.github.com> | 2026-11-23 19:52:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-23 12:52:10 -0600 |
| commit | 427a7ec71cbfaaf549b3e12865a87f6b87a069c8 (patch) | |
| tree | fe12f30d4a3ba4deae24e1ad173112ffb11b0196 /docs/isa_coverage.md | |
| parent | b763516e8c05666e33c9f24a645e5228721ba358 (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.md | 6 |
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 | ||
| 77 | that the XML omits (`v_mac_f32`, `v_mad_f32`, `v_madak_f32`, `v_madmk_f32`, `s_get_waveid_in_workgroup`) are in | ||
| 78 | that table, and `v_mad_legacy_f32` is the name the decoder gives VOP3 opcode 0x140 on a gfx101* target. A name | ||
| 79 | added there belongs in the table above as well. | ||
| 80 | |||
| 75 | None is a typo that breaks translation, so there is nothing to fix in the translator. No name ends in a suffix | 81 | None 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 |
| 77 | instruction. | 83 | instruction. |