Skip to content

Commit

Permalink
[AMDGPU][True16][MC] true16 for v_cmpx_xx_u/i16 (#123424)
Browse files Browse the repository at this point in the history
A bulk commit of true16 support for v_cmp_xx_i/u16 instructions
including:

v_cmpx_lt_i16
v_cmpx_eq_i16
v_cmpx_le_i16
v_cmpx_gt_i16
v_cmpx_ne_i16
v_cmpx_ge_i16
v_cmpx_lt_u16
v_cmpx_eq_u16
v_cmpx_le_u16
v_cmpx_gt_u16
v_cmpx_ne_u16
v_cmpx_ge_u16
  • Loading branch information
broxigarchen authored Jan 22, 2025
1 parent 1cf0af3 commit 18e9d3d
Show file tree
Hide file tree
Showing 29 changed files with 10,068 additions and 4,332 deletions.
24 changes: 12 additions & 12 deletions llvm/lib/Target/AMDGPU/VOPCInstructions.td
Original file line number Diff line number Diff line change
Expand Up @@ -2026,18 +2026,18 @@ defm V_CMPX_NEQ_F64 : VOPCX_Real_gfx11_gfx12<0x0ad>;
defm V_CMPX_NLT_F64 : VOPCX_Real_gfx11_gfx12<0x0ae>;
defm V_CMPX_T_F64 : VOPCX_Real_with_name_gfx11<0x0af, "V_CMPX_TRU_F64", "v_cmpx_t_f64">;

defm V_CMPX_LT_I16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0b1, "v_cmpx_lt_i16">;
defm V_CMPX_EQ_I16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0b2, "v_cmpx_eq_i16">;
defm V_CMPX_LE_I16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0b3, "v_cmpx_le_i16">;
defm V_CMPX_GT_I16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0b4, "v_cmpx_gt_i16">;
defm V_CMPX_NE_I16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0b5, "v_cmpx_ne_i16">;
defm V_CMPX_GE_I16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0b6, "v_cmpx_ge_i16">;
defm V_CMPX_LT_U16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0b9, "v_cmpx_lt_u16">;
defm V_CMPX_EQ_U16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0ba, "v_cmpx_eq_u16">;
defm V_CMPX_LE_U16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0bb, "v_cmpx_le_u16">;
defm V_CMPX_GT_U16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0bc, "v_cmpx_gt_u16">;
defm V_CMPX_NE_U16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0bd, "v_cmpx_ne_u16">;
defm V_CMPX_GE_U16_fake16 : VOPCX_Real_t16_gfx11_gfx12<0x0be, "v_cmpx_ge_u16">;
defm V_CMPX_LT_I16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0b1, "v_cmpx_lt_i16">;
defm V_CMPX_EQ_I16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0b2, "v_cmpx_eq_i16">;
defm V_CMPX_LE_I16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0b3, "v_cmpx_le_i16">;
defm V_CMPX_GT_I16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0b4, "v_cmpx_gt_i16">;
defm V_CMPX_NE_I16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0b5, "v_cmpx_ne_i16">;
defm V_CMPX_GE_I16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0b6, "v_cmpx_ge_i16">;
defm V_CMPX_LT_U16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0b9, "v_cmpx_lt_u16">;
defm V_CMPX_EQ_U16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0ba, "v_cmpx_eq_u16">;
defm V_CMPX_LE_U16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0bb, "v_cmpx_le_u16">;
defm V_CMPX_GT_U16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0bc, "v_cmpx_gt_u16">;
defm V_CMPX_NE_U16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0bd, "v_cmpx_ne_u16">;
defm V_CMPX_GE_U16 : VOPCX_Real_t16_and_fake16_gfx11_gfx12<0x0be, "v_cmpx_ge_u16">;

defm V_CMPX_F_I32 : VOPCX_Real_gfx11<0x0c0>;
defm V_CMPX_LT_I32 : VOPCX_Real_gfx11_gfx12<0x0c1>;
Expand Down
780 changes: 444 additions & 336 deletions llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp16_from_vopcx.s

Large diffs are not rendered by default.

252 changes: 180 additions & 72 deletions llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8_from_vopcx.s

Large diffs are not rendered by default.

168 changes: 120 additions & 48 deletions llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopcx.s

Large diffs are not rendered by default.

900 changes: 540 additions & 360 deletions llvm/test/MC/AMDGPU/gfx11_asm_vopcx.s

Large diffs are not rendered by default.

780 changes: 444 additions & 336 deletions llvm/test/MC/AMDGPU/gfx11_asm_vopcx_dpp16.s

Large diffs are not rendered by default.

252 changes: 180 additions & 72 deletions llvm/test/MC/AMDGPU/gfx11_asm_vopcx_dpp8.s

Large diffs are not rendered by default.

504 changes: 360 additions & 144 deletions llvm/test/MC/AMDGPU/gfx11_asm_vopcx_t16_err.s

Large diffs are not rendered by default.

504 changes: 360 additions & 144 deletions llvm/test/MC/AMDGPU/gfx11_asm_vopcx_t16_promote.s

Large diffs are not rendered by default.

168 changes: 120 additions & 48 deletions llvm/test/MC/AMDGPU/gfx12_asm_vop3cx.s

Large diffs are not rendered by default.

876 changes: 492 additions & 384 deletions llvm/test/MC/AMDGPU/gfx12_asm_vop3cx_dpp16.s

Large diffs are not rendered by default.

348 changes: 228 additions & 120 deletions llvm/test/MC/AMDGPU/gfx12_asm_vop3cx_dpp8.s

Large diffs are not rendered by default.

864 changes: 504 additions & 360 deletions llvm/test/MC/AMDGPU/gfx12_asm_vopcx.s

Large diffs are not rendered by default.

744 changes: 408 additions & 336 deletions llvm/test/MC/AMDGPU/gfx12_asm_vopcx_dpp16.s

Large diffs are not rendered by default.

216 changes: 144 additions & 72 deletions llvm/test/MC/AMDGPU/gfx12_asm_vopcx_dpp8.s

Large diffs are not rendered by default.

504 changes: 360 additions & 144 deletions llvm/test/MC/AMDGPU/gfx12_asm_vopcx_t16_err.s

Large diffs are not rendered by default.

504 changes: 360 additions & 144 deletions llvm/test/MC/AMDGPU/gfx12_asm_vopcx_t16_promote.s

Large diffs are not rendered by default.

648 changes: 480 additions & 168 deletions llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp16_from_vopcx.txt

Large diffs are not rendered by default.

216 changes: 192 additions & 24 deletions llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp8_from_vopcx.txt

Large diffs are not rendered by default.

168 changes: 144 additions & 24 deletions llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopcx.txt

Large diffs are not rendered by default.

780 changes: 600 additions & 180 deletions llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopcx.txt

Large diffs are not rendered by default.

648 changes: 480 additions & 168 deletions llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopcx_dpp16.txt

Large diffs are not rendered by default.

288 changes: 264 additions & 24 deletions llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopcx_dpp8.txt

Large diffs are not rendered by default.

192 changes: 168 additions & 24 deletions llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3cx.txt

Large diffs are not rendered by default.

1,284 changes: 1,104 additions & 180 deletions llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3cx_dpp16.txt

Large diffs are not rendered by default.

288 changes: 252 additions & 36 deletions llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3cx_dpp8.txt

Large diffs are not rendered by default.

732 changes: 552 additions & 180 deletions llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vopcx.txt

Large diffs are not rendered by default.

600 changes: 432 additions & 168 deletions llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vopcx_dpp16.txt

Large diffs are not rendered by default.

168 changes: 144 additions & 24 deletions llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vopcx_dpp8.txt

Large diffs are not rendered by default.

0 comments on commit 18e9d3d

Please sign in to comment.