diff options
| author | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 13:53:11 +0100 |
|---|---|---|
| committer | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 13:53:11 +0100 |
| commit | 6290b0acd4491bca1fc1dca08ca3b7eb899093ae (patch) | |
| tree | 2fb936fb286fcb22880977538caa34f76f9771c2 /docs/isa_coverage.md | |
| parent | 2e4d5604a7879b69c582eb6b228c6e922c213811 (diff) | |
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>
Diffstat (limited to 'docs/isa_coverage.md')
| -rw-r--r-- | docs/isa_coverage.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/isa_coverage.md b/docs/isa_coverage.md index c91d90b3d..1ed7c2a4c 100644 --- a/docs/isa_coverage.md +++ b/docs/isa_coverage.md | |||
| @@ -52,16 +52,18 @@ listed separately ("handled but with operand forms that raise"). Names built by | |||
| 52 | Only the AMD XML defines the denominator: it omits a few gfx1013 instructions that LLVM accepts (below), and lists | 52 | Only the AMD XML defines the denominator: it omits a few gfx1013 instructions that LLVM accepts (below), and lists |
| 53 | some that a desktop part does not execute. | 53 | some that a desktop part does not execute. |
| 54 | 54 | ||
| 55 | ## Result (translator at `bb2e1842`, AMD XML of 2026-08-06) | 55 | ## Result (translator at `41f44826`, AMD XML of 2026-08-06) |
| 56 | 56 | ||
| 57 | 1,153 RDNA2 instructions: 418 handled-exact, 411 handled-family, 2 refused (`s_denorm_mode`, `s_round_mode`), 322 | 57 | Every new translator rule moves these numbers; rerun the tool for the current ones. |
| 58 | |||
| 59 | 1,153 RDNA2 instructions: 436 handled-exact, 408 handled-family, 2 refused (`s_denorm_mode`, `s_round_mode`), 307 | ||
| 58 | unknown. The unknown ones cluster in groups the corpus does not need or that are not written yet: the f64 | 60 | unknown. The unknown ones cluster in groups the corpus does not need or that are not written yet: the f64 |
| 59 | transcendentals and `v_div_*`, FLAT and SCRATCH memory, the global atomics, the `image_gather4*` variants outside the | 61 | transcendentals and `v_div_*`, FLAT and SCRATCH memory, the global atomics, the `image_gather4*` variants outside the |
| 60 | four `_l`/`_lz` forms, packed image formats (`*_pck`, `*_by2`), the 16-bit `v_pk_*` integer forms, `v_dot*`, and the | 62 | four `_l`/`_lz` forms, packed image formats (`*_pck`, `*_by2`), the 16-bit `v_pk_*` integer forms, `v_dot*`, and the |
| 61 | `*_saveexec` / `s_nand`/`s_nor`/`s_xnor` scalar forms. `python -I tools/isa_coverage.py --list` has the full list per | 63 | `*_saveexec` / `s_nand`/`s_nor`/`s_xnor` scalar forms. `python -I tools/isa_coverage.py --list` has the full list per |
| 62 | encoding. | 64 | encoding. |
| 63 | 65 | ||
| 64 | Names the translator matches that are not in the RDNA2 XML (15), each checked with | 66 | Names the translator matches that are not in the RDNA2 XML (16), each checked with |
| 65 | `llvm-mc -arch=amdgcn -mcpu=gfx1013`: | 67 | `llvm-mc -arch=amdgcn -mcpu=gfx1013`: |
| 66 | 68 | ||
| 67 | | name | llvm-mc for gfx1013 | verdict | | 69 | | name | llvm-mc for gfx1013 | verdict | |
| @@ -70,7 +72,7 @@ Names the translator matches that are not in the RDNA2 XML (15), each checked wi | |||
| 70 | | `v_add_u16`, `v_sub_u16` | other GPU only | internal: `v_add_nc_u16` / `v_sub_nc_u16` are re-dispatched under these names | | 72 | | `v_add_u16`, `v_sub_u16` | other GPU only | internal: `v_add_nc_u16` / `v_sub_nc_u16` are re-dispatched under these names | |
| 71 | | `v_subrev_u16`, `v_and_b16`, `v_or_b16`, `v_xor_b16` | other GPU only | dead GFX9 spellings, harmless | | 73 | | `v_subrev_u16`, `v_and_b16`, `v_or_b16`, `v_xor_b16` | other GPU only | dead GFX9 spellings, harmless | |
| 72 | | `s_delay_alu` | other GPU only (RDNA3) | deliberate, in `NOOPS` | | 74 | | `s_delay_alu` | other GPU only (RDNA3) | deliberate, in `NOOPS` | |
| 73 | | `v_mac_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 | | 75 | | `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 | 76 | ||
| 75 | None is a typo that breaks translation, so there is nothing to fix in the translator; the two `_mask` names and the | 77 | None is a typo that breaks translation, so there is nothing to fix in the translator; the two `_mask` names and the |
| 76 | four dead 16-bit spellings are candidates for removal. No name ends in a suffix `base_op()` strips (`_e32`, `_e64`, | 78 | four dead 16-bit spellings are candidates for removal. No name ends in a suffix `base_op()` strips (`_e32`, `_e64`, |