[llvm] [AMDGPU][True16][MC] VOP3 profile in True16 format (PR #109031)
Ivan Kosarev via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 06:34:05 PDT 2024
================
@@ -244,50 +244,59 @@ v_add_lshl_u32 v5, src_scc, vcc_lo, -1
v_add_lshl_u32 v255, 0xaf123456, vcc_hi, null
// GFX11: encoding: [0xff,0x00,0x47,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
-v_add_nc_i16 v5, v1, v2
-// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x01,0x05,0x02,0x00]
+v_add_nc_i16 v5.l, v1.h, v2.l
+// GFX11: [0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00]
-v_add_nc_i16 v5, v255, v255
-// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0xff,0xff,0x03,0x00]
+v_add_nc_i16 v5.l, v255.l, v255.h
+// GFX11: [0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00]
-v_add_nc_i16 v5, s1, s2
-// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x01,0x04,0x00,0x00]
+v_add_nc_i16 v5.l, s1, s2
+// GFX11: [0x05,0x00,0x0d,0xd7,0x01,0x04,0x00,0x00]
-v_add_nc_i16 v5, s105, s105
-// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x69,0xd2,0x00,0x00]
+v_add_nc_i16 v5.l, s105, s105
+// GFX11: [0x05,0x00,0x0d,0xd7,0x69,0xd2,0x00,0x00]
-v_add_nc_i16 v5, vcc_lo, ttmp15
-// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x6a,0xf6,0x00,0x00]
+v_add_nc_i16 v5.l, vcc_lo, ttmp15
+// GFX11: [0x05,0x00,0x0d,0xd7,0x6a,0xf6,0x00,0x00]
-v_add_nc_i16 v5, vcc_hi, 0xfe0b
-// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x6b,0xfe,0x01,0x00,0x0b,0xfe,0x00,0x00]
+v_add_nc_i16 v5.l, vcc_hi, 0xfe0b
+// GFX11: [0x05,0x00,0x0d,0xd7,0x6b,0xfe,0x01,0x00,0x0b,0xfe,0x00,0x00]
-v_add_nc_i16 v5, ttmp15, src_scc
-// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x7b,0xfa,0x01,0x00]
+v_add_nc_i16 v5.l, ttmp15, src_scc
+// GFX11: [0x05,0x00,0x0d,0xd7,0x7b,0xfa,0x01,0x00]
-v_add_nc_i16 v5, m0, 0.5
+v_add_nc_i16 v5.l, m0, 0.5
// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x7d,0xe0,0x01,0x00]
-v_add_nc_i16 v5, exec_lo, -1
-// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x7e,0x82,0x01,0x00]
+v_add_nc_i16 v5.l, exec_lo, -1
+// GFX11: [0x05,0x00,0x0d,0xd7,0x7e,0x82,0x01,0x00]
-v_add_nc_i16 v5, exec_hi, null
-// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x7f,0xf8,0x00,0x00]
+v_add_nc_i16 v5.l, exec_hi, null
+// GFX11: [0x05,0x00,0x0d,0xd7,0x7f,0xf8,0x00,0x00]
-v_add_nc_i16 v5, null, exec_lo op_sel:[1,1,1]
-// GFX11: encoding: [0x05,0x58,0x0d,0xd7,0x7c,0xfc,0x00,0x00]
+v_add_nc_i16 v5.l, null, exec_lo
+// GFX11: [0x05,0x00,0x0d,0xd7,0x7c,0xfc,0x00,0x00]
-v_add_nc_i16 v5, -1, exec_hi op_sel:[0,0,0]
-// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0xc1,0xfe,0x00,0x00]
+v_add_nc_i16 v5.l, -1, exec_hi
+// GFX11: [0x05,0x00,0x0d,0xd7,0xc1,0xfe,0x00,0x00]
-v_add_nc_i16 v5, 0.5, m0 op_sel:[1,0,0]
+v_add_nc_i16 v5.l, 0.5, m0 op_sel:[1,0,0]
// GFX11: encoding: [0x05,0x08,0x0d,0xd7,0xf0,0xfa,0x00,0x00]
-v_add_nc_i16 v5, src_scc, vcc_lo op_sel:[0,1,0]
-// GFX11: encoding: [0x05,0x10,0x0d,0xd7,0xfd,0xd4,0x00,0x00]
----------------
kosarev wrote:
Where did this case go?
https://github.com/llvm/llvm-project/pull/109031
More information about the llvm-commits
mailing list