Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / MC / Disassembler / AMDGPU / mubuf_vi.txt
blobf20081634c5ca65e05410ad0c0033b6020f5ea6f
1 # RUN: llvm-mc -arch=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck %s -check-prefix=VI
3 # VI:   buffer_load_dword v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x50,0xe0,0x00,0x01,0x01,0x01]
4 0x00 0x00 0x50 0xe0 0x00 0x01 0x01 0x01
6 # VI:   buffer_load_dword v1, off, s[4:7], s1 offset:4 ; encoding: [0x04,0x00,0x50,0xe0,0x00,0x01,0x01,0x01]
7 0x04 0x00 0x50 0xe0 0x00 0x01 0x01 0x01
9 # VI:   buffer_load_dword v1, off, s[4:7], s1 offset:4 glc ; encoding: [0x04,0x40,0x50,0xe0,0x00,0x01,0x01,0x01]
10 0x04 0x40 0x50 0xe0 0x00 0x01 0x01 0x01
12 # VI:   buffer_load_dword v1, off, s[4:7], s1 offset:4 slc ; encoding: [0x04,0x00,0x52,0xe0,0x00,0x01,0x01,0x01]
13 0x04 0x00 0x52 0xe0 0x00 0x01 0x01 0x01
15 # VI:   buffer_load_dword v1, off, s[4:7], s1 offset:4 tfe ; encoding: [0x04,0x00,0x50,0xe0,0x00,0x01,0x81,0x01]
16 0x04 0x00 0x50 0xe0 0x00 0x01 0x81 0x01
18 # VI:   buffer_load_dword v1, off, s[4:7], s1 glc tfe ; encoding: [0x00,0x40,0x50,0xe0,0x00,0x01,0x81,0x01]
19 0x00 0x40 0x50 0xe0 0x00 0x01 0x81 0x01
21 # VI:   buffer_load_dword v1, off, s[4:7], s1 offset:4 glc slc tfe ; encoding: [0x04,0x40,0x52,0xe0,0x00,0x01,0x81,0x01]
22 0x04 0x40 0x52 0xe0 0x00 0x01 0x81 0x01
24 # VI:   buffer_load_dword v1, v2, s[4:7], s1 offen ; encoding: [0x00,0x10,0x50,0xe0,0x02,0x01,0x01,0x01]
25 0x00 0x10 0x50 0xe0 0x02 0x01 0x01 0x01
27 # VI:   buffer_load_dword v1, v2, s[4:7], s1 offen offset:4 ; encoding: [0x04,0x10,0x50,0xe0,0x02,0x01,0x01,0x01]
28 0x04 0x10 0x50 0xe0 0x02 0x01 0x01 0x01
30 # VI:   buffer_load_dword v1, v2, s[4:7], s1 offen offset:4 glc ; encoding: [0x04,0x50,0x50,0xe0,0x02,0x01,0x01,0x01]
31 0x04 0x50 0x50 0xe0 0x02 0x01 0x01 0x01
33 # VI:   buffer_load_dword v1, v2, s[4:7], s1 offen offset:4 slc ; encoding: [0x04,0x10,0x52,0xe0,0x02,0x01,0x01,0x01]
34 0x04 0x10 0x52 0xe0 0x02 0x01 0x01 0x01
36 # VI:   buffer_load_dword v1, v2, s[4:7], s1 offen offset:4 tfe ; encoding: [0x04,0x10,0x50,0xe0,0x02,0x01,0x81,0x01]
37 0x04 0x10 0x50 0xe0 0x02 0x01 0x81 0x01
39 # VI:   buffer_load_dword v1, v2, s[4:7], s1 offen glc tfe ; encoding: [0x00,0x50,0x50,0xe0,0x02,0x01,0x81,0x01]
40 0x00 0x50 0x50 0xe0 0x02 0x01 0x81 0x01
42 # VI:   buffer_load_dword v1, v2, s[4:7], s1 offen offset:4 glc slc tfe ; encoding: [0x04,0x50,0x52,0xe0,0x02,0x01,0x81,0x01]
43 0x04 0x50 0x52 0xe0 0x02 0x01 0x81 0x01
45 # VI:   buffer_load_dword v1, v2, s[4:7], s1 idxen ; encoding: [0x00,0x20,0x50,0xe0,0x02,0x01,0x01,0x01]
46 0x00 0x20 0x50 0xe0 0x02 0x01 0x01 0x01
48 # VI:   buffer_load_dword v1, v2, s[4:7], s1 idxen offset:4 ; encoding: [0x04,0x20,0x50,0xe0,0x02,0x01,0x01,0x01]
49 0x04 0x20 0x50 0xe0 0x02 0x01 0x01 0x01
51 # VI:   buffer_load_dword v1, v2, s[4:7], s1 idxen offset:4 glc ; encoding: [0x04,0x60,0x50,0xe0,0x02,0x01,0x01,0x01]
52 0x04 0x60 0x50 0xe0 0x02 0x01 0x01 0x01
54 # VI:   buffer_load_dword v1, v2, s[4:7], s1 idxen offset:4 slc ; encoding: [0x04,0x20,0x52,0xe0,0x02,0x01,0x01,0x01]
55 0x04 0x20 0x52 0xe0 0x02 0x01 0x01 0x01
57 # VI:   buffer_load_dword v1, v2, s[4:7], s1 idxen offset:4 tfe ; encoding: [0x04,0x20,0x50,0xe0,0x02,0x01,0x81,0x01]
58 0x04 0x20 0x50 0xe0 0x02 0x01 0x81 0x01
60 # VI:   buffer_load_dword v1, v2, s[4:7], s1 idxen glc tfe ; encoding: [0x00,0x60,0x50,0xe0,0x02,0x01,0x81,0x01]
61 0x00 0x60 0x50 0xe0 0x02 0x01 0x81 0x01
63 # VI:   buffer_load_dword v1, v2, s[4:7], s1 idxen offset:4 glc slc tfe ; encoding: [0x04,0x60,0x52,0xe0,0x02,0x01,0x81,0x01]
64 0x04 0x60 0x52 0xe0 0x02 0x01 0x81 0x01
66 # VI:   buffer_load_dword v1, v[2:3], s[4:7], s1 idxen offen ; encoding: [0x00,0x30,0x50,0xe0,0x02,0x01,0x01,0x01]
67 0x00 0x30 0x50 0xe0 0x02 0x01 0x01 0x01
69 # VI:   buffer_load_dword v1, v[2:3], s[4:7], s1 idxen offen offset:4 ; encoding: [0x04,0x30,0x50,0xe0,0x02,0x01,0x01,0x01]
70 0x04 0x30 0x50 0xe0 0x02 0x01 0x01 0x01
72 # VI:   buffer_load_dword v1, v[2:3], s[4:7], s1 idxen offen offset:4 glc ; encoding: [0x04,0x70,0x50,0xe0,0x02,0x01,0x01,0x01]
73 0x04 0x70 0x50 0xe0 0x02 0x01 0x01 0x01
75 # VI:   buffer_load_dword v1, v[2:3], s[4:7], s1 idxen offen offset:4 slc ; encoding: [0x04,0x30,0x52,0xe0,0x02,0x01,0x01,0x01]
76 0x04 0x30 0x52 0xe0 0x02 0x01 0x01 0x01
78 # VI:   buffer_load_dword v1, v[2:3], s[4:7], s1 idxen offen offset:4 tfe ; encoding: [0x04,0x30,0x50,0xe0,0x02,0x01,0x81,0x01]
79 0x04 0x30 0x50 0xe0 0x02 0x01 0x81 0x01
81 # VI:   buffer_load_dword v1, v[2:3], s[4:7], s1 idxen offen glc tfe ; encoding: [0x00,0x70,0x50,0xe0,0x02,0x01,0x81,0x01]
82 0x00 0x70 0x50 0xe0 0x02 0x01 0x81 0x01
84 # VI:   buffer_load_dword v1, v[2:3], s[4:7], s1 idxen offen offset:4 glc slc tfe ; encoding: [0x04,0x70,0x52,0xe0,0x02,0x01,0x81,0x01]
85 0x04 0x70 0x52 0xe0 0x02 0x01 0x81 0x01
87 # VI:   buffer_store_dword v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x70,0xe0,0x00,0x01,0x01,0x01]
88 0x00 0x00 0x70 0xe0 0x00 0x01 0x01 0x01
90 # VI:   buffer_store_dword v1, off, s[4:7], s1 offset:4 ; encoding: [0x04,0x00,0x70,0xe0,0x00,0x01,0x01,0x01]
91 0x04 0x00 0x70 0xe0 0x00 0x01 0x01 0x01
93 # VI:   buffer_store_dword v1, off, s[4:7], s1 offset:4 glc ; encoding: [0x04,0x40,0x70,0xe0,0x00,0x01,0x01,0x01]
94 0x04 0x40 0x70 0xe0 0x00 0x01 0x01 0x01
96 # VI:   buffer_store_dword v1, off, s[4:7], s1 offset:4 slc ; encoding: [0x04,0x00,0x72,0xe0,0x00,0x01,0x01,0x01]
97 0x04 0x00 0x72 0xe0 0x00 0x01 0x01 0x01
99 # VI:   buffer_store_dword v1, off, s[4:7], s1 offset:4 tfe ; encoding: [0x04,0x00,0x70,0xe0,0x00,0x01,0x81,0x01]
100 0x04 0x00 0x70 0xe0 0x00 0x01 0x81 0x01
102 # VI:   buffer_store_dword v1, off, s[4:7], s1 glc tfe ; encoding: [0x00,0x40,0x70,0xe0,0x00,0x01,0x81,0x01]
103 0x00 0x40 0x70 0xe0 0x00 0x01 0x81 0x01
105 # VI:   buffer_store_dword v1, off, s[4:7], s1 offset:4 glc slc tfe ; encoding: [0x04,0x40,0x72,0xe0,0x00,0x01,0x81,0x01]
106 0x04 0x40 0x72 0xe0 0x00 0x01 0x81 0x01
108 # VI:   buffer_store_dword v1, v2, s[4:7], s1 offen ; encoding: [0x00,0x10,0x70,0xe0,0x02,0x01,0x01,0x01]
109 0x00 0x10 0x70 0xe0 0x02 0x01 0x01 0x01
111 # VI:   buffer_store_dword v1, v2, s[4:7], s1 offen offset:4 ; encoding: [0x04,0x10,0x70,0xe0,0x02,0x01,0x01,0x01]
112 0x04 0x10 0x70 0xe0 0x02 0x01 0x01 0x01
114 # VI:   buffer_store_dword v1, v2, s[4:7], s1 offen offset:4 glc ; encoding: [0x04,0x50,0x70,0xe0,0x02,0x01,0x01,0x01]
115 0x04 0x50 0x70 0xe0 0x02 0x01 0x01 0x01
117 # VI:   buffer_store_dword v1, v2, s[4:7], s1 offen offset:4 slc ; encoding: [0x04,0x10,0x72,0xe0,0x02,0x01,0x01,0x01]
118 0x04 0x10 0x72 0xe0 0x02 0x01 0x01 0x01
120 # VI:   buffer_store_dword v1, v2, s[4:7], s1 offen offset:4 tfe ; encoding: [0x04,0x10,0x70,0xe0,0x02,0x01,0x81,0x01]
121 0x04 0x10 0x70 0xe0 0x02 0x01 0x81 0x01
123 # VI:   buffer_store_dword v1, v2, s[4:7], s1 offen glc tfe ; encoding: [0x00,0x50,0x70,0xe0,0x02,0x01,0x81,0x01]
124 0x00 0x50 0x70 0xe0 0x02 0x01 0x81 0x01
126 # VI:   buffer_store_dword v1, v2, s[4:7], s1 offen offset:4 glc slc tfe ; encoding: [0x04,0x50,0x72,0xe0,0x02,0x01,0x81,0x01]
127 0x04 0x50 0x72 0xe0 0x02 0x01 0x81 0x01
129 # VI:   buffer_store_dword v1, v2, s[4:7], s1 idxen ; encoding: [0x00,0x20,0x70,0xe0,0x02,0x01,0x01,0x01]
130 0x00 0x20 0x70 0xe0 0x02 0x01 0x01 0x01
132 # VI:   buffer_store_dword v1, v2, s[4:7], s1 idxen offset:4 ; encoding: [0x04,0x20,0x70,0xe0,0x02,0x01,0x01,0x01]
133 0x04 0x20 0x70 0xe0 0x02 0x01 0x01 0x01
135 # VI:   buffer_store_dword v1, v2, s[4:7], s1 idxen offset:4 glc ; encoding: [0x04,0x60,0x70,0xe0,0x02,0x01,0x01,0x01]
136 0x04 0x60 0x70 0xe0 0x02 0x01 0x01 0x01
138 # VI:   buffer_store_dword v1, v2, s[4:7], s1 idxen offset:4 slc ; encoding: [0x04,0x20,0x72,0xe0,0x02,0x01,0x01,0x01]
139 0x04 0x20 0x72 0xe0 0x02 0x01 0x01 0x01
141 # VI:   buffer_store_dword v1, v2, s[4:7], s1 idxen offset:4 tfe ; encoding: [0x04,0x20,0x70,0xe0,0x02,0x01,0x81,0x01]
142 0x04 0x20 0x70 0xe0 0x02 0x01 0x81 0x01
144 # VI:   buffer_store_dword v1, v2, s[4:7], s1 idxen glc tfe ; encoding: [0x00,0x60,0x70,0xe0,0x02,0x01,0x81,0x01]
145 0x00 0x60 0x70 0xe0 0x02 0x01 0x81 0x01
147 # VI:   buffer_store_dword v1, v2, s[4:7], s1 idxen offset:4 glc slc tfe ; encoding: [0x04,0x60,0x72,0xe0,0x02,0x01,0x81,0x01]
148 0x04 0x60 0x72 0xe0 0x02 0x01 0x81 0x01
150 # VI:   buffer_store_dword v1, v[2:3], s[4:7], s1 idxen offen ; encoding: [0x00,0x30,0x70,0xe0,0x02,0x01,0x01,0x01]
151 0x00 0x30 0x70 0xe0 0x02 0x01 0x01 0x01
153 # VI:   buffer_store_dword v1, v[2:3], s[4:7], s1 idxen offen offset:4 ; encoding: [0x04,0x30,0x70,0xe0,0x02,0x01,0x01,0x01]
154 0x04 0x30 0x70 0xe0 0x02 0x01 0x01 0x01
156 # VI:   buffer_store_dword v1, v[2:3], s[4:7], s1 idxen offen offset:4 glc ; encoding: [0x04,0x70,0x70,0xe0,0x02,0x01,0x01,0x01]
157 0x04 0x70 0x70 0xe0 0x02 0x01 0x01 0x01
159 # VI:   buffer_store_dword v1, v[2:3], s[4:7], s1 idxen offen offset:4 slc ; encoding: [0x04,0x30,0x72,0xe0,0x02,0x01,0x01,0x01]
160 0x04 0x30 0x72 0xe0 0x02 0x01 0x01 0x01
162 # VI:   buffer_store_dword v1, v[2:3], s[4:7], s1 idxen offen offset:4 tfe ; encoding: [0x04,0x30,0x70,0xe0,0x02,0x01,0x81,0x01]
163 0x04 0x30 0x70 0xe0 0x02 0x01 0x81 0x01
165 # VI:   buffer_store_dword v1, v[2:3], s[4:7], s1 idxen offen glc tfe ; encoding: [0x00,0x70,0x70,0xe0,0x02,0x01,0x81,0x01]
166 0x00 0x70 0x70 0xe0 0x02 0x01 0x81 0x01
168 # VI:   buffer_store_dword v1, v[2:3], s[4:7], s1 idxen offen offset:4 glc slc tfe ; encoding: [0x04,0x70,0x72,0xe0,0x02,0x01,0x81,0x01]
169 0x04 0x70 0x72 0xe0 0x02 0x01 0x81 0x01
171 # VI:   buffer_load_format_x v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x00,0xe0,0x00,0x01,0x01,0x01]
172 0x00 0x00 0x00 0xe0 0x00 0x01 0x01 0x01
174 # VI:   buffer_load_format_xy v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x04,0xe0,0x00,0x01,0x01,0x01]
175 0x00 0x00 0x04 0xe0 0x00 0x01 0x01 0x01
177 # VI:   buffer_load_format_xyz v[1:3], off, s[4:7], s1 ; encoding: [0x00,0x00,0x08,0xe0,0x00,0x01,0x01,0x01]
178 0x00 0x00 0x08 0xe0 0x00 0x01 0x01 0x01
180 # VI:   buffer_load_format_xyzw v[1:4], off, s[4:7], s1 ; encoding: [0x00,0x00,0x0c,0xe0,0x00,0x01,0x01,0x01]
181 0x00 0x00 0x0c 0xe0 0x00 0x01 0x01 0x01
183 # VI:   buffer_store_format_x v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x10,0xe0,0x00,0x01,0x01,0x01]
184 0x00 0x00 0x10 0xe0 0x00 0x01 0x01 0x01
186 # VI:   buffer_store_format_xy v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x14,0xe0,0x00,0x01,0x01,0x01]
187 0x00 0x00 0x14 0xe0 0x00 0x01 0x01 0x01
189 # VI:   buffer_store_format_xyz v[1:3], off, s[4:7], s1 ; encoding: [0x00,0x00,0x18,0xe0,0x00,0x01,0x01,0x01]
190 0x00 0x00 0x18 0xe0 0x00 0x01 0x01 0x01
192 # VI:   buffer_store_format_xyzw v[1:4], off, s[4:7], s1 ; encoding: [0x00,0x00,0x1c,0xe0,0x00,0x01,0x01,0x01]
193 0x00 0x00 0x1c 0xe0 0x00 0x01 0x01 0x01
195 # VI:   buffer_load_ubyte v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x40,0xe0,0x00,0x01,0x01,0x01]
196 0x00 0x00 0x40 0xe0 0x00 0x01 0x01 0x01
198 # VI:   buffer_load_sbyte v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x44,0xe0,0x00,0x01,0x01,0x01]
199 0x00 0x00 0x44 0xe0 0x00 0x01 0x01 0x01
201 # VI:   buffer_load_ushort v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x48,0xe0,0x00,0x01,0x01,0x01]
202 0x00 0x00 0x48 0xe0 0x00 0x01 0x01 0x01
204 # VI:   buffer_load_sshort v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x4c,0xe0,0x00,0x01,0x01,0x01]
205 0x00 0x00 0x4c 0xe0 0x00 0x01 0x01 0x01
207 # VI:   buffer_load_dword v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x50,0xe0,0x00,0x01,0x01,0x01]
208 0x00 0x00 0x50 0xe0 0x00 0x01 0x01 0x01
210 # VI:   buffer_load_dwordx2 v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x54,0xe0,0x00,0x01,0x01,0x01]
211 0x00 0x00 0x54 0xe0 0x00 0x01 0x01 0x01
213 # VI:   buffer_load_dwordx3 v[0:2], off, s[4:7], s0 offset:4095 ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x00,0x01,0x00]
214 0xff,0x0f,0x58,0xe0,0x00,0x00,0x01,0x00
216 # VI:   buffer_load_dwordx4 v[1:4], off, s[4:7], s1 ; encoding: [0x00,0x00,0x5c,0xe0,0x00,0x01,0x01,0x01]
217 0x00 0x00 0x5c 0xe0 0x00 0x01 0x01 0x01
219 # VI:   buffer_store_byte v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x60,0xe0,0x00,0x01,0x01,0x01]
220 0x00 0x00 0x60 0xe0 0x00 0x01 0x01 0x01
222 # VI:   buffer_store_short v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x68,0xe0,0x00,0x01,0x01,0x01]
223 0x00 0x00 0x68 0xe0 0x00 0x01 0x01 0x01
225 # VI:   buffer_store_dword v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x70,0xe0,0x00,0x01,0x01,0x01]
226 0x00 0x00 0x70 0xe0 0x00 0x01 0x01 0x01
228 # VI:   buffer_store_dwordx2 v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x74,0xe0,0x00,0x01,0x01,0x01]
229 0x00 0x00 0x74 0xe0 0x00 0x01 0x01 0x01
231 # VI:   buffer_store_dwordx3 v[0:2], off, s[4:7], s0 offset:4095 ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x00,0x01,0x00]
232 0xff,0x0f,0x78,0xe0,0x00,0x00,0x01,0x00
234 # VI:   buffer_store_dwordx4 v[1:4], off, s[4:7], s1 ; encoding: [0x00,0x00,0x7c,0xe0,0x00,0x01,0x01,0x01]
235 0x00 0x00 0x7c 0xe0 0x00 0x01 0x01 0x01
237 # VI:   buffer_wbinvl1   ; encoding: [0x00,0x00,0xf8,0xe0,0x00,0x00,0x00,0x00]
238 0x00 0x00 0xf8 0xe0 0x00 0x00 0x00 0x00
240 # VI: buffer_wbinvl1_vol ; encoding: [0x00,0x00,0xfc,0xe0,0x00,0x00,0x00,0x00]
241 0x00 0x00 0xfc 0xe0 0x00 0x00 0x00 0x00
243 # VI:   buffer_atomic_inc v1, off, s[8:11], 56 ; encoding: [0x00,0x00,0x2c,0xe1,0x00,0x01,0x02,0xb8]
244 0x00 0x00 0x2c 0xe1 0x00 0x01 0x02 0xb8
246 # VI:   buffer_atomic_inc v1, off, s[8:11], 56 slc ; encoding: [0x00,0x00,0x2e,0xe1,0x00,0x01,0x02,0xb8]
247 0x00 0x00 0x2e 0xe1 0x00 0x01 0x02 0xb8
249 # VI:   buffer_atomic_inc v1, off, s[8:11], s4 slc ; encoding: [0x00,0x00,0x2e,0xe1,0x00,0x01,0x02,0x04]
250 0x00 0x00 0x2e 0xe1 0x00 0x01 0x02 0x04
252 # VI:   buffer_atomic_inc v1, off, s[8:11], 56 offset:4 ; encoding: [0x04,0x00,0x2c,0xe1,0x00,0x01,0x02,0xb8]
253 0x04 0x00 0x2c 0xe1 0x00 0x01 0x02 0xb8
255 # VI:   buffer_atomic_inc v1, off, s[8:11], 56 offset:4 slc ; encoding: [0x04,0x00,0x2e,0xe1,0x00,0x01,0x02,0xb8]
256 0x04 0x00 0x2e 0xe1 0x00 0x01 0x02 0xb8
258 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 offen ; encoding: [0x00,0x10,0x2c,0xe1,0x02,0x01,0x02,0xb8]
259 0x00 0x10 0x2c 0xe1 0x02 0x01 0x02 0xb8
261 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 offen slc ; encoding: [0x00,0x10,0x2e,0xe1,0x02,0x01,0x02,0xb8]
262 0x00 0x10 0x2e 0xe1 0x02 0x01 0x02 0xb8
264 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 offen offset:4 ; encoding: [0x04,0x10,0x2c,0xe1,0x02,0x01,0x02,0xb8]
265 0x04 0x10 0x2c 0xe1 0x02 0x01 0x02 0xb8
267 # VI:   buffer_atomic_inc v1, v2, s[8:11], s4 offen offset:4 ; encoding: [0x04,0x10,0x2c,0xe1,0x02,0x01,0x02,0x04]
268 0x04 0x10 0x2c 0xe1 0x02 0x01 0x02 0x04
270 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 offen offset:4 slc ; encoding: [0x04,0x10,0x2e,0xe1,0x02,0x01,0x02,0xb8]
271 0x04 0x10 0x2e 0xe1 0x02 0x01 0x02 0xb8
273 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 idxen ; encoding: [0x00,0x20,0x2c,0xe1,0x02,0x01,0x02,0xb8]
274 0x00 0x20 0x2c 0xe1 0x02 0x01 0x02 0xb8
276 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 idxen slc ; encoding: [0x00,0x20,0x2e,0xe1,0x02,0x01,0x02,0xb8]
277 0x00 0x20 0x2e 0xe1 0x02 0x01 0x02 0xb8
279 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 idxen offset:4 ; encoding: [0x04,0x20,0x2c,0xe1,0x02,0x01,0x02,0xb8]
280 0x04 0x20 0x2c 0xe1 0x02 0x01 0x02 0xb8
282 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 idxen offset:4 slc ; encoding: [0x04,0x20,0x2e,0xe1,0x02,0x01,0x02,0xb8]
283 0x04 0x20 0x2e 0xe1 0x02 0x01 0x02 0xb8
285 # VI:   buffer_atomic_inc v1, v2, s[8:11], s4 idxen offset:4 slc ; encoding: [0x04,0x20,0x2e,0xe1,0x02,0x01,0x02,0x04]
286 0x04 0x20 0x2e 0xe1 0x02 0x01 0x02 0x04
288 # VI:   buffer_atomic_inc v1, v[2:3], s[8:11], 56 idxen offen ; encoding: [0x00,0x30,0x2c,0xe1,0x02,0x01,0x02,0xb8]
289 0x00 0x30 0x2c 0xe1 0x02 0x01 0x02 0xb8
291 # VI:   buffer_atomic_inc v1, v[2:3], s[8:11], s4 idxen offen ; encoding: [0x00,0x30,0x2c,0xe1,0x02,0x01,0x02,0x04]
292 0x00 0x30 0x2c 0xe1 0x02 0x01 0x02 0x04
294 # VI:   buffer_atomic_inc v1, v[2:3], s[8:11], 56 idxen offen slc ; encoding: [0x00,0x30,0x2e,0xe1,0x02,0x01,0x02,0xb8]
295 0x00 0x30 0x2e 0xe1 0x02 0x01 0x02 0xb8
297 # VI:   buffer_atomic_inc v1, v[2:3], s[8:11], 56 idxen offen offset:4 ; encoding: [0x04,0x30,0x2c,0xe1,0x02,0x01,0x02,0xb8]
298 0x04 0x30 0x2c 0xe1 0x02 0x01 0x02 0xb8
300 # VI:   buffer_atomic_inc v1, v[2:3], s[8:11], 56 idxen offen offset:4 slc ; encoding: [0x04,0x30,0x2e,0xe1,0x02,0x01,0x02,0xb8]
301 0x04 0x30 0x2e 0xe1 0x02 0x01 0x02 0xb8
303 # VI:   buffer_atomic_inc v1, off, s[8:11], 56 glc ; encoding: [0x00,0x40,0x2c,0xe1,0x00,0x01,0x02,0xb8]
304 0x00 0x40 0x2c 0xe1 0x00 0x01 0x02 0xb8
306 # VI:   buffer_atomic_inc v1, off, s[8:11], 56 glc slc ; encoding: [0x00,0x40,0x2e,0xe1,0x00,0x01,0x02,0xb8]
307 0x00 0x40 0x2e 0xe1 0x00 0x01 0x02 0xb8
309 # VI:   buffer_atomic_inc v1, off, s[8:11], s4 glc slc ; encoding: [0x00,0x40,0x2e,0xe1,0x00,0x01,0x02,0x04]
310 0x00 0x40 0x2e 0xe1 0x00 0x01 0x02 0x04
312 # VI:   buffer_atomic_inc v1, off, s[8:11], 56 offset:4 glc ; encoding: [0x04,0x40,0x2c,0xe1,0x00,0x01,0x02,0xb8]
313 0x04 0x40 0x2c 0xe1 0x00 0x01 0x02 0xb8
315 # VI:   buffer_atomic_inc v1, off, s[8:11], 56 offset:4 glc slc ; encoding: [0x04,0x40,0x2e,0xe1,0x00,0x01,0x02,0xb8]
316 0x04 0x40 0x2e 0xe1 0x00 0x01 0x02 0xb8
318 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 offen glc ; encoding: [0x00,0x50,0x2c,0xe1,0x02,0x01,0x02,0xb8]
319 0x00 0x50 0x2c 0xe1 0x02 0x01 0x02 0xb8
321 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 offen glc slc ; encoding: [0x00,0x50,0x2e,0xe1,0x02,0x01,0x02,0xb8]
322 0x00 0x50 0x2e 0xe1 0x02 0x01 0x02 0xb8
324 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 offen offset:4 glc ; encoding: [0x04,0x50,0x2c,0xe1,0x02,0x01,0x02,0xb8]
325 0x04 0x50 0x2c 0xe1 0x02 0x01 0x02 0xb8
327 # VI:   buffer_atomic_inc v1, v2, s[8:11], s4 offen offset:4 glc ; encoding: [0x04,0x50,0x2c,0xe1,0x02,0x01,0x02,0x04]
328 0x04 0x50 0x2c 0xe1 0x02 0x01 0x02 0x04
330 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 offen offset:4 glc slc ; encoding: [0x04,0x50,0x2e,0xe1,0x02,0x01,0x02,0xb8]
331 0x04 0x50 0x2e 0xe1 0x02 0x01 0x02 0xb8
333 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 idxen glc ; encoding: [0x00,0x60,0x2c,0xe1,0x02,0x01,0x02,0xb8]
334 0x00 0x60 0x2c 0xe1 0x02 0x01 0x02 0xb8
336 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 idxen glc slc ; encoding: [0x00,0x60,0x2e,0xe1,0x02,0x01,0x02,0xb8]
337 0x00 0x60 0x2e 0xe1 0x02 0x01 0x02 0xb8
339 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 idxen offset:4 glc ; encoding: [0x04,0x60,0x2c,0xe1,0x02,0x01,0x02,0xb8]
340 0x04 0x60 0x2c 0xe1 0x02 0x01 0x02 0xb8
342 # VI:   buffer_atomic_inc v1, v2, s[8:11], 56 idxen offset:4 glc slc ; encoding: [0x04,0x60,0x2e,0xe1,0x02,0x01,0x02,0xb8]
343 0x04 0x60 0x2e 0xe1 0x02 0x01 0x02 0xb8
345 # VI:   buffer_atomic_inc v1, v2, s[8:11], s4 idxen offset:4 glc slc ; encoding: [0x04,0x60,0x2e,0xe1,0x02,0x01,0x02,0x04]
346 0x04 0x60 0x2e 0xe1 0x02 0x01 0x02 0x04
348 # VI:   buffer_atomic_inc v1, v[2:3], s[8:11], 56 idxen offen glc ; encoding: [0x00,0x70,0x2c,0xe1,0x02,0x01,0x02,0xb8]
349 0x00 0x70 0x2c 0xe1 0x02 0x01 0x02 0xb8
351 # VI:   buffer_atomic_inc v1, v[2:3], s[8:11], s4 idxen offen glc ; encoding: [0x00,0x70,0x2c,0xe1,0x02,0x01,0x02,0x04]
352 0x00 0x70 0x2c 0xe1 0x02 0x01 0x02 0x04
354 # VI:   buffer_atomic_inc v1, v[2:3], s[8:11], 56 idxen offen glc slc ; encoding: [0x00,0x70,0x2e,0xe1,0x02,0x01,0x02,0xb8]
355 0x00 0x70 0x2e 0xe1 0x02 0x01 0x02 0xb8
357 # VI:   buffer_atomic_inc v1, v[2:3], s[8:11], 56 idxen offen offset:4 glc ; encoding: [0x04,0x70,0x2c,0xe1,0x02,0x01,0x02,0xb8]
358 0x04 0x70 0x2c 0xe1 0x02 0x01 0x02 0xb8
360 # VI:   buffer_atomic_inc v1, v[2:3], s[8:11], 56 idxen offen offset:4 glc slc ; encoding: [0x04,0x70,0x2e,0xe1,0x02,0x01,0x02,0xb8]
361 0x04 0x70 0x2e 0xe1 0x02 0x01 0x02 0xb8
363 #===------------------------------------------------------------------------===#
364 # Lds support
365 #===------------------------------------------------------------------------===#
367 # VI:   buffer_load_sbyte v5, off, s[8:11], s3 lds ; encoding: [0x00,0x00,0x45,0xe0,0x00,0x05,0x02,0x03]
368 0x00,0x00,0x45,0xe0,0x00,0x05,0x02,0x03
370 # VI:   buffer_load_sbyte v5, off, s[8:11], s3 glc slc lds ; encoding: [0x00,0x40,0x47,0xe0,0x00,0x05,0x02,0x03]
371 0x00,0x40,0x47,0xe0,0x00,0x05,0x02,0x03
373 # VI:   buffer_load_sbyte v5, off, s[8:11], s3 offset:4095 glc slc lds ; encoding: [0xff,0x4f,0x47,0xe0,0x00,0x05,0x02,0x03]
374 0xff,0x4f,0x47,0xe0,0x00,0x05,0x02,0x03
376 # VI:   buffer_load_sbyte v5, v0, s[8:11], s3 offen offset:4095 slc lds ; encoding: [0xff,0x1f,0x47,0xe0,0x00,0x05,0x02,0x03]
377 0xff,0x1f,0x47,0xe0,0x00,0x05,0x02,0x03
379 # VI:   buffer_load_sbyte v5, v0, s[8:11], s3 offen lds ; encoding: [0x00,0x10,0x45,0xe0,0x00,0x05,0x02,0x03]
380 0x00,0x10,0x45,0xe0,0x00,0x05,0x02,0x03
382 # VI:   buffer_load_sbyte v5, v0, s[8:11], s3 idxen glc slc lds ; encoding: [0x00,0x60,0x47,0xe0,0x00,0x05,0x02,0x03]
383 0x00,0x60,0x47,0xe0,0x00,0x05,0x02,0x03
385 # VI:   buffer_load_sbyte v5, v[0:1], s[8:11], s3 idxen offen offset:4095 lds ; encoding: [0xff,0x3f,0x45,0xe0,0x00,0x05,0x02,0x03]
386 0xff,0x3f,0x45,0xe0,0x00,0x05,0x02,0x03
388 # VI:   buffer_load_sbyte v5, v[0:1], s[8:11], s3 idxen offen offset:4095 glc slc lds ; encoding: [0xff,0x7f,0x47,0xe0,0x00,0x05,0x02,0x03]
389 0xff,0x7f,0x47,0xe0,0x00,0x05,0x02,0x03
391 # VI:   buffer_load_ubyte v5, off, s[8:11], s3 offset:4095 lds ; encoding: [0xff,0x0f,0x41,0xe0,0x00,0x05,0x02,0x03]
392 0xff,0x0f,0x41,0xe0,0x00,0x05,0x02,0x03
394 # VI:   buffer_load_sshort v5, v0, s[8:11], s3 offen offset:4095 glc slc lds ; encoding: [0xff,0x5f,0x4f,0xe0,0x00,0x05,0x02,0x03]
395 0xff,0x5f,0x4f,0xe0,0x00,0x05,0x02,0x03
397 # VI:   buffer_load_ushort v5, v0, s[8:11], s3 idxen offset:4095 glc slc lds ; encoding: [0xff,0x6f,0x4b,0xe0,0x00,0x05,0x02,0x03]
398 0xff,0x6f,0x4b,0xe0,0x00,0x05,0x02,0x03
400 # VI:   buffer_load_dword v5, v0, s[8:11], s101 offen lds ; encoding: [0x00,0x10,0x51,0xe0,0x00,0x05,0x02,0x65]
401 0x00,0x10,0x51,0xe0,0x00,0x05,0x02,0x65
403 # VI:   buffer_load_format_x v5, v[0:1], s[8:11], s3 idxen offen offset:4095 glc slc lds ; encoding: [0xff,0x7f,0x03,0xe0,0x00,0x05,0x02,0x03]
404 0xff,0x7f,0x03,0xe0,0x00,0x05,0x02,0x03
406 # VI:   buffer_store_lds_dword s[4:7], s0 lds ; encoding: [0x00,0x00,0xf5,0xe0,0x00,0x00,0x01,0x00]
407 0x00,0x00,0xf5,0xe0,0x00,0x00,0x01,0x00
409 # VI:   buffer_store_lds_dword s[4:7], s0 offset:4095 lds ; encoding: [0xff,0x0f,0xf5,0xe0,0x00,0x00,0x01,0x00]
410 0xff,0x0f,0xf5,0xe0,0x00,0x00,0x01,0x00
412 # VI:   buffer_store_lds_dword s[4:7], s8 offset:4 lds glc slc ; encoding: [0x04,0x40,0xf7,0xe0,0x00,0x00,0x01,0x08]
413 0x04,0x40,0xf7,0xe0,0x00,0x00,0x01,0x08