Commit 829afc4
[AMDGPU] Add WMMA and SWMMAC instructions for gfx1170 (#180731)
Introduce two new subtarget features:
- WMMA256bInsts for GFX11 WMMA instructions and
- WMMA128bInsts for GFX1170 and GFX12 WMMA and SWMMAC instructions
Some WMMA instructions have changed from GFX 11.0 to GFX 11.7 so new
Real versions were added with "_gfx1170" suffix. For consistency all
WMMA and SWMMAC GFX11.7 instructions use this suffix.
To resolve decoding issues between different formats for some WMMA
instructions between GFX 11 and GFX 11.7, new decoding tables were
added.File tree
42 files changed
+10512
-2861
lines changed- clang
- include/clang/Basic
- test/CodeGenOpenCL
- llvm
- lib
- TargetParser
- Target/AMDGPU
- AsmParser
- Disassembler
- Utils
- test
- CodeGen/AMDGPU
- GlobalISel
- MC
- AMDGPU
- Disassembler/AMDGPU
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+10512
-2861
lines changedLarge diffs are not rendered by default.
Lines changed: 71 additions & 70 deletions
Large diffs are not rendered by default.
Lines changed: 71 additions & 70 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
778 | 786 | | |
779 | 787 | | |
780 | 788 | | |
| |||
1820 | 1828 | | |
1821 | 1829 | | |
1822 | 1830 | | |
1823 | | - | |
1824 | | - | |
1825 | | - | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
1826 | 1834 | | |
1827 | 1835 | | |
1828 | 1836 | | |
| |||
1831 | 1839 | | |
1832 | 1840 | | |
1833 | 1841 | | |
1834 | | - | |
| 1842 | + | |
| 1843 | + | |
1835 | 1844 | | |
1836 | 1845 | | |
1837 | 1846 | | |
1838 | 1847 | | |
1839 | 1848 | | |
1840 | 1849 | | |
1841 | | - | |
| 1850 | + | |
| 1851 | + | |
1842 | 1852 | | |
1843 | 1853 | | |
1844 | 1854 | | |
| |||
1861 | 1871 | | |
1862 | 1872 | | |
1863 | 1873 | | |
1864 | | - | |
| 1874 | + | |
| 1875 | + | |
1865 | 1876 | | |
1866 | 1877 | | |
1867 | 1878 | | |
| |||
1885 | 1896 | | |
1886 | 1897 | | |
1887 | 1898 | | |
1888 | | - | |
| 1899 | + | |
| 1900 | + | |
1889 | 1901 | | |
1890 | 1902 | | |
1891 | 1903 | | |
| |||
1915 | 1927 | | |
1916 | 1928 | | |
1917 | 1929 | | |
| 1930 | + | |
1918 | 1931 | | |
1919 | 1932 | | |
1920 | 1933 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1556 | 1556 | | |
1557 | 1557 | | |
1558 | 1558 | | |
| 1559 | + | |
| 1560 | + | |
1559 | 1561 | | |
1560 | 1562 | | |
1561 | 1563 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
689 | 693 | | |
690 | 694 | | |
691 | 695 | | |
692 | 696 | | |
693 | 697 | | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
694 | 702 | | |
695 | 703 | | |
696 | 704 | | |
| |||
2247 | 2255 | | |
2248 | 2256 | | |
2249 | 2257 | | |
| 2258 | + | |
| 2259 | + | |
2250 | 2260 | | |
2251 | 2261 | | |
2252 | 2262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
0 commit comments