1 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=gfx1100
-show-encoding
%s | FileCheck
--check-prefix
=GFX11
%s
2 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=gfx1100
-show-encoding
%s
2>&1 | FileCheck
--check-prefixes
=GFX11-ERR
--implicit-check-
not=error
: %s
4 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_8_UNORM
] offset
:4095
5 // GFX11
: encoding
: [0xff,0x0f,0x0c,0xe8,0x00,0x04,0x02,0x03]
7 tbuffer_load_format_d16_x v255
, off
, s
[8:11], s3
, format
:1 offset
:4095
8 // GFX11
: encoding
: [0xff,0x0f,0x0c,0xe8,0x00,0xff,0x02,0x03]
10 tbuffer_load_format_d16_x v4
, off
, s
[12:15], s3
, format
:[BUF_DATA_FORMAT_8
, BUF_NUM_FORMAT_UNORM
] offset
:4095
11 // GFX11
: encoding
: [0xff,0x0f,0x0c,0xe8,0x00,0x04,0x03,0x03]
13 tbuffer_load_format_d16_x v4
, off
, s
[12:15], s101
, format
:[BUF_FMT_8_SNORM
] offset
:4095
14 // GFX11
: encoding
: [0xff,0x0f,0x14,0xe8,0x00,0x04,0x03,0x65]
16 tbuffer_load_format_d16_x v4
, off
, s
[12:15], m0
, format
:2 offset
:4095
17 // GFX11
: encoding
: [0xff,0x0f,0x14,0xe8,0x00,0x04,0x03,0x7d]
19 tbuffer_load_format_d16_x v4
, off
, s
[8:11], 0, format
:[BUF_DATA_FORMAT_8
, BUF_NUM_FORMAT_SNORM
] offset
:4095
20 // GFX11
: encoding
: [0xff,0x0f,0x14,0xe8,0x00,0x04,0x02,0x80]
22 tbuffer_load_format_d16_x v4
, off
, s
[8:11], 61, format
:[BUF_FMT_8_USCALED
] offset
:4095
23 // GFX11
: encoding
: [0xff,0x0f,0x1c,0xe8,0x00,0x04,0x02,0xbd]
25 tbuffer_load_format_d16_x v4
, off
, ttmp
[4:7], 61, format
:3 offset
:4095
26 // GFX11
: encoding
: [0xff,0x0f,0x1c,0xe8,0x00,0x04,0x1c,0xbd]
28 tbuffer_load_format_d16_x v4
, v1
, s
[8:11], s3
, format
:[BUF_DATA_FORMAT_8
, BUF_NUM_FORMAT_USCALED
] offen offset
:52
29 // GFX11
: encoding
: [0x34,0x00,0x1c,0xe8,0x01,0x04,0x42,0x03]
31 tbuffer_load_format_d16_x v4
, v1
, s
[8:11], s3
, format
:[BUF_FMT_8_SSCALED
] idxen offset
:52
32 // GFX11
: encoding
: [0x34,0x00,0x24,0xe8,0x01,0x04,0x82,0x03]
34 tbuffer_load_format_d16_x v4
, v
[1:2], s
[8:11], s0
, format
:4 idxen offen offset
:52
35 // GFX11
: encoding
: [0x34,0x00,0x24,0xe8,0x01,0x04,0xc2,0x00]
37 tbuffer_load_format_d16_x v4
, off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_8
, BUF_NUM_FORMAT_SSCALED
] offset
:4095 glc
38 // GFX11
: encoding
: [0xff,0x4f,0x24,0xe8,0x00,0x04,0x1c,0x03]
40 tbuffer_load_format_d16_x v4
, off
, ttmp
[4:7], s3
, format
:[BUF_FMT_8_UINT
] offset
:4095 slc
41 // GFX11
: encoding
: [0xff,0x1f,0x2c,0xe8,0x00,0x04,0x1c,0x03]
43 tbuffer_load_format_d16_x v4
, off
, ttmp
[4:7], s3
, format
:5 offset
:4095 dlc
44 // GFX11
: encoding
: [0xff,0x2f,0x2c,0xe8,0x00,0x04,0x1c,0x03]
46 tbuffer_load_format_d16_x v4
, off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_8
, BUF_NUM_FORMAT_UINT
] offset
:4095 glc slc dlc
47 // GFX11
: encoding
: [0xff,0x7f,0x2c,0xe8,0x00,0x04,0x1c,0x03]
49 tbuffer_load_format_d16_xy v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_8_SINT
] offset
:4095
50 // GFX11
: encoding
: [0xff,0x8f,0x34,0xe8,0x00,0x04,0x02,0x03]
52 tbuffer_load_format_d16_xy v255
, off
, s
[8:11], s3
, format
:6 offset
:4095
53 // GFX11
: encoding
: [0xff,0x8f,0x34,0xe8,0x00,0xff,0x02,0x03]
55 tbuffer_load_format_d16_xy v4
, off
, s
[12:15], s3
, format
:[BUF_DATA_FORMAT_8
, BUF_NUM_FORMAT_SINT
] offset
:4095
56 // GFX11
: encoding
: [0xff,0x8f,0x34,0xe8,0x00,0x04,0x03,0x03]
58 tbuffer_load_format_d16_xy v4
, off
, s
[12:15], s101
, format
:[BUF_FMT_16_UNORM
] offset
:4095
59 // GFX11
: encoding
: [0xff,0x8f,0x3c,0xe8,0x00,0x04,0x03,0x65]
61 tbuffer_load_format_d16_xy v4
, off
, s
[12:15], m0
, format
:7 offset
:4095
62 // GFX11
: encoding
: [0xff,0x8f,0x3c,0xe8,0x00,0x04,0x03,0x7d]
64 tbuffer_load_format_d16_xy v4
, off
, s
[8:11], 0, format
:[BUF_DATA_FORMAT_16
, BUF_NUM_FORMAT_UNORM
] offset
:4095
65 // GFX11
: encoding
: [0xff,0x8f,0x3c,0xe8,0x00,0x04,0x02,0x80]
67 tbuffer_load_format_d16_xy v4
, off
, s
[8:11], 61, format
:[BUF_FMT_16_SNORM
] offset
:4095
68 // GFX11
: encoding
: [0xff,0x8f,0x44,0xe8,0x00,0x04,0x02,0xbd]
70 tbuffer_load_format_d16_xy v4
, off
, ttmp
[4:7], 61, format
:8 offset
:4095
71 // GFX11
: encoding
: [0xff,0x8f,0x44,0xe8,0x00,0x04,0x1c,0xbd]
73 tbuffer_load_format_d16_xy v4
, v1
, s
[8:11], s3
, format
:[BUF_DATA_FORMAT_16
, BUF_NUM_FORMAT_SNORM
] offen offset
:52
74 // GFX11
: encoding
: [0x34,0x80,0x44,0xe8,0x01,0x04,0x42,0x03]
76 tbuffer_load_format_d16_xy v4
, v1
, s
[8:11], s3
, format
:[BUF_FMT_16_USCALED
] idxen offset
:52
77 // GFX11
: encoding
: [0x34,0x80,0x4c,0xe8,0x01,0x04,0x82,0x03]
79 tbuffer_load_format_d16_xy v4
, v
[1:2], s
[8:11], s0
, format
:9 idxen offen offset
:52
80 // GFX11
: encoding
: [0x34,0x80,0x4c,0xe8,0x01,0x04,0xc2,0x00]
82 tbuffer_load_format_d16_xy v4
, off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_16
, BUF_NUM_FORMAT_USCALED
] offset
:4095 glc
83 // GFX11
: encoding
: [0xff,0xcf,0x4c,0xe8,0x00,0x04,0x1c,0x03]
85 tbuffer_load_format_d16_xy v4
, off
, ttmp
[4:7], s3
, format
:[BUF_FMT_16_SSCALED
] offset
:4095 slc
86 // GFX11
: encoding
: [0xff,0x9f,0x54,0xe8,0x00,0x04,0x1c,0x03]
88 tbuffer_load_format_d16_xy v4
, off
, ttmp
[4:7], s3
, format
:10 offset
:4095 dlc
89 // GFX11
: encoding
: [0xff,0xaf,0x54,0xe8,0x00,0x04,0x1c,0x03]
91 tbuffer_load_format_d16_xy v4
, off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_16
, BUF_NUM_FORMAT_SSCALED
] offset
:4095 glc slc dlc
92 // GFX11
: encoding
: [0xff,0xff,0x54,0xe8,0x00,0x04,0x1c,0x03]
94 tbuffer_load_format_d16_xyz v
[4:5], off
, s
[8:11], s3
, format
:[BUF_FMT_16_UINT
] offset
:4095
95 // GFX11
: encoding
: [0xff,0x0f,0x5d,0xe8,0x00,0x04,0x02,0x03]
97 tbuffer_load_format_d16_xyz v
[254:255], off
, s
[8:11], s3
, format
:11 offset
:4095
98 // GFX11
: encoding
: [0xff,0x0f,0x5d,0xe8,0x00,0xfe,0x02,0x03]
100 tbuffer_load_format_d16_xyz v
[4:5], off
, s
[12:15], s3
, format
:[BUF_DATA_FORMAT_16
, BUF_NUM_FORMAT_UINT
] offset
:4095
101 // GFX11
: encoding
: [0xff,0x0f,0x5d,0xe8,0x00,0x04,0x03,0x03]
103 tbuffer_load_format_d16_xyz v
[4:5], off
, s
[12:15], s101
, format
:[BUF_FMT_16_SINT
] offset
:4095
104 // GFX11
: encoding
: [0xff,0x0f,0x65,0xe8,0x00,0x04,0x03,0x65]
106 tbuffer_load_format_d16_xyz v
[4:5], off
, s
[12:15], m0
, format
:12 offset
:4095
107 // GFX11
: encoding
: [0xff,0x0f,0x65,0xe8,0x00,0x04,0x03,0x7d]
109 tbuffer_load_format_d16_xyz v
[4:5], off
, s
[8:11], 0, format
:[BUF_DATA_FORMAT_16
, BUF_NUM_FORMAT_SINT
] offset
:4095
110 // GFX11
: encoding
: [0xff,0x0f,0x65,0xe8,0x00,0x04,0x02,0x80]
112 tbuffer_load_format_d16_xyz v
[4:5], off
, s
[8:11], 61, format
:[BUF_FMT_16_FLOAT
] offset
:4095
113 // GFX11
: encoding
: [0xff,0x0f,0x6d,0xe8,0x00,0x04,0x02,0xbd]
115 tbuffer_load_format_d16_xyz v
[4:5], off
, ttmp
[4:7], 61, format
:13 offset
:4095
116 // GFX11
: encoding
: [0xff,0x0f,0x6d,0xe8,0x00,0x04,0x1c,0xbd]
118 tbuffer_load_format_d16_xyz v
[4:5], v1
, s
[8:11], s3
, format
:[BUF_DATA_FORMAT_16
, BUF_NUM_FORMAT_FLOAT
] offen offset
:52
119 // GFX11
: encoding
: [0x34,0x00,0x6d,0xe8,0x01,0x04,0x42,0x03]
121 tbuffer_load_format_d16_xyz v
[4:5], v1
, s
[8:11], s3
, format
:[BUF_FMT_8_8_UNORM
] idxen offset
:52
122 // GFX11
: encoding
: [0x34,0x00,0x75,0xe8,0x01,0x04,0x82,0x03]
124 tbuffer_load_format_d16_xyz v
[4:5], v
[1:2], s
[8:11], s0
, format
:14 idxen offen offset
:52
125 // GFX11
: encoding
: [0x34,0x00,0x75,0xe8,0x01,0x04,0xc2,0x00]
127 tbuffer_load_format_d16_xyz v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_8_8
, BUF_NUM_FORMAT_UNORM
] offset
:4095 glc
128 // GFX11
: encoding
: [0xff,0x4f,0x75,0xe8,0x00,0x04,0x1c,0x03]
130 tbuffer_load_format_d16_xyz v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_FMT_8_8_SNORM
] offset
:4095 slc
131 // GFX11
: encoding
: [0xff,0x1f,0x7d,0xe8,0x00,0x04,0x1c,0x03]
133 tbuffer_load_format_d16_xyz v
[4:5], off
, ttmp
[4:7], s3
, format
:15 offset
:4095 dlc
134 // GFX11
: encoding
: [0xff,0x2f,0x7d,0xe8,0x00,0x04,0x1c,0x03]
136 tbuffer_load_format_d16_xyz v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_8_8
, BUF_NUM_FORMAT_SNORM
] offset
:4095 glc slc dlc
137 // GFX11
: encoding
: [0xff,0x7f,0x7d,0xe8,0x00,0x04,0x1c,0x03]
139 tbuffer_load_format_d16_xyzw v
[4:5], off
, s
[8:11], s3
, format
:[BUF_FMT_8_8_USCALED
] offset
:4095
140 // GFX11
: encoding
: [0xff,0x8f,0x85,0xe8,0x00,0x04,0x02,0x03]
142 tbuffer_load_format_d16_xyzw v
[254:255], off
, s
[8:11], s3
, format
:16 offset
:4095
143 // GFX11
: encoding
: [0xff,0x8f,0x85,0xe8,0x00,0xfe,0x02,0x03]
145 tbuffer_load_format_d16_xyzw v
[4:5], off
, s
[12:15], s3
, format
:[BUF_DATA_FORMAT_8_8
, BUF_NUM_FORMAT_USCALED
] offset
:4095
146 // GFX11
: encoding
: [0xff,0x8f,0x85,0xe8,0x00,0x04,0x03,0x03]
148 tbuffer_load_format_d16_xyzw v
[4:5], off
, s
[12:15], s101
, format
:[BUF_FMT_8_8_SSCALED
] offset
:4095
149 // GFX11
: encoding
: [0xff,0x8f,0x8d,0xe8,0x00,0x04,0x03,0x65]
151 tbuffer_load_format_d16_xyzw v
[4:5], off
, s
[12:15], m0
, format
:17 offset
:4095
152 // GFX11
: encoding
: [0xff,0x8f,0x8d,0xe8,0x00,0x04,0x03,0x7d]
154 tbuffer_load_format_d16_xyzw v
[4:5], off
, s
[8:11], 0, format
:[BUF_DATA_FORMAT_8_8
, BUF_NUM_FORMAT_SSCALED
] offset
:4095
155 // GFX11
: encoding
: [0xff,0x8f,0x8d,0xe8,0x00,0x04,0x02,0x80]
157 tbuffer_load_format_d16_xyzw v
[4:5], off
, s
[8:11], 61, format
:[BUF_FMT_8_8_UINT
] offset
:4095
158 // GFX11
: encoding
: [0xff,0x8f,0x95,0xe8,0x00,0x04,0x02,0xbd]
160 tbuffer_load_format_d16_xyzw v
[4:5], off
, ttmp
[4:7], 61, format
:18 offset
:4095
161 // GFX11
: encoding
: [0xff,0x8f,0x95,0xe8,0x00,0x04,0x1c,0xbd]
163 tbuffer_load_format_d16_xyzw v
[4:5], v1
, s
[8:11], s3
, format
:[BUF_DATA_FORMAT_8_8
, BUF_NUM_FORMAT_UINT
] offen offset
:52
164 // GFX11
: encoding
: [0x34,0x80,0x95,0xe8,0x01,0x04,0x42,0x03]
166 tbuffer_load_format_d16_xyzw v
[4:5], v1
, s
[8:11], s3
, format
:[BUF_FMT_8_8_SINT
] idxen offset
:52
167 // GFX11
: encoding
: [0x34,0x80,0x9d,0xe8,0x01,0x04,0x82,0x03]
169 tbuffer_load_format_d16_xyzw v
[4:5], v
[1:2], s
[8:11], s0
, format
:19 idxen offen offset
:52
170 // GFX11
: encoding
: [0x34,0x80,0x9d,0xe8,0x01,0x04,0xc2,0x00]
172 tbuffer_load_format_d16_xyzw v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_8_8
, BUF_NUM_FORMAT_SINT
] offset
:4095 glc
173 // GFX11
: encoding
: [0xff,0xcf,0x9d,0xe8,0x00,0x04,0x1c,0x03]
175 tbuffer_load_format_d16_xyzw v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_FMT_32_UINT
] offset
:4095 slc
176 // GFX11
: encoding
: [0xff,0x9f,0xa5,0xe8,0x00,0x04,0x1c,0x03]
178 tbuffer_load_format_d16_xyzw v
[4:5], off
, ttmp
[4:7], s3
, format
:20 offset
:4095 dlc
179 // GFX11
: encoding
: [0xff,0xaf,0xa5,0xe8,0x00,0x04,0x1c,0x03]
181 tbuffer_load_format_d16_xyzw v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_32
, BUF_NUM_FORMAT_UINT
] offset
:4095 glc slc dlc
182 // GFX11
: encoding
: [0xff,0xff,0xa5,0xe8,0x00,0x04,0x1c,0x03]
184 tbuffer_store_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_2_10_10_10_SINT
] offset
:4095
185 // GFX11
: encoding
: [0xff,0x0f,0x4e,0xe9,0x00,0x04,0x02,0x03]
187 tbuffer_store_format_d16_x v255
, off
, s
[8:11], s3
, format
:41 offset
:4095
188 // GFX11
: encoding
: [0xff,0x0f,0x4e,0xe9,0x00,0xff,0x02,0x03]
190 tbuffer_store_format_d16_x v4
, off
, s
[12:15], s3
, format
:[BUF_DATA_FORMAT_2_10_10_10
, BUF_NUM_FORMAT_SINT
] offset
:4095
191 // GFX11
: encoding
: [0xff,0x0f,0x4e,0xe9,0x00,0x04,0x03,0x03]
193 tbuffer_store_format_d16_x v4
, off
, s
[12:15], s101
, format
:[BUF_FMT_8_8_8_8_UNORM
] offset
:4095
194 // GFX11
: encoding
: [0xff,0x0f,0x56,0xe9,0x00,0x04,0x03,0x65]
196 tbuffer_store_format_d16_x v4
, off
, s
[12:15], m0
, format
:42 offset
:4095
197 // GFX11
: encoding
: [0xff,0x0f,0x56,0xe9,0x00,0x04,0x03,0x7d]
199 tbuffer_store_format_d16_x v4
, off
, s
[8:11], 0, format
:[BUF_DATA_FORMAT_8_8_8_8
, BUF_NUM_FORMAT_UNORM
] offset
:4095
200 // GFX11
: encoding
: [0xff,0x0f,0x56,0xe9,0x00,0x04,0x02,0x80]
202 tbuffer_store_format_d16_x v4
, off
, s
[8:11], 61, format
:[BUF_FMT_8_8_8_8_SNORM
] offset
:4095
203 // GFX11
: encoding
: [0xff,0x0f,0x5e,0xe9,0x00,0x04,0x02,0xbd]
205 tbuffer_store_format_d16_x v4
, off
, ttmp
[4:7], 61, format
:43 offset
:4095
206 // GFX11
: encoding
: [0xff,0x0f,0x5e,0xe9,0x00,0x04,0x1c,0xbd]
208 tbuffer_store_format_d16_x v4
, v1
, s
[8:11], s3
, format
:[BUF_DATA_FORMAT_8_8_8_8
, BUF_NUM_FORMAT_SNORM
] offen offset
:52
209 // GFX11
: encoding
: [0x34,0x00,0x5e,0xe9,0x01,0x04,0x42,0x03]
211 tbuffer_store_format_d16_x v4
, v1
, s
[8:11], s3
, format
:[BUF_FMT_8_8_8_8_USCALED
] idxen offset
:52
212 // GFX11
: encoding
: [0x34,0x00,0x66,0xe9,0x01,0x04,0x82,0x03]
214 tbuffer_store_format_d16_x v4
, v
[1:2], s
[8:11], s0
, format
:44 idxen offen offset
:52
215 // GFX11
: encoding
: [0x34,0x00,0x66,0xe9,0x01,0x04,0xc2,0x00]
217 tbuffer_store_format_d16_x v4
, off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_8_8_8_8
, BUF_NUM_FORMAT_USCALED
] offset
:4095 glc
218 // GFX11
: encoding
: [0xff,0x4f,0x66,0xe9,0x00,0x04,0x1c,0x03]
220 tbuffer_store_format_d16_x v4
, off
, ttmp
[4:7], s3
, format
:[BUF_FMT_8_8_8_8_SSCALED
] offset
:4095 slc
221 // GFX11
: encoding
: [0xff,0x1f,0x6e,0xe9,0x00,0x04,0x1c,0x03]
223 tbuffer_store_format_d16_x v4
, off
, ttmp
[4:7], s3
, format
:45 offset
:4095 dlc
224 // GFX11
: encoding
: [0xff,0x2f,0x6e,0xe9,0x00,0x04,0x1c,0x03]
226 tbuffer_store_format_d16_x v4
, off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_8_8_8_8
, BUF_NUM_FORMAT_SSCALED
] offset
:4095 glc slc dlc
227 // GFX11
: encoding
: [0xff,0x7f,0x6e,0xe9,0x00,0x04,0x1c,0x03]
229 tbuffer_store_format_d16_xy v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_8_8_8_8_UINT
] offset
:4095
230 // GFX11
: encoding
: [0xff,0x8f,0x76,0xe9,0x00,0x04,0x02,0x03]
232 tbuffer_store_format_d16_xy v255
, off
, s
[8:11], s3
, format
:46 offset
:4095
233 // GFX11
: encoding
: [0xff,0x8f,0x76,0xe9,0x00,0xff,0x02,0x03]
235 tbuffer_store_format_d16_xy v4
, off
, s
[12:15], s3
, format
:[BUF_DATA_FORMAT_8_8_8_8
, BUF_NUM_FORMAT_UINT
] offset
:4095
236 // GFX11
: encoding
: [0xff,0x8f,0x76,0xe9,0x00,0x04,0x03,0x03]
238 tbuffer_store_format_d16_xy v4
, off
, s
[12:15], s101
, format
:[BUF_FMT_8_8_8_8_SINT
] offset
:4095
239 // GFX11
: encoding
: [0xff,0x8f,0x7e,0xe9,0x00,0x04,0x03,0x65]
241 tbuffer_store_format_d16_xy v4
, off
, s
[12:15], m0
, format
:47 offset
:4095
242 // GFX11
: encoding
: [0xff,0x8f,0x7e,0xe9,0x00,0x04,0x03,0x7d]
244 tbuffer_store_format_d16_xy v4
, off
, s
[8:11], 0, format
:[BUF_DATA_FORMAT_8_8_8_8
, BUF_NUM_FORMAT_SINT
] offset
:4095
245 // GFX11
: encoding
: [0xff,0x8f,0x7e,0xe9,0x00,0x04,0x02,0x80]
247 tbuffer_store_format_d16_xy v4
, off
, s
[8:11], 61, format
:[BUF_FMT_32_32_UINT
] offset
:4095
248 // GFX11
: encoding
: [0xff,0x8f,0x86,0xe9,0x00,0x04,0x02,0xbd]
250 tbuffer_store_format_d16_xy v4
, off
, ttmp
[4:7], 61, format
:48 offset
:4095
251 // GFX11
: encoding
: [0xff,0x8f,0x86,0xe9,0x00,0x04,0x1c,0xbd]
253 tbuffer_store_format_d16_xy v4
, v1
, s
[8:11], s3
, format
:[BUF_DATA_FORMAT_32_32
, BUF_NUM_FORMAT_UINT
] offen offset
:52
254 // GFX11
: encoding
: [0x34,0x80,0x86,0xe9,0x01,0x04,0x42,0x03]
256 tbuffer_store_format_d16_xy v4
, v1
, s
[8:11], s3
, format
:[BUF_FMT_32_32_SINT
] idxen offset
:52
257 // GFX11
: encoding
: [0x34,0x80,0x8e,0xe9,0x01,0x04,0x82,0x03]
259 tbuffer_store_format_d16_xy v4
, v
[1:2], s
[8:11], s0
, format
:49 idxen offen offset
:52
260 // GFX11
: encoding
: [0x34,0x80,0x8e,0xe9,0x01,0x04,0xc2,0x00]
262 tbuffer_store_format_d16_xy v4
, off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_32_32
, BUF_NUM_FORMAT_SINT
] offset
:4095 glc
263 // GFX11
: encoding
: [0xff,0xcf,0x8e,0xe9,0x00,0x04,0x1c,0x03]
265 tbuffer_store_format_d16_xy v4
, off
, ttmp
[4:7], s3
, format
:[BUF_FMT_32_32_FLOAT
] offset
:4095 slc
266 // GFX11
: encoding
: [0xff,0x9f,0x96,0xe9,0x00,0x04,0x1c,0x03]
268 tbuffer_store_format_d16_xy v4
, off
, ttmp
[4:7], s3
, format
:50 offset
:4095 dlc
269 // GFX11
: encoding
: [0xff,0xaf,0x96,0xe9,0x00,0x04,0x1c,0x03]
271 tbuffer_store_format_d16_xy v4
, off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_32_32
, BUF_NUM_FORMAT_FLOAT
] offset
:4095 glc slc dlc
272 // GFX11
: encoding
: [0xff,0xff,0x96,0xe9,0x00,0x04,0x1c,0x03]
274 tbuffer_store_format_d16_xyz v
[4:5], off
, s
[8:11], s3
, format
:[BUF_FMT_16_16_16_16_UNORM
] offset
:4095
275 // GFX11
: encoding
: [0xff,0x0f,0x9f,0xe9,0x00,0x04,0x02,0x03]
277 tbuffer_store_format_d16_xyz v
[254:255], off
, s
[8:11], s3
, format
:51 offset
:4095
278 // GFX11
: encoding
: [0xff,0x0f,0x9f,0xe9,0x00,0xfe,0x02,0x03]
280 tbuffer_store_format_d16_xyz v
[4:5], off
, s
[12:15], s3
, format
:[BUF_DATA_FORMAT_16_16_16_16
, BUF_NUM_FORMAT_UNORM
] offset
:4095
281 // GFX11
: encoding
: [0xff,0x0f,0x9f,0xe9,0x00,0x04,0x03,0x03]
283 tbuffer_store_format_d16_xyz v
[4:5], off
, s
[12:15], s101
, format
:[BUF_FMT_16_16_16_16_SNORM
] offset
:4095
284 // GFX11
: encoding
: [0xff,0x0f,0xa7,0xe9,0x00,0x04,0x03,0x65]
286 tbuffer_store_format_d16_xyz v
[4:5], off
, s
[12:15], m0
, format
:52 offset
:4095
287 // GFX11
: encoding
: [0xff,0x0f,0xa7,0xe9,0x00,0x04,0x03,0x7d]
289 tbuffer_store_format_d16_xyz v
[4:5], off
, s
[8:11], 0, format
:[BUF_DATA_FORMAT_16_16_16_16
, BUF_NUM_FORMAT_SNORM
] offset
:4095
290 // GFX11
: encoding
: [0xff,0x0f,0xa7,0xe9,0x00,0x04,0x02,0x80]
292 tbuffer_store_format_d16_xyz v
[4:5], off
, s
[8:11], 61, format
:[BUF_FMT_16_16_16_16_USCALED
] offset
:4095
293 // GFX11
: encoding
: [0xff,0x0f,0xaf,0xe9,0x00,0x04,0x02,0xbd]
295 tbuffer_store_format_d16_xyz v
[4:5], off
, ttmp
[4:7], 61, format
:53 offset
:4095
296 // GFX11
: encoding
: [0xff,0x0f,0xaf,0xe9,0x00,0x04,0x1c,0xbd]
298 tbuffer_store_format_d16_xyz v
[4:5], v1
, s
[8:11], s3
, format
:[BUF_DATA_FORMAT_16_16_16_16
, BUF_NUM_FORMAT_USCALED
] offen offset
:52
299 // GFX11
: encoding
: [0x34,0x00,0xaf,0xe9,0x01,0x04,0x42,0x03]
301 tbuffer_store_format_d16_xyz v
[4:5], v1
, s
[8:11], s3
, format
:[BUF_FMT_16_16_16_16_SSCALED
] idxen offset
:52
302 // GFX11
: encoding
: [0x34,0x00,0xb7,0xe9,0x01,0x04,0x82,0x03]
304 tbuffer_store_format_d16_xyz v
[4:5], v
[1:2], s
[8:11], s0
, format
:54 idxen offen offset
:52
305 // GFX11
: encoding
: [0x34,0x00,0xb7,0xe9,0x01,0x04,0xc2,0x00]
307 tbuffer_store_format_d16_xyz v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_16_16_16_16
, BUF_NUM_FORMAT_SSCALED
] offset
:4095 glc
308 // GFX11
: encoding
: [0xff,0x4f,0xb7,0xe9,0x00,0x04,0x1c,0x03]
310 tbuffer_store_format_d16_xyz v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_FMT_16_16_16_16_UINT
] offset
:4095 slc
311 // GFX11
: encoding
: [0xff,0x1f,0xbf,0xe9,0x00,0x04,0x1c,0x03]
313 tbuffer_store_format_d16_xyz v
[4:5], off
, ttmp
[4:7], s3
, format
:55 offset
:4095 dlc
314 // GFX11
: encoding
: [0xff,0x2f,0xbf,0xe9,0x00,0x04,0x1c,0x03]
316 tbuffer_store_format_d16_xyz v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_16_16_16_16
, BUF_NUM_FORMAT_UINT
] offset
:4095 glc slc dlc
317 // GFX11
: encoding
: [0xff,0x7f,0xbf,0xe9,0x00,0x04,0x1c,0x03]
319 tbuffer_store_format_d16_xyzw v
[4:5], off
, s
[8:11], s3
, format
:[BUF_FMT_16_16_16_16_SINT
] offset
:4095
320 // GFX11
: encoding
: [0xff,0x8f,0xc7,0xe9,0x00,0x04,0x02,0x03]
322 tbuffer_store_format_d16_xyzw v
[254:255], off
, s
[8:11], s3
, format
:56 offset
:4095
323 // GFX11
: encoding
: [0xff,0x8f,0xc7,0xe9,0x00,0xfe,0x02,0x03]
325 tbuffer_store_format_d16_xyzw v
[4:5], off
, s
[12:15], s3
, format
:[BUF_DATA_FORMAT_16_16_16_16
, BUF_NUM_FORMAT_SINT
] offset
:4095
326 // GFX11
: encoding
: [0xff,0x8f,0xc7,0xe9,0x00,0x04,0x03,0x03]
328 tbuffer_store_format_d16_xyzw v
[4:5], off
, s
[12:15], s101
, format
:[BUF_FMT_16_16_16_16_FLOAT
] offset
:4095
329 // GFX11
: encoding
: [0xff,0x8f,0xcf,0xe9,0x00,0x04,0x03,0x65]
331 tbuffer_store_format_d16_xyzw v
[4:5], off
, s
[12:15], m0
, format
:57 offset
:4095
332 // GFX11
: encoding
: [0xff,0x8f,0xcf,0xe9,0x00,0x04,0x03,0x7d]
334 tbuffer_store_format_d16_xyzw v
[4:5], off
, s
[8:11], 0, format
:[BUF_DATA_FORMAT_16_16_16_16
, BUF_NUM_FORMAT_FLOAT
] offset
:4095
335 // GFX11
: encoding
: [0xff,0x8f,0xcf,0xe9,0x00,0x04,0x02,0x80]
337 tbuffer_store_format_d16_xyzw v
[4:5], off
, s
[8:11], 61, format
:[BUF_FMT_32_32_32_UINT
] offset
:4095
338 // GFX11
: encoding
: [0xff,0x8f,0xd7,0xe9,0x00,0x04,0x02,0xbd]
340 tbuffer_store_format_d16_xyzw v
[4:5], off
, ttmp
[4:7], 61, format
:58 offset
:4095
341 // GFX11
: encoding
: [0xff,0x8f,0xd7,0xe9,0x00,0x04,0x1c,0xbd]
343 tbuffer_store_format_d16_xyzw v
[4:5], v1
, s
[8:11], s3
, format
:[BUF_DATA_FORMAT_32_32_32
, BUF_NUM_FORMAT_UINT
] offen offset
:52
344 // GFX11
: encoding
: [0x34,0x80,0xd7,0xe9,0x01,0x04,0x42,0x03]
346 tbuffer_store_format_d16_xyzw v
[4:5], v1
, s
[8:11], s3
, format
:[BUF_FMT_32_32_32_SINT
] idxen offset
:52
347 // GFX11
: encoding
: [0x34,0x80,0xdf,0xe9,0x01,0x04,0x82,0x03]
349 tbuffer_store_format_d16_xyzw v
[4:5], v
[1:2], s
[8:11], s0
, format
:59 idxen offen offset
:52
350 // GFX11
: encoding
: [0x34,0x80,0xdf,0xe9,0x01,0x04,0xc2,0x00]
352 tbuffer_store_format_d16_xyzw v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_32_32_32
, BUF_NUM_FORMAT_SINT
] offset
:4095 glc
353 // GFX11
: encoding
: [0xff,0xcf,0xdf,0xe9,0x00,0x04,0x1c,0x03]
355 tbuffer_store_format_d16_xyzw v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_FMT_32_32_32_FLOAT
] offset
:4095 slc
356 // GFX11
: encoding
: [0xff,0x9f,0xe7,0xe9,0x00,0x04,0x1c,0x03]
358 tbuffer_store_format_d16_xyzw v
[4:5], off
, ttmp
[4:7], s3
, format
:60 offset
:4095 dlc
359 // GFX11
: encoding
: [0xff,0xaf,0xe7,0xe9,0x00,0x04,0x1c,0x03]
361 tbuffer_store_format_d16_xyzw v
[4:5], off
, ttmp
[4:7], s3
, format
:[BUF_DATA_FORMAT_32_32_32
, BUF_NUM_FORMAT_FLOAT
] offset
:4095 glc slc dlc
362 // GFX11
: encoding
: [0xff,0xff,0xe7,0xe9,0x00,0x04,0x1c,0x03]
364 //Removed formats
(compared to gfx10
)
366 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_10_11_11_UNORM
] offset
:4095
367 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
369 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_10_11_11_SNORM
] offset
:4095
370 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
372 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_10_11_11_USCALED
] offset
:4095
373 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
375 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_10_11_11_SSCALED
] offset
:4095
376 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
378 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_10_11_11_UINT
] offset
:4095
379 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
381 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_10_11_11_SINT
] offset
:4095
382 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
384 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_11_11_10_UNORM
] offset
:4095
385 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
387 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_11_11_10_SNORM
] offset
:4095
388 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
390 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_11_11_10_USCALED
] offset
:4095
391 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
393 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_11_11_10_SSCALED
] offset
:4095
394 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
396 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_11_11_10_UINT
] offset
:4095
397 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
399 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_10_10_10_2_USCALED
] offset
:4095
400 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format
402 tbuffer_load_format_d16_x v4
, off
, s
[8:11], s3
, format
:[BUF_FMT_10_10_10_2_SSCALED
] offset
:4095
403 // GFX11-ERR
: :[[@LINE-
1]]:{{[0-9]+}}: error
: unsupported format