Dmitry Preobrazhensky
b8e1071a29
[AMDGPU][GFX11][DOC][NFC] Add GFX11 assembler syntax description
2022-12-21 12:49:48 +03:00
Dmitry Preobrazhensky
c27eded938
[AMDGPU][GFX1030][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Enable register tuples with 9, 10, 11 and 12 registers (https://reviews.llvm.org/D138205 ).
- Enable abs and neg modifiers for v_cndmask_b32_dpp (https://reviews.llvm.org/D135900 ).
- Enable literal operands for permlane16/permlanex16 (https://reviews.llvm.org/D137332 ).
- Enable omod modifiers for v_max3_f16, v_min3_f16, etc. (https://reviews.llvm.org/D139469 ).
- Correct v_mov_b32_sdwa (it does not support abs and neg input modifiers yet).
- Enable tfe modifier for MUBUF loads (https://reviews.llvm.org/D137783 ).
- Enable image_gather4h (https://reviews.llvm.org/D130764 ).
- Minor corrections and improvements.
2022-12-13 14:51:18 +03:00
Dmitry Preobrazhensky
a1bd85cfc3
[AMDGPU][GFX1013][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Enable register tuples with 9, 10, 11 and 12 registers (https://reviews.llvm.org/D138205 ).
2022-12-13 14:44:02 +03:00
Dmitry Preobrazhensky
37e6f84026
[AMDGPU][GFX10][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Enable register tuples with 9, 10, 11 and 12 registers (https://reviews.llvm.org/D138205 ).
- Enable abs and neg modifiers for v_cndmask_b32_dpp (https://reviews.llvm.org/D135900 ).
- Enable literal operands for permlane16/permlanex16 (https://reviews.llvm.org/D137332 ).
- Enable omod modifiers for v_max3_f16, v_min3_f16, etc. (https://reviews.llvm.org/D139469 ).
- Correct v_mov_b32_sdwa (it does not support abs and neg input modifiers yet).
- Enable tfe modifier for MUBUF loads (https://reviews.llvm.org/D137783 ).
- Enable image_gather4h (https://reviews.llvm.org/D130764 ).
- Minor corrections and improvements.
2022-12-13 14:36:43 +03:00
Dmitry Preobrazhensky
b19c26747f
[AMDGPU][GFX940][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Enable VOP3 variants of dot2c/dot4c/dot8c instructions (https://reviews.llvm.org/D138494 ).
- Enable abs and neg modifiers for v_cndmask_b32 (https://reviews.llvm.org/D135900 ).
- Enable omod modifiers for v_max3_f16, v_min3_f16, etc. (https://reviews.llvm.org/D139469 ).
- Correct v_mov_b32_sdwa (it does not support abs and neg input modifiers yet).
- Enable abs and neg modifiers for v_dot2c_f32_f16_dpp.
- Minor corrections and improvements.
2022-12-13 14:29:09 +03:00
Dmitry Preobrazhensky
0d0018e709
[AMDGPU][GFX90A][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Enable register tuples with 9, 10, 11 and 12 registers (https://reviews.llvm.org/D138205 ).
- Enable VOP3 variants of dot2c/dot4c/dot8c instructions (https://reviews.llvm.org/D138494 ).
- Enable omod modifiers for v_max3_f16, v_min3_f16, etc. (https://reviews.llvm.org/D139469 ).
- Enable abs and neg modifiers for v_cndmask_b32 (https://reviews.llvm.org/D135900 ).
- Correct v_mov_b32_sdwa (it does not support abs and neg input modifiers yet).
- Enable abs and neg modifiers for v_dot2c_f32_f16_dpp.
- Minor corrections and improvements.
2022-12-13 14:22:13 +03:00
Dmitry Preobrazhensky
190eb50c8b
[AMDGPU][GFX908][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Enable VOP3 variants of dot2c/dot4c/dot8c instructions (https://reviews.llvm.org/D138494 ).
- Enable abs and neg modifiers for v_dot2c_f32_f16_dpp.
- Minor corrections and improvements.
2022-12-13 14:12:09 +03:00
Dmitry Preobrazhensky
d8ac03f15e
[AMDGPU][GFX9][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Enable register tuples with 9, 10, 11 and 12 registers (https://reviews.llvm.org/D138205 ).
- Enable omod modifiers for v_max3_f16, v_min3_f16, etc. (https://reviews.llvm.org/D139469 ).
- Enable abs and neg modifiers for v_cndmask_b32 (https://reviews.llvm.org/D135900 ).
- Correct v_mov_b32_sdwa (it does not support abs and neg input modifiers yet).
- Enable tfe modifier for MUBUF loads (https://reviews.llvm.org/D137783 ).
- Enable image_gather4h (https://reviews.llvm.org/D130764 ).
- Minor corrections and improvements.
2022-12-13 14:01:17 +03:00
Dmitry Preobrazhensky
564d47db9e
[AMDGPU][GFX8][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Enable register tuples with 9, 10, 11 and 12 registers (https://reviews.llvm.org/D138205 ).
- Enable abs and neg modifiers for v_cndmask_b32 (https://reviews.llvm.org/D135900 ).
- Correct v_mov_b32_sdwa (it does not support abs and neg input modifiers yet).
- Enable tfe modifier for MUBUF loads (https://reviews.llvm.org/D137783 ).
- Minor corrections and improvements.
2022-12-13 13:54:28 +03:00
Dmitry Preobrazhensky
cc426402be
[AMDGPU][GFX7][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Enable register tuples with 9, 10, 11 and 12 registers (https://reviews.llvm.org/D138205 ).
- Enable tfe modifier for MUBUF loads (https://reviews.llvm.org/D137783 ).
- Enable abs and neg modifiers for v_cndmask_b32_e64.
- Minor corrections and improvements.
2022-12-13 13:50:40 +03:00
Dmitry Preobrazhensky
6c8c74beda
[AMDGPU][GFX940][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Add bf8/fp8 VOP opcodes (see https://reviews.llvm.org/D129902 ).
- Add bf8/fp8 MFMA opcodes (see https://reviews.llvm.org/D129906 ).
- Add bf8/fp8 SMFMAC opcodes (see https://reviews.llvm.org/D129908 ).
2022-08-01 16:34:45 +03:00
Dmitry Preobrazhensky
955cc56af4
[AMDGPU][GFX1030][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Update FLAT LDS syntax (see https://reviews.llvm.org/D125126 )
2022-07-28 14:36:53 +03:00
Dmitry Preobrazhensky
9891bb2302
[AMDGPU][GFX10][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Update FLAT LDS syntax (see https://reviews.llvm.org/D125126 )
2022-07-26 19:33:31 +03:00
Dmitry Preobrazhensky
ca2e3ffbc1
[AMDGPU][GFX90A][DOC][NFC] Update assembler syntax description
...
Update FLAT LDS syntax (see https://reviews.llvm.org/D125126 ).
2022-07-18 13:56:50 +03:00
Dmitry Preobrazhensky
7648e8d9ca
[AMDGPU][GFX9][DOC][NFC] Update assembler syntax description
...
Update FLAT LDS syntax (see https://reviews.llvm.org/D125126 ).
2022-07-18 13:52:05 +03:00
Dmitry Preobrazhensky
2044e4c53e
[AMDGPU][GFX1030][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Update MUBUF lds syntax (see https://reviews.llvm.org/D124485 ).
- Add v_cvt_pkrtz_f16_f32_dpp, v_cvt_pkrtz_f16_f32_sdwa.
- Update SMEM syntax (see https://reviews.llvm.org/D127314 ).
- Enable op_sel for v_add_nc_u16, v_sub_nc_u16 (see https://reviews.llvm.org/D123594 ).
- Minor bug fixing and improvements.
2022-07-06 16:54:30 +03:00
Dmitry Preobrazhensky
f90f0e8fe7
[AMDGPU][GFX10][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Update MUBUF lds syntax (see https://reviews.llvm.org/D124485 ).
- Add v_cvt_pkrtz_f16_f32_dpp, v_cvt_pkrtz_f16_f32_sdwa.
- Update SMEM syntax (see https://reviews.llvm.org/D127314 ).
- Enable op_sel for v_add_nc_u16, v_sub_nc_u16 (see https://reviews.llvm.org/D123594 ).
- Minor bug fixing and improvements.
2022-07-04 13:30:56 +03:00
Dmitry Preobrazhensky
3a4d9b6a68
[AMDGPU][GFX908][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Remove dst for global_atomic_add_f32, global_atomic_pk_add_f16.
- Make vdata input-only for buffer_atomic_add_f32, buffer_atomic_pk_add_f16.
- Other minor improvements.
2022-07-01 12:46:45 +03:00
Dmitry Preobrazhensky
36c9e9968a
[AMDGPU][GFX940][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Update SMEM syntax (see https://reviews.llvm.org/D127314 ).
- Minor improvements.
2022-07-01 12:22:57 +03:00
Dmitry Preobrazhensky
1774f2e326
[AMDGPU][GFX90a][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Update MUBUF lds syntax (see https://reviews.llvm.org/D124485 ).
- Update SMEM syntax (see https://reviews.llvm.org/D127314 ).
- Enable src0=literal for v_madak*, v_madmk* (see https://reviews.llvm.org/D111067 ).
- Correct src0 operands of v_accvgpr_write_b32.
- Correct description of s_getreg/s_setreg (add TBA/TMA).
- Remove SYSMSG_OP_HOST_TRAP_ACK message.
- Minor bug fixing and improvements.
2022-06-29 13:31:09 +03:00
Dmitry Preobrazhensky
480f3e0228
[AMDGPU][GFX9][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Updated MUBUF lds syntax (see https://reviews.llvm.org/D124485 ).
- Updated SMEM syntax (see https://reviews.llvm.org/D127314 ).
- Enabled src0=literal for v_madak*, v_madmk* (see https://reviews.llvm.org/D111067 ).
- Removed SYSMSG_OP_HOST_TRAP_ACK message.
- Minor bug fixing and improvements.
2022-06-27 14:03:58 +03:00
Dmitry Preobrazhensky
4fed5f174f
[AMDGPU][GFX8][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Updated MUBUF lds syntax (see https://reviews.llvm.org/D124485 ).
- Enabled literals with src0 for v_madak*, v_madmk* (see https://reviews.llvm.org/D111067 ).
- Minor bug fixing.
2022-06-06 17:42:16 +03:00
Dmitry Preobrazhensky
9c7e803f2d
[AMDGPU][GFX7][DOC][NFC] Update assembler syntax description
...
Summary of changes:
- Updated MUBUF lds syntax (see https://reviews.llvm.org/D124485 ).
- Enabled literals with src0 of v_madak_f32, v_madmk_f32 (see https://reviews.llvm.org/D111067 ).
- Corrected LGKM_CNT description.
- Minor bug fixing.
2022-06-06 15:50:10 +03:00
Dmitry Preobrazhensky
62c46093f1
[AMDGPU][DOC][NFC] Add GFX90C and GFX940 assembler syntax description
2022-05-31 14:29:06 +03:00
Dmitry Preobrazhensky
c33770d87f
[AMDGPU][DOC][NFC] Updated GFX10 assembler syntax description
...
The description has been updated to reflect AMDGPU MC changes:
- enabled literals for src0 of v_fmaak_f*, v_fmamk_f*, v_madak_f32, v_madmk_f32;
- enabled global_atomic_fcmpswap and global_atomic_fcmpswap_x2;
- enabled dlc with flat_atomic* and global_atomic_*.
Bug fixing and improvements:
- enabled s_wait_idle;
- enabled s_waitcnt_depctr;
- added description of s_waitcnt_depctr syntactic sugar;
- disabled SYSMSG_OP_HOST_TRAP_ACK (it is not supported on GFX10);
- corrected description of lgkmcnt (accept values from 0 to 63).
2022-04-12 15:18:44 +03:00
Dmitry Preobrazhensky
4e83d4fd92
[AMDGPU][DOC][NFC] Updated GFX1030 assembler syntax description
...
Summary of changes:
- enabled null for VOP operands;
- added description of s_waitcnt_depctr syntactic sugar.
2022-04-12 14:58:18 +03:00
Dmitry Preobrazhensky
111cb395c9
[AMDGPU][DOC][NFC] Added GFX1013 assembler syntax description
2022-04-01 14:47:38 +03:00
Dmitry Preobrazhensky
5975f1c5f9
[AMDGPU][DOC][NFC] Added GFX1030 assembler syntax description
2022-03-25 18:14:04 +03:00
Dmitry Preobrazhensky
95a52b376a
[AMDGPU][GFX9][DOC][NFC] Corrected description of registers available via getreg/setreg
...
This is to reflect changes introduced by https://reviews.llvm.org/D118860 .
2022-02-04 17:55:32 +03:00
Dmitry Preobrazhensky
c7ca4c6365
[AMDGPU][GFX10][MC] Updated symbolic names of internal HW registers
...
GFX10 no longer support HW_ID. It has been replaced with HW_ID1 and HW_ID2.
See bug 52904: https://github.com/llvm/llvm-project/issues/52904
Differential Revision: https://reviews.llvm.org/D117313
2022-01-17 20:29:10 +03:00
Dmitry Preobrazhensky
9e3f86e273
[AMDGPU][MC][NFC][DOC] Updated description of registers
...
Corrected list of available register tuples to reflect changes introduced by
commits https://reviews.llvm.org/D103672 and https://reviews.llvm.org/D103800
See bug https://bugs.llvm.org/show_bug.cgi?id=51388
2021-09-03 13:09:54 +03:00
Dmitry Preobrazhensky
8ea3e9d9a2
[AMDGPU][MC][NFC][DOC] Updated AMD GPU assembler syntax description.
...
Summary of changes:
- Added f16 omod modifier (bug 51386).
- Corrected names of data types (bug 48638).
- Enabled a16 with most GFX10 MIMG opcodes (see https://reviews.llvm.org/D102231 ).
- Corrected description of integer operands (bug 51130).
- Corrected description of 8-bit DS offsets (bug 51536).
- Improved PERMLANE op_sel description.
- Corrected *SAD* opcode types.
2021-08-27 17:23:20 +03:00
Dmitry Preobrazhensky
02b1c3f052
[AMDGPU][MC][NFC][DOC] Updated AMD GPU assembler syntax description.
...
Corrected sendmsg description (bug https://bugs.llvm.org/show_bug.cgi?id=49648 ).
2021-08-06 15:52:26 +03:00
Dmitry Preobrazhensky
424fe903d4
[AMDGPU][MC][GFX9][NFC][DOC] Updated AMD GPU assembler syntax description.
...
Fixed bugs 48639, 49447, 49448, 49449.
2021-07-23 12:59:42 +03:00
Dmitry Preobrazhensky
434b278cde
[AMDGPU][MC][NFC][DOC] Updated AMD GPU assembler syntax description.
...
Summary of changes:
- added description of GFX90A;
- minor bugfixing and improvements.
2021-05-14 16:13:30 +03:00
Dmitry Preobrazhensky
3f7985e6ec
[AMDGPU][MC][NFC][DOC] Updated AMD GPU assembler syntax description.
...
Summary of changes:
- added description of MTBUF instructions and format modifier;
- described limitations of f16 inline constants when used with integer operands;
- updated description of gfx9+ flat global addressing modes;
- v_accvgpr_write_b32 src0 corrections (gfx908);
- minor bugfixing and improvements.
2020-08-21 14:25:14 +03:00
Dmitry Preobrazhensky
2de2275cbd
[AMDGPU][MC][DOC] Updated AMD GPU assembler syntax description.
...
Summary of changes:
- updated description of gfx906 and gfx908;
- added description of gfx1011 and gfx1012 subtargets.
2020-02-07 16:23:46 +03:00
Kazuaki Ishizaki
f65d4aa960
[llvm] NFC: fix trivial typos in documents
...
Reviewers: hans, Jim
Reviewed By: Jim
Subscribers: jvesely, nhaehnle, mgorny, arphaman, bmahjour, kerbowa, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73017
2020-01-22 11:32:51 +08:00
Dmitry Preobrazhensky
80c45e49c3
[AMDGPU][MC][DOC] Updated AMD GPU assembler syntax description.
...
Summary of changes:
- added description of GFX9 subtargets:
- gfx900;
- gfx902;
- gfx904;
- gfx906;
- gfx908;
- gfx909.
2019-12-25 17:51:53 +03:00
Dmitry Preobrazhensky
b9683d3c53
[AMDGPU][MC][DOC] Updated AMD GPU assembler description.
...
Summary of changes:
- Updated to reflect recent changes in assembler;
- Minor bugfixing and improvements.
llvm-svn: 372857
2019-09-25 12:38:35 +00:00
Dmitry Preobrazhensky
5153b1723a
[AMDGPU][MC][GFX9][GFX10] Added support of GET_DOORBELL message
...
Reviewers: artem.tamazov, arsenm
Differential Revision: https://reviews.llvm.org/D64729
llvm-svn: 366071
2019-07-15 15:12:16 +00:00
Dmitry Preobrazhensky
cef9d42157
[AMDGPU][MC][DOC] Updated AMD GPU assembler syntax description.
...
Summary of changes:
- added description of GFX10;
- added description of operands sccz, vccz, lds_direct, etc;
- minor bugfixing and improvements.
llvm-svn: 365347
2019-07-08 16:50:11 +00:00
Dmitry Preobrazhensky
ddac5c9ba5
[AMDGPU][MC][DOC] Updated AMD GPU assembler description.
...
Minor bugfixing and improvements.
See bug 36572: https://bugs.llvm.org/show_bug.cgi?id=36572
llvm-svn: 350120
2018-12-28 11:48:23 +00:00
Dmitry Preobrazhensky
1fa7aaf5a7
[AMDGPU][MC][DOC] A fix for build failure in r349370
...
llvm-svn: 349375
2018-12-17 18:53:10 +00:00
Dmitry Preobrazhensky
47eb63684d
[AMDGPU][MC][DOC] Updated AMD GPU assembler description
...
Stage 2: added detailed description of operands
See bug 36572: https://bugs.llvm.org/show_bug.cgi?id=36572
llvm-svn: 349368
2018-12-17 17:38:11 +00:00