Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / Disassembler / AMDGPU / gfx10_flat.txt
blob9754b8c597a17e00aeed6bf384e3d68e409bf383
1 # RUN: llvm-mc -triple=amdgcn -mcpu=gfx1010 -mattr=+wavefrontsize32,-wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s
2 # RUN: llvm-mc -triple=amdgcn -mcpu=gfx1010 -mattr=-wavefrontsize32,+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s
5 #===------------------------------------------------------------------------===#
6 # scratch_load
7 #===------------------------------------------------------------------------===#
9 # GFX10: scratch_load_dword v1, v255, off offset:-1 glc dlc ; encoding: [0xff,0x5f,0x31,0xdc,0xff,0x00,0x7d,0x01]
10 0xff 0x5f 0x31 0xdc 0xff 0x00 0x7d 0x01
12 # GFX10: scratch_load_dword v5, v255, off offset:-1 glc slc ; encoding: [0xff,0x4f,0x33,0xdc,0xff,0x00,0x7d,0x05]
13 0xff 0x4f 0x33 0xdc 0xff 0x00 0x7d 0x05
15 # GFX10: scratch_load_dword v0, v1, off offset:-2048 glc slc dlc ; encoding: [0x00,0x58,0x33,0xdc,0x01,0x00,0x7d,0x00]
16 0x00 0x58 0x33 0xdc 0x01 0x00 0x7d 0x00
18 # GFX10: scratch_load_dword v255, off, s105 offset:2047 dlc ; encoding: [0xff,0x57,0x30,0xdc,0x00,0x00,0x69,0xff]
19 0xff 0x57 0x30 0xdc 0x00 0x00 0x69 0xff
21 # GFX10: scratch_load_dword v255, v2, off        ; encoding: [0x00,0x40,0x30,0xdc,0x02,0x00,0x7d,0xff]
22 0x00 0x40 0x30 0xdc 0x02 0x00 0x7d 0xff
24 # GFX10: scratch_load_dword v5, v0, off dlc      ; encoding: [0x00,0x50,0x30,0xdc,0x00,0x00,0x7d,0x05]
25 0x00 0x50 0x30 0xdc 0x00 0x00 0x7d 0x05
27 # GFX10: scratch_load_dword v5, v3, off slc      ; encoding: [0x00,0x40,0x32,0xdc,0x03,0x00,0x7d,0x05]
28 0x00 0x40 0x32 0xdc 0x03 0x00 0x7d 0x05
30 # GFX10: scratch_load_dword v5, v255, off slc dlc ; encoding: [0x00,0x50,0x32,0xdc,0xff,0x00,0x7d,0x05]
31 0x00 0x50 0x32 0xdc 0xff 0x00 0x7d 0x05
33 # GFX10: scratch_load_dword v255, off, s2 offset:1 ; encoding: [0x01,0x40,0x30,0xdc,0x00,0x00,0x02,0xff]
34 0x01 0x40 0x30 0xdc 0x00 0x00 0x02 0xff
36 #===------------------------------------------------------------------------===#
37 # scratch_store
38 #===------------------------------------------------------------------------===#
40 # GFX10: scratch_store_dword off, v2, s3 offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x03,0x00]
41 0xff,0x4f,0x70,0xdc,0x00,0x02,0x03,0x00
43 # GFX10: scratch_store_dword off, v255, s3 offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0xff,0x03,0x00]
44 0xff,0x4f,0x70,0xdc,0x00,0xff,0x03,0x00
46 # GFX10: scratch_store_dword off, v2, s105 offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x69,0x00]
47 0xff,0x4f,0x70,0xdc,0x00,0x02,0x69,0x00
49 # GFX10: scratch_store_dword off, v2, vcc_lo offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x6a,0x00]
50 0xff,0x4f,0x70,0xdc,0x00,0x02,0x6a,0x00
52 # GFX10: scratch_store_dword off, v2, vcc_hi offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x6b,0x00]
53 0xff,0x4f,0x70,0xdc,0x00,0x02,0x6b,0x00
55 # GFX10: scratch_store_dword off, v2, ttmp15 offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x7b,0x00]
56 0xff,0x4f,0x70,0xdc,0x00,0x02,0x7b,0x00
58 # GFX10: scratch_store_dword v0, v2, off offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x7d,0x00]
59 0xff,0x4f,0x70,0xdc,0x00,0x02,0x7d,0x00
61 # GFX10: scratch_store_dword off, v2, s3         ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x03,0x00]
62 0x00,0x40,0x70,0xdc,0x00,0x02,0x03,0x00
64 # GFX10: scratch_store_dword off, v2, s3 offset:2047 ; encoding: [0xff,0x47,0x70,0xdc,0x00,0x02,0x03,0x00]
65 0xff,0x47,0x70,0xdc,0x00,0x02,0x03,0x00
67 # GFX10: scratch_store_dword off, v2, s3 offset:-2048 ; encoding: [0x00,0x48,0x70,0xdc,0x00,0x02,0x03,0x00]
68 0x00,0x48,0x70,0xdc,0x00,0x02,0x03,0x00
70 # GFX10: scratch_store_dword off, v2, s3 offset:-1 glc ; encoding: [0xff,0x4f,0x71,0xdc,0x00,0x02,0x03,0x00]
71 0xff,0x4f,0x71,0xdc,0x00,0x02,0x03,0x00
73 # GFX10: scratch_store_dword off, v2, s3 offset:-1 slc ; encoding: [0xff,0x4f,0x72,0xdc,0x00,0x02,0x03,0x00]
74 0xff,0x4f,0x72,0xdc,0x00,0x02,0x03,0x00
76 # GFX10: scratch_store_dword off, v2, s3 offset:-1 dlc ; encoding: [0xff,0x5f,0x70,0xdc,0x00,0x02,0x03,0x00]
77 0xff,0x5f,0x70,0xdc,0x00,0x02,0x03,0x00
79 #===------------------------------------------------------------------------===#
80 # FLAT opcodes: dlc support for atomics
81 #===------------------------------------------------------------------------===#
83 # GFX10: flat_atomic_add v[1:2], v2 dlc          ; encoding: [0x00,0x10,0xc8,0xdc,0x01,0x02,0x7d,0x00]
84 0x00,0x10,0xc8,0xdc,0x01,0x02,0x7d,0x00
86 # GFX10: flat_atomic_add_x2 v[1:2], v[2:3] dlc   ; encoding: [0x00,0x10,0x48,0xdd,0x01,0x02,0x7d,0x00]
87 0x00,0x10,0x48,0xdd,0x01,0x02,0x7d,0x00
89 # GFX10: flat_atomic_and v[1:2], v2 dlc          ; encoding: [0x00,0x10,0xe4,0xdc,0x01,0x02,0x7d,0x00]
90 0x00,0x10,0xe4,0xdc,0x01,0x02,0x7d,0x00
92 # GFX10: flat_atomic_and_x2 v[1:2], v[2:3] dlc   ; encoding: [0x00,0x10,0x64,0xdd,0x01,0x02,0x7d,0x00]
93 0x00,0x10,0x64,0xdd,0x01,0x02,0x7d,0x00
95 # GFX10: flat_atomic_cmpswap v[1:2], v[2:3] dlc  ; encoding: [0x00,0x10,0xc4,0xdc,0x01,0x02,0x7d,0x00]
96 0x00,0x10,0xc4,0xdc,0x01,0x02,0x7d,0x00
98 # GFX10: flat_atomic_cmpswap_x2 v[1:2], v[2:5] dlc ; encoding: [0x00,0x10,0x44,0xdd,0x01,0x02,0x7d,0x00]
99 0x00,0x10,0x44,0xdd,0x01,0x02,0x7d,0x00
101 # GFX10: flat_atomic_dec v[1:2], v2 dlc          ; encoding: [0x00,0x10,0xf4,0xdc,0x01,0x02,0x7d,0x00]
102 0x00,0x10,0xf4,0xdc,0x01,0x02,0x7d,0x00
104 # GFX10: flat_atomic_dec_x2 v[1:2], v[2:3] dlc   ; encoding: [0x00,0x10,0x74,0xdd,0x01,0x02,0x7d,0x00]
105 0x00,0x10,0x74,0xdd,0x01,0x02,0x7d,0x00
107 # GFX10: flat_atomic_fcmpswap v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0xf8,0xdc,0x01,0x02,0x7d,0x00]
108 0x00,0x10,0xf8,0xdc,0x01,0x02,0x7d,0x00
110 # GFX10: flat_atomic_fcmpswap_x2 v[1:2], v[2:5] dlc ; encoding: [0x00,0x10,0x78,0xdd,0x01,0x02,0x7d,0x00]
111 0x00,0x10,0x78,0xdd,0x01,0x02,0x7d,0x00
113 # GFX10: flat_atomic_fmax v[1:2], v2 dlc         ; encoding: [0x00,0x10,0x00,0xdd,0x01,0x02,0x7d,0x00]
114 0x00,0x10,0x00,0xdd,0x01,0x02,0x7d,0x00
116 # GFX10: flat_atomic_fmax_x2 v[1:2], v[2:3] dlc  ; encoding: [0x00,0x10,0x80,0xdd,0x01,0x02,0x7d,0x00]
117 0x00,0x10,0x80,0xdd,0x01,0x02,0x7d,0x00
119 # GFX10: flat_atomic_fmin v[1:2], v2 dlc         ; encoding: [0x00,0x10,0xfc,0xdc,0x01,0x02,0x7d,0x00]
120 0x00,0x10,0xfc,0xdc,0x01,0x02,0x7d,0x00
122 # GFX10: flat_atomic_fmin_x2 v[1:2], v[2:3] dlc  ; encoding: [0x00,0x10,0x7c,0xdd,0x01,0x02,0x7d,0x00]
123 0x00,0x10,0x7c,0xdd,0x01,0x02,0x7d,0x00
125 # GFX10: flat_atomic_inc v[1:2], v2 dlc          ; encoding: [0x00,0x10,0xf0,0xdc,0x01,0x02,0x7d,0x00]
126 0x00,0x10,0xf0,0xdc,0x01,0x02,0x7d,0x00
128 # GFX10: flat_atomic_inc_x2 v[1:2], v[2:3] dlc   ; encoding: [0x00,0x10,0x70,0xdd,0x01,0x02,0x7d,0x00]
129 0x00,0x10,0x70,0xdd,0x01,0x02,0x7d,0x00
131 # GFX10: flat_atomic_or v[1:2], v2 dlc           ; encoding: [0x00,0x10,0xe8,0xdc,0x01,0x02,0x7d,0x00]
132 0x00,0x10,0xe8,0xdc,0x01,0x02,0x7d,0x00
134 # GFX10: flat_atomic_or_x2 v[1:2], v[2:3] dlc    ; encoding: [0x00,0x10,0x68,0xdd,0x01,0x02,0x7d,0x00]
135 0x00,0x10,0x68,0xdd,0x01,0x02,0x7d,0x00
137 # GFX10: flat_atomic_smax v[1:2], v2 dlc         ; encoding: [0x00,0x10,0xdc,0xdc,0x01,0x02,0x7d,0x00]
138 0x00,0x10,0xdc,0xdc,0x01,0x02,0x7d,0x00
140 # GFX10: flat_atomic_smax_x2 v[1:2], v[2:3] dlc  ; encoding: [0x00,0x10,0x5c,0xdd,0x01,0x02,0x7d,0x00]
141 0x00,0x10,0x5c,0xdd,0x01,0x02,0x7d,0x00
143 # GFX10: flat_atomic_smin v[1:2], v2 dlc         ; encoding: [0x00,0x10,0xd4,0xdc,0x01,0x02,0x7d,0x00]
144 0x00,0x10,0xd4,0xdc,0x01,0x02,0x7d,0x00
146 # GFX10: flat_atomic_smin_x2 v[1:2], v[2:3] dlc  ; encoding: [0x00,0x10,0x54,0xdd,0x01,0x02,0x7d,0x00]
147 0x00,0x10,0x54,0xdd,0x01,0x02,0x7d,0x00
149 # GFX10: flat_atomic_sub v[1:2], v2 dlc          ; encoding: [0x00,0x10,0xcc,0xdc,0x01,0x02,0x7d,0x00]
150 0x00,0x10,0xcc,0xdc,0x01,0x02,0x7d,0x00
152 # GFX10: flat_atomic_sub_x2 v[1:2], v[2:3] dlc   ; encoding: [0x00,0x10,0x4c,0xdd,0x01,0x02,0x7d,0x00]
153 0x00,0x10,0x4c,0xdd,0x01,0x02,0x7d,0x00
155 # GFX10: flat_atomic_swap v[1:2], v2 dlc         ; encoding: [0x00,0x10,0xc0,0xdc,0x01,0x02,0x7d,0x00]
156 0x00,0x10,0xc0,0xdc,0x01,0x02,0x7d,0x00
158 # GFX10: flat_atomic_swap_x2 v[1:2], v[2:3] dlc  ; encoding: [0x00,0x10,0x40,0xdd,0x01,0x02,0x7d,0x00]
159 0x00,0x10,0x40,0xdd,0x01,0x02,0x7d,0x00
161 # GFX10: flat_atomic_umax v[1:2], v2 dlc         ; encoding: [0x00,0x10,0xe0,0xdc,0x01,0x02,0x7d,0x00]
162 0x00,0x10,0xe0,0xdc,0x01,0x02,0x7d,0x00
164 # GFX10: flat_atomic_umax_x2 v[1:2], v[2:3] dlc  ; encoding: [0x00,0x10,0x60,0xdd,0x01,0x02,0x7d,0x00]
165 0x00,0x10,0x60,0xdd,0x01,0x02,0x7d,0x00
167 # GFX10: flat_atomic_umin v[1:2], v2 dlc         ; encoding: [0x00,0x10,0xd8,0xdc,0x01,0x02,0x7d,0x00]
168 0x00,0x10,0xd8,0xdc,0x01,0x02,0x7d,0x00
170 # GFX10: flat_atomic_umin_x2 v[1:2], v[2:3] dlc  ; encoding: [0x00,0x10,0x58,0xdd,0x01,0x02,0x7d,0x00]
171 0x00,0x10,0x58,0xdd,0x01,0x02,0x7d,0x00
173 # GFX10: flat_atomic_xor v[1:2], v2 dlc          ; encoding: [0x00,0x10,0xec,0xdc,0x01,0x02,0x7d,0x00]
174 0x00,0x10,0xec,0xdc,0x01,0x02,0x7d,0x00
176 # GFX10: flat_atomic_xor_x2 v[1:2], v[2:3] dlc   ; encoding: [0x00,0x10,0x6c,0xdd,0x01,0x02,0x7d,0x00]
177 0x00,0x10,0x6c,0xdd,0x01,0x02,0x7d,0x00
179 #===------------------------------------------------------------------------===#
180 # FLAT GLOBAL opcodes: dlc support for atomics
181 #===------------------------------------------------------------------------===#
183 # GFX10: global_atomic_add v[1:2], v2, off dlc   ; encoding: [0x00,0x90,0xc8,0xdc,0x01,0x02,0x7d,0x00]
184 0x00,0x90,0xc8,0xdc,0x01,0x02,0x7d,0x00
186 # GFX10: global_atomic_add_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x48,0xdd,0x01,0x02,0x7d,0x00]
187 0x00,0x90,0x48,0xdd,0x01,0x02,0x7d,0x00
189 # GFX10: global_atomic_and v[1:2], v2, off dlc   ; encoding: [0x00,0x90,0xe4,0xdc,0x01,0x02,0x7d,0x00]
190 0x00,0x90,0xe4,0xdc,0x01,0x02,0x7d,0x00
192 # GFX10: global_atomic_and_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x64,0xdd,0x01,0x02,0x7d,0x00]
193 0x00,0x90,0x64,0xdd,0x01,0x02,0x7d,0x00
195 # GFX10: global_atomic_cmpswap v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0xc4,0xdc,0x01,0x02,0x7d,0x00]
196 0x00,0x90,0xc4,0xdc,0x01,0x02,0x7d,0x00
198 # GFX10: global_atomic_cmpswap_x2 v[1:2], v[2:5], off dlc ; encoding: [0x00,0x90,0x44,0xdd,0x01,0x02,0x7d,0x00]
199 0x00,0x90,0x44,0xdd,0x01,0x02,0x7d,0x00
201 # GFX10: global_atomic_dec v[1:2], v2, off dlc   ; encoding: [0x00,0x90,0xf4,0xdc,0x01,0x02,0x7d,0x00]
202 0x00,0x90,0xf4,0xdc,0x01,0x02,0x7d,0x00
204 # GFX10: global_atomic_dec_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x74,0xdd,0x01,0x02,0x7d,0x00]
205 0x00,0x90,0x74,0xdd,0x01,0x02,0x7d,0x00
207 # GFX10: global_atomic_fmax v[1:2], v2, off dlc  ; encoding: [0x00,0x90,0x00,0xdd,0x01,0x02,0x7d,0x00]
208 0x00,0x90,0x00,0xdd,0x01,0x02,0x7d,0x00
210 # GFX10: global_atomic_fmax_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x80,0xdd,0x01,0x02,0x7d,0x00]
211 0x00,0x90,0x80,0xdd,0x01,0x02,0x7d,0x00
213 # GFX10: global_atomic_fmin v[1:2], v2, off dlc  ; encoding: [0x00,0x90,0xfc,0xdc,0x01,0x02,0x7d,0x00]
214 0x00,0x90,0xfc,0xdc,0x01,0x02,0x7d,0x00
216 # GFX10: global_atomic_fmin_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x7c,0xdd,0x01,0x02,0x7d,0x00]
217 0x00,0x90,0x7c,0xdd,0x01,0x02,0x7d,0x00
219 # GFX10: global_atomic_inc v[1:2], v2, off dlc   ; encoding: [0x00,0x90,0xf0,0xdc,0x01,0x02,0x7d,0x00]
220 0x00,0x90,0xf0,0xdc,0x01,0x02,0x7d,0x00
222 # GFX10: global_atomic_inc_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x70,0xdd,0x01,0x02,0x7d,0x00]
223 0x00,0x90,0x70,0xdd,0x01,0x02,0x7d,0x00
225 # GFX10: global_atomic_or v[1:2], v2, off dlc    ; encoding: [0x00,0x90,0xe8,0xdc,0x01,0x02,0x7d,0x00]
226 0x00,0x90,0xe8,0xdc,0x01,0x02,0x7d,0x00
228 # GFX10: global_atomic_or_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x68,0xdd,0x01,0x02,0x7d,0x00]
229 0x00,0x90,0x68,0xdd,0x01,0x02,0x7d,0x00
231 # GFX10: global_atomic_smax v[1:2], v2, off dlc  ; encoding: [0x00,0x90,0xdc,0xdc,0x01,0x02,0x7d,0x00]
232 0x00,0x90,0xdc,0xdc,0x01,0x02,0x7d,0x00
234 # GFX10: global_atomic_smax_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x5c,0xdd,0x01,0x02,0x7d,0x00]
235 0x00,0x90,0x5c,0xdd,0x01,0x02,0x7d,0x00
237 # GFX10: global_atomic_smin v[1:2], v2, off dlc  ; encoding: [0x00,0x90,0xd4,0xdc,0x01,0x02,0x7d,0x00]
238 0x00,0x90,0xd4,0xdc,0x01,0x02,0x7d,0x00
240 # GFX10: global_atomic_smin_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x54,0xdd,0x01,0x02,0x7d,0x00]
241 0x00,0x90,0x54,0xdd,0x01,0x02,0x7d,0x00
243 # GFX10: global_atomic_sub v[1:2], v2, off dlc   ; encoding: [0x00,0x90,0xcc,0xdc,0x01,0x02,0x7d,0x00]
244 0x00,0x90,0xcc,0xdc,0x01,0x02,0x7d,0x00
246 # GFX10: global_atomic_sub_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x4c,0xdd,0x01,0x02,0x7d,0x00]
247 0x00,0x90,0x4c,0xdd,0x01,0x02,0x7d,0x00
249 # GFX10: global_atomic_swap v[1:2], v2, off dlc  ; encoding: [0x00,0x90,0xc0,0xdc,0x01,0x02,0x7d,0x00]
250 0x00,0x90,0xc0,0xdc,0x01,0x02,0x7d,0x00
252 # GFX10: global_atomic_swap_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x40,0xdd,0x01,0x02,0x7d,0x00]
253 0x00,0x90,0x40,0xdd,0x01,0x02,0x7d,0x00
255 # GFX10: global_atomic_umax v[1:2], v2, off dlc  ; encoding: [0x00,0x90,0xe0,0xdc,0x01,0x02,0x7d,0x00]
256 0x00,0x90,0xe0,0xdc,0x01,0x02,0x7d,0x00
258 # GFX10: global_atomic_umax_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x60,0xdd,0x01,0x02,0x7d,0x00]
259 0x00,0x90,0x60,0xdd,0x01,0x02,0x7d,0x00
261 # GFX10: global_atomic_umin v[1:2], v2, off dlc  ; encoding: [0x00,0x90,0xd8,0xdc,0x01,0x02,0x7d,0x00]
262 0x00,0x90,0xd8,0xdc,0x01,0x02,0x7d,0x00
264 # GFX10: global_atomic_umin_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x58,0xdd,0x01,0x02,0x7d,0x00]
265 0x00,0x90,0x58,0xdd,0x01,0x02,0x7d,0x00
267 # GFX10: global_atomic_xor v[1:2], v2, off dlc   ; encoding: [0x00,0x90,0xec,0xdc,0x01,0x02,0x7d,0x00]
268 0x00,0x90,0xec,0xdc,0x01,0x02,0x7d,0x00
270 # GFX10: global_atomic_xor_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x6c,0xdd,0x01,0x02,0x7d,0x00]
271 0x00,0x90,0x6c,0xdd,0x01,0x02,0x7d,0x00
273 #===------------------------------------------------------------------------===#
274 # FLAT GLOBAL opcodes: fcmpswap
275 #===------------------------------------------------------------------------===#
277 # GFX10: global_atomic_fcmpswap v[1:2], v[2:3], off offset:-1 ; encoding: [0xff,0x8f,0xf8,0xdc,0x01,0x02,0x7d,0x00]
278 0xff,0x8f,0xf8,0xdc,0x01,0x02,0x7d,0x00
280 # GFX10: global_atomic_fcmpswap v5, v[1:2], v[2:3], off offset:-1 glc ; encoding: [0xff,0x8f,0xf9,0xdc,0x01,0x02,0x7d,0x05]
281 0xff,0x8f,0xf9,0xdc,0x01,0x02,0x7d,0x05
283 # GFX10: global_atomic_fcmpswap v[1:2], v[2:3], off offset:2047 ; encoding: [0xff,0x87,0xf8,0xdc,0x01,0x02,0x7d,0x00]
284 0xff,0x87,0xf8,0xdc,0x01,0x02,0x7d,0x00
286 # GFX10: global_atomic_fcmpswap v[1:2], v[2:3], off offset:-2048 ; encoding: [0x00,0x88,0xf8,0xdc,0x01,0x02,0x7d,0x00]
287 0x00,0x88,0xf8,0xdc,0x01,0x02,0x7d,0x00
289 # GFX10: global_atomic_fcmpswap v[1:2], v[2:3], off offset:-1 slc ; encoding: [0xff,0x8f,0xfa,0xdc,0x01,0x02,0x7d,0x00]
290 0xff,0x8f,0xfa,0xdc,0x01,0x02,0x7d,0x00
292 # GFX10: global_atomic_fcmpswap v[1:2], v[2:3], off offset:-1 dlc ; encoding: [0xff,0x9f,0xf8,0xdc,0x01,0x02,0x7d,0x00]
293 0xff,0x9f,0xf8,0xdc,0x01,0x02,0x7d,0x00
295 # GFX10: global_atomic_fcmpswap_x2 v[1:2], v[2:5], off offset:-1 ; encoding: [0xff,0x8f,0x78,0xdd,0x01,0x02,0x7d,0x00]
296 0xff,0x8f,0x78,0xdd,0x01,0x02,0x7d,0x00
298 # GFX10: global_atomic_fcmpswap_x2 v[5:6], v[1:2], v[2:5], off offset:-1 glc ; encoding: [0xff,0x8f,0x79,0xdd,0x01,0x02,0x7d,0x05]
299 0xff,0x8f,0x79,0xdd,0x01,0x02,0x7d,0x05
301 # GFX10: global_atomic_fcmpswap_x2 v[1:2], v[2:5], off offset:2047 ; encoding: [0xff,0x87,0x78,0xdd,0x01,0x02,0x7d,0x00]
302 0xff,0x87,0x78,0xdd,0x01,0x02,0x7d,0x00
304 # GFX10: global_atomic_fcmpswap_x2 v[1:2], v[2:5], off offset:-2048 ; encoding: [0x00,0x88,0x78,0xdd,0x01,0x02,0x7d,0x00]
305 0x00,0x88,0x78,0xdd,0x01,0x02,0x7d,0x00
307 # GFX10: global_atomic_fcmpswap_x2 v[1:2], v[2:5], off offset:-1 slc ; encoding: [0xff,0x8f,0x7a,0xdd,0x01,0x02,0x7d,0x00]
308 0xff,0x8f,0x7a,0xdd,0x01,0x02,0x7d,0x00
310 # GFX10: global_atomic_fcmpswap_x2 v[1:2], v[2:5], off offset:-1 dlc ; encoding: [0xff,0x9f,0x78,0xdd,0x01,0x02,0x7d,0x00]
311 0xff,0x9f,0x78,0xdd,0x01,0x02,0x7d,0x00
313 #===------------------------------------------------------------------------===#
314 # Other FLAT opcodes
315 #===------------------------------------------------------------------------===#
317 # GFX10: flat_atomic_add v[1:2], v2              ; encoding: [0x00,0x00,0xc8,0xdc,0x01,0x02,0x7d,0x00]
318 0x00,0x00,0xc8,0xdc,0x01,0x02,0x7d,0x00
320 # GFX10: flat_atomic_add v[3:4], v5 offset:8 slc ; encoding: [0x08,0x00,0xca,0xdc,0x03,0x05,0x7d,0x00]
321 0x08,0x00,0xca,0xdc,0x03,0x05,0x7d,0x00
323 # GFX10: flat_atomic_add_x2 v[1:2], v[2:3]       ; encoding: [0x00,0x00,0x48,0xdd,0x01,0x02,0x7d,0x00]
324 0x00,0x00,0x48,0xdd,0x01,0x02,0x7d,0x00
326 # GFX10: flat_atomic_and v[1:2], v2              ; encoding: [0x00,0x00,0xe4,0xdc,0x01,0x02,0x7d,0x00]
327 0x00,0x00,0xe4,0xdc,0x01,0x02,0x7d,0x00
329 # GFX10: flat_atomic_and_x2 v[1:2], v[2:3]       ; encoding: [0x00,0x00,0x64,0xdd,0x01,0x02,0x7d,0x00]
330 0x00,0x00,0x64,0xdd,0x01,0x02,0x7d,0x00
332 # GFX10: flat_atomic_cmpswap v0, v[1:2], v[3:4] glc ; encoding: [0x00,0x00,0xc5,0xdc,0x01,0x03,0x7d,0x00]
333 0x00,0x00,0xc5,0xdc,0x01,0x03,0x7d,0x00
335 # GFX10: flat_atomic_cmpswap v0, v[1:2], v[3:4] glc slc ; encoding: [0x00,0x00,0xc7,0xdc,0x01,0x03,0x7d,0x00]
336 0x00,0x00,0xc7,0xdc,0x01,0x03,0x7d,0x00
338 # GFX10: flat_atomic_cmpswap v0, v[1:2], v[3:4] offset:2047 glc ; encoding: [0xff,0x07,0xc5,0xdc,0x01,0x03,0x7d,0x00]
339 0xff,0x07,0xc5,0xdc,0x01,0x03,0x7d,0x00
341 # GFX10: flat_atomic_cmpswap v0, v[1:2], v[3:4] offset:2047 glc slc ; encoding: [0xff,0x07,0xc7,0xdc,0x01,0x03,0x7d,0x00]
342 0xff,0x07,0xc7,0xdc,0x01,0x03,0x7d,0x00
344 # GFX10: flat_atomic_cmpswap v[1:2], v[2:3]      ; encoding: [0x00,0x00,0xc4,0xdc,0x01,0x02,0x7d,0x00]
345 0x00,0x00,0xc4,0xdc,0x01,0x02,0x7d,0x00
347 # GFX10: flat_atomic_cmpswap v[1:2], v[3:4]      ; encoding: [0x00,0x00,0xc4,0xdc,0x01,0x03,0x7d,0x00]
348 0x00,0x00,0xc4,0xdc,0x01,0x03,0x7d,0x00
350 # GFX10: flat_atomic_cmpswap v[1:2], v[3:4] offset:2047 ; encoding: [0xff,0x07,0xc4,0xdc,0x01,0x03,0x7d,0x00]
351 0xff,0x07,0xc4,0xdc,0x01,0x03,0x7d,0x00
353 # GFX10: flat_atomic_cmpswap v[1:2], v[3:4] offset:2047 slc ; encoding: [0xff,0x07,0xc6,0xdc,0x01,0x03,0x7d,0x00]
354 0xff,0x07,0xc6,0xdc,0x01,0x03,0x7d,0x00
356 # GFX10: flat_atomic_cmpswap v[1:2], v[3:4] slc  ; encoding: [0x00,0x00,0xc6,0xdc,0x01,0x03,0x7d,0x00]
357 0x00,0x00,0xc6,0xdc,0x01,0x03,0x7d,0x00
359 # GFX10: flat_atomic_cmpswap_x2 v[1:2], v[2:5]   ; encoding: [0x00,0x00,0x44,0xdd,0x01,0x02,0x7d,0x00]
360 0x00,0x00,0x44,0xdd,0x01,0x02,0x7d,0x00
362 # GFX10: flat_atomic_dec v[1:2], v2              ; encoding: [0x00,0x00,0xf4,0xdc,0x01,0x02,0x7d,0x00]
363 0x00,0x00,0xf4,0xdc,0x01,0x02,0x7d,0x00
365 # GFX10: flat_atomic_dec_x2 v[1:2], v[2:3]       ; encoding: [0x00,0x00,0x74,0xdd,0x01,0x02,0x7d,0x00]
366 0x00,0x00,0x74,0xdd,0x01,0x02,0x7d,0x00
368 # GFX10: flat_atomic_inc v[1:2], v2              ; encoding: [0x00,0x00,0xf0,0xdc,0x01,0x02,0x7d,0x00]
369 0x00,0x00,0xf0,0xdc,0x01,0x02,0x7d,0x00
371 # GFX10: flat_atomic_inc_x2 v[1:2], v[2:3]       ; encoding: [0x00,0x00,0x70,0xdd,0x01,0x02,0x7d,0x00]
372 0x00,0x00,0x70,0xdd,0x01,0x02,0x7d,0x00
374 # GFX10: flat_atomic_or v[1:2], v2               ; encoding: [0x00,0x00,0xe8,0xdc,0x01,0x02,0x7d,0x00]
375 0x00,0x00,0xe8,0xdc,0x01,0x02,0x7d,0x00
377 # GFX10: flat_atomic_or_x2 v[1:2], v[2:3]        ; encoding: [0x00,0x00,0x68,0xdd,0x01,0x02,0x7d,0x00]
378 0x00,0x00,0x68,0xdd,0x01,0x02,0x7d,0x00
380 # GFX10: flat_atomic_smax v[1:2], v2             ; encoding: [0x00,0x00,0xdc,0xdc,0x01,0x02,0x7d,0x00]
381 0x00,0x00,0xdc,0xdc,0x01,0x02,0x7d,0x00
383 # GFX10: flat_atomic_smax_x2 v[1:2], v[2:3]      ; encoding: [0x00,0x00,0x5c,0xdd,0x01,0x02,0x7d,0x00]
384 0x00,0x00,0x5c,0xdd,0x01,0x02,0x7d,0x00
386 # GFX10: flat_atomic_smin v[1:2], v2             ; encoding: [0x00,0x00,0xd4,0xdc,0x01,0x02,0x7d,0x00]
387 0x00,0x00,0xd4,0xdc,0x01,0x02,0x7d,0x00
389 # GFX10: flat_atomic_smin_x2 v[1:2], v[2:3]      ; encoding: [0x00,0x00,0x54,0xdd,0x01,0x02,0x7d,0x00]
390 0x00,0x00,0x54,0xdd,0x01,0x02,0x7d,0x00
392 # GFX10: flat_atomic_sub v[1:2], v2              ; encoding: [0x00,0x00,0xcc,0xdc,0x01,0x02,0x7d,0x00]
393 0x00,0x00,0xcc,0xdc,0x01,0x02,0x7d,0x00
395 # GFX10: flat_atomic_sub_x2 v[1:2], v[2:3]       ; encoding: [0x00,0x00,0x4c,0xdd,0x01,0x02,0x7d,0x00]
396 0x00,0x00,0x4c,0xdd,0x01,0x02,0x7d,0x00
398 # GFX10: flat_atomic_swap v[1:2], v2             ; encoding: [0x00,0x00,0xc0,0xdc,0x01,0x02,0x7d,0x00]
399 0x00,0x00,0xc0,0xdc,0x01,0x02,0x7d,0x00
401 # GFX10: flat_atomic_swap v[3:4], v5 offset:16   ; encoding: [0x10,0x00,0xc0,0xdc,0x03,0x05,0x7d,0x00]
402 0x10,0x00,0xc0,0xdc,0x03,0x05,0x7d,0x00
404 # GFX10: flat_atomic_swap_x2 v[1:2], v[2:3]      ; encoding: [0x00,0x00,0x40,0xdd,0x01,0x02,0x7d,0x00]
405 0x00,0x00,0x40,0xdd,0x01,0x02,0x7d,0x00
407 # GFX10: flat_atomic_umax v[1:2], v2             ; encoding: [0x00,0x00,0xe0,0xdc,0x01,0x02,0x7d,0x00]
408 0x00,0x00,0xe0,0xdc,0x01,0x02,0x7d,0x00
410 # GFX10: flat_atomic_umax_x2 v[1:2], v[2:3]      ; encoding: [0x00,0x00,0x60,0xdd,0x01,0x02,0x7d,0x00]
411 0x00,0x00,0x60,0xdd,0x01,0x02,0x7d,0x00
413 # GFX10: flat_atomic_umin v[1:2], v2             ; encoding: [0x00,0x00,0xd8,0xdc,0x01,0x02,0x7d,0x00]
414 0x00,0x00,0xd8,0xdc,0x01,0x02,0x7d,0x00
416 # GFX10: flat_atomic_umin_x2 v[1:2], v[2:3]      ; encoding: [0x00,0x00,0x58,0xdd,0x01,0x02,0x7d,0x00]
417 0x00,0x00,0x58,0xdd,0x01,0x02,0x7d,0x00
419 # GFX10: flat_atomic_xor v[1:2], v2              ; encoding: [0x00,0x00,0xec,0xdc,0x01,0x02,0x7d,0x00]
420 0x00,0x00,0xec,0xdc,0x01,0x02,0x7d,0x00
422 # GFX10: flat_atomic_xor_x2 v[1:2], v[2:3]       ; encoding: [0x00,0x00,0x6c,0xdd,0x01,0x02,0x7d,0x00]
423 0x00,0x00,0x6c,0xdd,0x01,0x02,0x7d,0x00
425 # GFX10: flat_load_dword v1, v[3:4]              ; encoding: [0x00,0x00,0x30,0xdc,0x03,0x00,0x7d,0x01]
426 0x00,0x00,0x30,0xdc,0x03,0x00,0x7d,0x01
428 # GFX10: flat_load_dword v1, v[3:4] offset:2047  ; encoding: [0xff,0x07,0x30,0xdc,0x03,0x00,0x7d,0x01]
429 0xff,0x07,0x30,0xdc,0x03,0x00,0x7d,0x01
431 # GFX10: flat_load_dword v1, v[3:4] offset:4 glc ; encoding: [0x04,0x00,0x31,0xdc,0x03,0x00,0x7d,0x01]
432 0x04,0x00,0x31,0xdc,0x03,0x00,0x7d,0x01
434 # GFX10: flat_load_dword v1, v[3:4] offset:4 glc slc ; encoding: [0x04,0x00,0x33,0xdc,0x03,0x00,0x7d,0x01]
435 0x04,0x00,0x33,0xdc,0x03,0x00,0x7d,0x01
437 # GFX10: flat_load_dword v1, v[3:4] offset:4 glc slc dlc ; encoding: [0x04,0x10,0x33,0xdc,0x03,0x00,0x7d,0x01]
438 0x04,0x10,0x33,0xdc,0x03,0x00,0x7d,0x01
440 # GFX10: flat_load_dword v5, v[1:2]              ; encoding: [0x00,0x00,0x30,0xdc,0x01,0x00,0x7d,0x05]
441 0x00,0x00,0x30,0xdc,0x01,0x00,0x7d,0x05
443 # GFX10: flat_load_dwordx2 v[5:6], v[1:2]        ; encoding: [0x00,0x00,0x34,0xdc,0x01,0x00,0x7d,0x05]
444 0x00,0x00,0x34,0xdc,0x01,0x00,0x7d,0x05
446 # GFX10: flat_load_dwordx3 v[5:7], v[1:2]        ; encoding: [0x00,0x00,0x3c,0xdc,0x01,0x00,0x7d,0x05]
447 0x00,0x00,0x3c,0xdc,0x01,0x00,0x7d,0x05
449 # GFX10: flat_load_dwordx4 v[5:8], v[1:2]        ; encoding: [0x00,0x00,0x38,0xdc,0x01,0x00,0x7d,0x05]
450 0x00,0x00,0x38,0xdc,0x01,0x00,0x7d,0x05
452 # GFX10: flat_load_sbyte v5, v[1:2]              ; encoding: [0x00,0x00,0x24,0xdc,0x01,0x00,0x7d,0x05]
453 0x00,0x00,0x24,0xdc,0x01,0x00,0x7d,0x05
455 # GFX10: flat_load_sbyte_d16 v1, v[3:4]          ; encoding: [0x00,0x00,0x88,0xdc,0x03,0x00,0x7d,0x01]
456 0x00,0x00,0x88,0xdc,0x03,0x00,0x7d,0x01
458 # GFX10: flat_load_sbyte_d16_hi v1, v[3:4]       ; encoding: [0x00,0x00,0x8c,0xdc,0x03,0x00,0x7d,0x01]
459 0x00,0x00,0x8c,0xdc,0x03,0x00,0x7d,0x01
461 # GFX10: flat_load_short_d16 v1, v[3:4]          ; encoding: [0x00,0x00,0x90,0xdc,0x03,0x00,0x7d,0x01]
462 0x00,0x00,0x90,0xdc,0x03,0x00,0x7d,0x01
464 # GFX10: flat_load_short_d16_hi v1, v[3:4]       ; encoding: [0x00,0x00,0x94,0xdc,0x03,0x00,0x7d,0x01]
465 0x00,0x00,0x94,0xdc,0x03,0x00,0x7d,0x01
467 # GFX10: flat_load_sshort v5, v[1:2]             ; encoding: [0x00,0x00,0x2c,0xdc,0x01,0x00,0x7d,0x05]
468 0x00,0x00,0x2c,0xdc,0x01,0x00,0x7d,0x05
470 # GFX10: flat_load_ubyte v5, v[1:2]              ; encoding: [0x00,0x00,0x20,0xdc,0x01,0x00,0x7d,0x05]
471 0x00,0x00,0x20,0xdc,0x01,0x00,0x7d,0x05
473 # GFX10: flat_load_ubyte_d16 v1, v[3:4]          ; encoding: [0x00,0x00,0x80,0xdc,0x03,0x00,0x7d,0x01]
474 0x00,0x00,0x80,0xdc,0x03,0x00,0x7d,0x01
476 # GFX10: flat_load_ubyte_d16_hi v1, v[3:4]       ; encoding: [0x00,0x00,0x84,0xdc,0x03,0x00,0x7d,0x01]
477 0x00,0x00,0x84,0xdc,0x03,0x00,0x7d,0x01
479 # GFX10: flat_load_ushort v5, v[1:2]             ; encoding: [0x00,0x00,0x28,0xdc,0x01,0x00,0x7d,0x05]
480 0x00,0x00,0x28,0xdc,0x01,0x00,0x7d,0x05
482 # GFX10: flat_store_byte v[1:2], v2              ; encoding: [0x00,0x00,0x60,0xdc,0x01,0x02,0x7d,0x00]
483 0x00,0x00,0x60,0xdc,0x01,0x02,0x7d,0x00
485 # GFX10: flat_store_byte_d16_hi v[3:4], v1       ; encoding: [0x00,0x00,0x64,0xdc,0x03,0x01,0x7d,0x00]
486 0x00,0x00,0x64,0xdc,0x03,0x01,0x7d,0x00
488 # GFX10: flat_store_dword v[1:2], v2             ; encoding: [0x00,0x00,0x70,0xdc,0x01,0x02,0x7d,0x00]
489 0x00,0x00,0x70,0xdc,0x01,0x02,0x7d,0x00
491 # GFX10: flat_store_dword v[3:4], v1 offset:16   ; encoding: [0x10,0x00,0x70,0xdc,0x03,0x01,0x7d,0x00]
492 0x10,0x00,0x70,0xdc,0x03,0x01,0x7d,0x00
494 # GFX10: flat_store_dwordx2 v[1:2], v[2:3]       ; encoding: [0x00,0x00,0x74,0xdc,0x01,0x02,0x7d,0x00]
495 0x00,0x00,0x74,0xdc,0x01,0x02,0x7d,0x00
497 # GFX10: flat_store_dwordx3 v[1:2], v[2:4]       ; encoding: [0x00,0x00,0x7c,0xdc,0x01,0x02,0x7d,0x00]
498 0x00,0x00,0x7c,0xdc,0x01,0x02,0x7d,0x00
500 # GFX10: flat_store_dwordx4 v[1:2], v[2:5]       ; encoding: [0x00,0x00,0x78,0xdc,0x01,0x02,0x7d,0x00]
501 0x00,0x00,0x78,0xdc,0x01,0x02,0x7d,0x00
503 # GFX10: flat_store_short v[1:2], v2             ; encoding: [0x00,0x00,0x68,0xdc,0x01,0x02,0x7d,0x00]
504 0x00,0x00,0x68,0xdc,0x01,0x02,0x7d,0x00
506 # GFX10: flat_store_short_d16_hi v[3:4], v1      ; encoding: [0x00,0x00,0x6c,0xdc,0x03,0x01,0x7d,0x00]
507 0x00,0x00,0x6c,0xdc,0x03,0x01,0x7d,0x00
509 # GFX10: global_atomic_add v[3:4], v5, off       ; encoding: [0x00,0x80,0xc8,0xdc,0x03,0x05,0x7d,0x00]
510 0x00,0x80,0xc8,0xdc,0x03,0x05,0x7d,0x00
512 # GFX10: global_atomic_add v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xc8,0xdc,0x03,0x05,0x7d,0x00]
513 0xf0,0x87,0xc8,0xdc,0x03,0x05,0x7d,0x00
515 # GFX10: global_atomic_add_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x48,0xdd,0x03,0x05,0x7d,0x00]
516 0x00,0x80,0x48,0xdd,0x03,0x05,0x7d,0x00
518 # GFX10: global_atomic_add_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x48,0xdd,0x03,0x05,0x7d,0x00]
519 0xf0,0x87,0x48,0xdd,0x03,0x05,0x7d,0x00
521 # GFX10: global_atomic_and v[3:4], v5, off       ; encoding: [0x00,0x80,0xe4,0xdc,0x03,0x05,0x7d,0x00]
522 0x00,0x80,0xe4,0xdc,0x03,0x05,0x7d,0x00
524 # GFX10: global_atomic_and v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xe4,0xdc,0x03,0x05,0x7d,0x00]
525 0xf0,0x87,0xe4,0xdc,0x03,0x05,0x7d,0x00
527 # GFX10: global_atomic_and_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x64,0xdd,0x03,0x05,0x7d,0x00]
528 0x00,0x80,0x64,0xdd,0x03,0x05,0x7d,0x00
530 # GFX10: global_atomic_and_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x64,0xdd,0x03,0x05,0x7d,0x00]
531 0xf0,0x87,0x64,0xdd,0x03,0x05,0x7d,0x00
533 # GFX10: global_atomic_cmpswap v[3:4], v[5:6], off ; encoding: [0x00,0x80,0xc4,0xdc,0x03,0x05,0x7d,0x00]
534 0x00,0x80,0xc4,0xdc,0x03,0x05,0x7d,0x00
536 # GFX10: global_atomic_cmpswap v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0xc4,0xdc,0x03,0x05,0x7d,0x00]
537 0xf0,0x87,0xc4,0xdc,0x03,0x05,0x7d,0x00
539 # GFX10: global_atomic_cmpswap v1, v[3:4], v[5:6], off glc ; encoding: [0x00,0x80,0xc5,0xdc,0x03,0x05,0x7d,0x01]
540 0x00,0x80,0xc5,0xdc,0x03,0x05,0x7d,0x01
542 # GFX10: global_atomic_cmpswap v1, v3, v[5:6], s[2:3] glc ; encoding: [0x00,0x80,0xc5,0xdc,0x03,0x05,0x02,0x01]
543 0x00,0x80,0xc5,0xdc,0x03,0x05,0x02,0x01
545 # GFX10: global_atomic_cmpswap_x2 v[3:4], v[5:8], off ; encoding: [0x00,0x80,0x44,0xdd,0x03,0x05,0x7d,0x00]
546 0x00,0x80,0x44,0xdd,0x03,0x05,0x7d,0x00
548 # GFX10: global_atomic_cmpswap_x2 v[3:4], v[5:8], off offset:2032 ; encoding: [0xf0,0x87,0x44,0xdd,0x03,0x05,0x7d,0x00]
549 0xf0,0x87,0x44,0xdd,0x03,0x05,0x7d,0x00
551 # GFX10: global_atomic_cmpswap_x2 v[1:2], v[5:6], v[7:10], off glc ; encoding: [0x00,0x80,0x45,0xdd,0x05,0x07,0x7d,0x01]
552 0x00,0x80,0x45,0xdd,0x05,0x07,0x7d,0x01
554 # GFX10: global_atomic_cmpswap_x2 v[1:2], v5, v[7:10], s[2:3] glc ; encoding: [0x00,0x80,0x45,0xdd,0x05,0x07,0x02,0x01]
555 0x00,0x80,0x45,0xdd,0x05,0x07,0x02,0x01
557 # GFX10: global_atomic_dec v[3:4], v5, off       ; encoding: [0x00,0x80,0xf4,0xdc,0x03,0x05,0x7d,0x00]
558 0x00,0x80,0xf4,0xdc,0x03,0x05,0x7d,0x00
560 # GFX10: global_atomic_dec v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xf4,0xdc,0x03,0x05,0x7d,0x00]
561 0xf0,0x87,0xf4,0xdc,0x03,0x05,0x7d,0x00
563 # GFX10: global_atomic_dec_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x74,0xdd,0x03,0x05,0x7d,0x00]
564 0x00,0x80,0x74,0xdd,0x03,0x05,0x7d,0x00
566 # GFX10: global_atomic_dec_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x74,0xdd,0x03,0x05,0x7d,0x00]
567 0xf0,0x87,0x74,0xdd,0x03,0x05,0x7d,0x00
569 # GFX10: global_atomic_inc v[3:4], v5, off       ; encoding: [0x00,0x80,0xf0,0xdc,0x03,0x05,0x7d,0x00]
570 0x00,0x80,0xf0,0xdc,0x03,0x05,0x7d,0x00
572 # GFX10: global_atomic_inc v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xf0,0xdc,0x03,0x05,0x7d,0x00]
573 0xf0,0x87,0xf0,0xdc,0x03,0x05,0x7d,0x00
575 # GFX10: global_atomic_inc_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x70,0xdd,0x03,0x05,0x7d,0x00]
576 0x00,0x80,0x70,0xdd,0x03,0x05,0x7d,0x00
578 # GFX10: global_atomic_inc_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x70,0xdd,0x03,0x05,0x7d,0x00]
579 0xf0,0x87,0x70,0xdd,0x03,0x05,0x7d,0x00
581 # GFX10: global_atomic_or v[3:4], v5, off        ; encoding: [0x00,0x80,0xe8,0xdc,0x03,0x05,0x7d,0x00]
582 0x00,0x80,0xe8,0xdc,0x03,0x05,0x7d,0x00
584 # GFX10: global_atomic_or v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xe8,0xdc,0x03,0x05,0x7d,0x00]
585 0xf0,0x87,0xe8,0xdc,0x03,0x05,0x7d,0x00
587 # GFX10: global_atomic_or_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x68,0xdd,0x03,0x05,0x7d,0x00]
588 0x00,0x80,0x68,0xdd,0x03,0x05,0x7d,0x00
590 # GFX10: global_atomic_or_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x68,0xdd,0x03,0x05,0x7d,0x00]
591 0xf0,0x87,0x68,0xdd,0x03,0x05,0x7d,0x00
593 # GFX10: global_atomic_smax v[3:4], v5, off      ; encoding: [0x00,0x80,0xdc,0xdc,0x03,0x05,0x7d,0x00]
594 0x00,0x80,0xdc,0xdc,0x03,0x05,0x7d,0x00
596 # GFX10: global_atomic_smax v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xdc,0xdc,0x03,0x05,0x7d,0x00]
597 0xf0,0x87,0xdc,0xdc,0x03,0x05,0x7d,0x00
599 # GFX10: global_atomic_smax_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x5c,0xdd,0x03,0x05,0x7d,0x00]
600 0x00,0x80,0x5c,0xdd,0x03,0x05,0x7d,0x00
602 # GFX10: global_atomic_smax_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x5c,0xdd,0x03,0x05,0x7d,0x00]
603 0xf0,0x87,0x5c,0xdd,0x03,0x05,0x7d,0x00
605 # GFX10: global_atomic_smin v[3:4], v5, off      ; encoding: [0x00,0x80,0xd4,0xdc,0x03,0x05,0x7d,0x00]
606 0x00,0x80,0xd4,0xdc,0x03,0x05,0x7d,0x00
608 # GFX10: global_atomic_smin v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xd4,0xdc,0x03,0x05,0x7d,0x00]
609 0xf0,0x87,0xd4,0xdc,0x03,0x05,0x7d,0x00
611 # GFX10: global_atomic_smin_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x54,0xdd,0x03,0x05,0x7d,0x00]
612 0x00,0x80,0x54,0xdd,0x03,0x05,0x7d,0x00
614 # GFX10: global_atomic_smin_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x54,0xdd,0x03,0x05,0x7d,0x00]
615 0xf0,0x87,0x54,0xdd,0x03,0x05,0x7d,0x00
617 # GFX10: global_atomic_sub v[3:4], v5, off       ; encoding: [0x00,0x80,0xcc,0xdc,0x03,0x05,0x7d,0x00]
618 0x00,0x80,0xcc,0xdc,0x03,0x05,0x7d,0x00
620 # GFX10: global_atomic_sub v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xcc,0xdc,0x03,0x05,0x7d,0x00]
621 0xf0,0x87,0xcc,0xdc,0x03,0x05,0x7d,0x00
623 # GFX10: global_atomic_sub_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x4c,0xdd,0x03,0x05,0x7d,0x00]
624 0x00,0x80,0x4c,0xdd,0x03,0x05,0x7d,0x00
626 # GFX10: global_atomic_sub_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x4c,0xdd,0x03,0x05,0x7d,0x00]
627 0xf0,0x87,0x4c,0xdd,0x03,0x05,0x7d,0x00
629 # GFX10: global_atomic_swap v[3:4], v5, off      ; encoding: [0x00,0x80,0xc0,0xdc,0x03,0x05,0x7d,0x00]
630 0x00,0x80,0xc0,0xdc,0x03,0x05,0x7d,0x00
632 # GFX10: global_atomic_swap v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xc0,0xdc,0x03,0x05,0x7d,0x00]
633 0xf0,0x87,0xc0,0xdc,0x03,0x05,0x7d,0x00
635 # GFX10: global_atomic_swap_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x40,0xdd,0x03,0x05,0x7d,0x00]
636 0x00,0x80,0x40,0xdd,0x03,0x05,0x7d,0x00
638 # GFX10: global_atomic_swap_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x40,0xdd,0x03,0x05,0x7d,0x00]
639 0xf0,0x87,0x40,0xdd,0x03,0x05,0x7d,0x00
641 # GFX10: global_atomic_umax v[3:4], v5, off      ; encoding: [0x00,0x80,0xe0,0xdc,0x03,0x05,0x7d,0x00]
642 0x00,0x80,0xe0,0xdc,0x03,0x05,0x7d,0x00
644 # GFX10: global_atomic_umax v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xe0,0xdc,0x03,0x05,0x7d,0x00]
645 0xf0,0x87,0xe0,0xdc,0x03,0x05,0x7d,0x00
647 # GFX10: global_atomic_umax_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x60,0xdd,0x03,0x05,0x7d,0x00]
648 0x00,0x80,0x60,0xdd,0x03,0x05,0x7d,0x00
650 # GFX10: global_atomic_umax_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x60,0xdd,0x03,0x05,0x7d,0x00]
651 0xf0,0x87,0x60,0xdd,0x03,0x05,0x7d,0x00
653 # GFX10: global_atomic_umin v[3:4], v5, off      ; encoding: [0x00,0x80,0xd8,0xdc,0x03,0x05,0x7d,0x00]
654 0x00,0x80,0xd8,0xdc,0x03,0x05,0x7d,0x00
656 # GFX10: global_atomic_umin v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xd8,0xdc,0x03,0x05,0x7d,0x00]
657 0xf0,0x87,0xd8,0xdc,0x03,0x05,0x7d,0x00
659 # GFX10: global_atomic_umin_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x58,0xdd,0x03,0x05,0x7d,0x00]
660 0x00,0x80,0x58,0xdd,0x03,0x05,0x7d,0x00
662 # GFX10: global_atomic_umin_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x58,0xdd,0x03,0x05,0x7d,0x00]
663 0xf0,0x87,0x58,0xdd,0x03,0x05,0x7d,0x00
665 # GFX10: global_atomic_xor v[3:4], v5, off       ; encoding: [0x00,0x80,0xec,0xdc,0x03,0x05,0x7d,0x00]
666 0x00,0x80,0xec,0xdc,0x03,0x05,0x7d,0x00
668 # GFX10: global_atomic_xor v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xec,0xdc,0x03,0x05,0x7d,0x00]
669 0xf0,0x87,0xec,0xdc,0x03,0x05,0x7d,0x00
671 # GFX10: global_atomic_xor_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x6c,0xdd,0x03,0x05,0x7d,0x00]
672 0x00,0x80,0x6c,0xdd,0x03,0x05,0x7d,0x00
674 # GFX10: global_atomic_xor_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x6c,0xdd,0x03,0x05,0x7d,0x00]
675 0xf0,0x87,0x6c,0xdd,0x03,0x05,0x7d,0x00
677 # GFX10: global_load_dword v1, v[3:4], off       ; encoding: [0x00,0x80,0x30,0xdc,0x03,0x00,0x7d,0x01]
678 0x00,0x80,0x30,0xdc,0x03,0x00,0x7d,0x01
680 # GFX10: global_load_dword v1, v[3:4], off dlc   ; encoding: [0x00,0x90,0x30,0xdc,0x03,0x00,0x7d,0x01]
681 0x00,0x90,0x30,0xdc,0x03,0x00,0x7d,0x01
683 # GFX10: global_load_dword v1, v[3:4], off offset:2047 ; encoding: [0xff,0x87,0x30,0xdc,0x03,0x00,0x7d,0x01]
684 0xff,0x87,0x30,0xdc,0x03,0x00,0x7d,0x01
686 # GFX10: global_load_dword v1, v3, s[2:3]        ; encoding: [0x00,0x80,0x30,0xdc,0x03,0x00,0x02,0x01]
687 0x00,0x80,0x30,0xdc,0x03,0x00,0x02,0x01
689 # GFX10: global_load_dword v1, v3, s[2:3] offset:2040 ; encoding: [0xf8,0x87,0x30,0xdc,0x03,0x00,0x02,0x01]
690 0xf8,0x87,0x30,0xdc,0x03,0x00,0x02,0x01
692 # GFX10: global_load_dword v1, v3, s[2:3] offset:24 ; encoding: [0x18,0x80,0x30,0xdc,0x03,0x00,0x02,0x01]
693 0x18,0x80,0x30,0xdc,0x03,0x00,0x02,0x01
695 # GFX10: global_load_dwordx2 v[1:2], v[3:4], off ; encoding: [0x00,0x80,0x34,0xdc,0x03,0x00,0x7d,0x01]
696 0x00,0x80,0x34,0xdc,0x03,0x00,0x7d,0x01
698 # GFX10: global_load_dwordx2 v[1:2], v[3:4], off dlc ; encoding: [0x00,0x90,0x34,0xdc,0x03,0x00,0x7d,0x01]
699 0x00,0x90,0x34,0xdc,0x03,0x00,0x7d,0x01
701 # GFX10: global_load_dwordx3 v[1:3], v[3:4], off ; encoding: [0x00,0x80,0x3c,0xdc,0x03,0x00,0x7d,0x01]
702 0x00,0x80,0x3c,0xdc,0x03,0x00,0x7d,0x01
704 # GFX10: global_load_dwordx3 v[1:3], v[3:4], off dlc ; encoding: [0x00,0x90,0x3c,0xdc,0x03,0x00,0x7d,0x01]
705 0x00,0x90,0x3c,0xdc,0x03,0x00,0x7d,0x01
707 # GFX10: global_load_dwordx4 v[1:4], v[3:4], off ; encoding: [0x00,0x80,0x38,0xdc,0x03,0x00,0x7d,0x01]
708 0x00,0x80,0x38,0xdc,0x03,0x00,0x7d,0x01
710 # GFX10: global_load_dwordx4 v[1:4], v[3:4], off dlc ; encoding: [0x00,0x90,0x38,0xdc,0x03,0x00,0x7d,0x01]
711 0x00,0x90,0x38,0xdc,0x03,0x00,0x7d,0x01
713 # GFX10: global_load_sbyte v1, v[3:4], off       ; encoding: [0x00,0x80,0x24,0xdc,0x03,0x00,0x7d,0x01]
714 0x00,0x80,0x24,0xdc,0x03,0x00,0x7d,0x01
716 # GFX10: global_load_sbyte v1, v[3:4], off dlc   ; encoding: [0x00,0x90,0x24,0xdc,0x03,0x00,0x7d,0x01]
717 0x00,0x90,0x24,0xdc,0x03,0x00,0x7d,0x01
719 # GFX10: global_load_sbyte_d16 v1, v[3:4], off   ; encoding: [0x00,0x80,0x88,0xdc,0x03,0x00,0x7d,0x01]
720 0x00,0x80,0x88,0xdc,0x03,0x00,0x7d,0x01
722 # GFX10: global_load_sbyte_d16_hi v1, v[3:4], off ; encoding: [0x00,0x80,0x8c,0xdc,0x03,0x00,0x7d,0x01]
723 0x00,0x80,0x8c,0xdc,0x03,0x00,0x7d,0x01
725 # GFX10: global_load_short_d16 v1, v[3:4], off   ; encoding: [0x00,0x80,0x90,0xdc,0x03,0x00,0x7d,0x01]
726 0x00,0x80,0x90,0xdc,0x03,0x00,0x7d,0x01
728 # GFX10: global_load_short_d16_hi v1, v[3:4], off ; encoding: [0x00,0x80,0x94,0xdc,0x03,0x00,0x7d,0x01]
729 0x00,0x80,0x94,0xdc,0x03,0x00,0x7d,0x01
731 # GFX10: global_load_sshort v1, v[3:4], off      ; encoding: [0x00,0x80,0x2c,0xdc,0x03,0x00,0x7d,0x01]
732 0x00,0x80,0x2c,0xdc,0x03,0x00,0x7d,0x01
734 # GFX10: global_load_sshort v1, v[3:4], off dlc  ; encoding: [0x00,0x90,0x2c,0xdc,0x03,0x00,0x7d,0x01]
735 0x00,0x90,0x2c,0xdc,0x03,0x00,0x7d,0x01
737 # GFX10: global_load_ubyte v1, v[3:4], off       ; encoding: [0x00,0x80,0x20,0xdc,0x03,0x00,0x7d,0x01]
738 0x00,0x80,0x20,0xdc,0x03,0x00,0x7d,0x01
740 # GFX10: global_load_ubyte v1, v[3:4], off dlc   ; encoding: [0x00,0x90,0x20,0xdc,0x03,0x00,0x7d,0x01]
741 0x00,0x90,0x20,0xdc,0x03,0x00,0x7d,0x01
743 # GFX10: global_load_ubyte_d16 v1, v[3:4], off   ; encoding: [0x00,0x80,0x80,0xdc,0x03,0x00,0x7d,0x01]
744 0x00,0x80,0x80,0xdc,0x03,0x00,0x7d,0x01
746 # GFX10: global_load_ubyte_d16_hi v1, v[3:4], off ; encoding: [0x00,0x80,0x84,0xdc,0x03,0x00,0x7d,0x01]
747 0x00,0x80,0x84,0xdc,0x03,0x00,0x7d,0x01
749 # GFX10: global_load_ushort v1, v[3:4], off      ; encoding: [0x00,0x80,0x28,0xdc,0x03,0x00,0x7d,0x01]
750 0x00,0x80,0x28,0xdc,0x03,0x00,0x7d,0x01
752 # GFX10: global_load_ushort v1, v[3:4], off dlc  ; encoding: [0x00,0x90,0x28,0xdc,0x03,0x00,0x7d,0x01]
753 0x00,0x90,0x28,0xdc,0x03,0x00,0x7d,0x01
755 # GFX10: global_store_byte v[3:4], v1, off       ; encoding: [0x00,0x80,0x60,0xdc,0x03,0x01,0x7d,0x00]
756 0x00,0x80,0x60,0xdc,0x03,0x01,0x7d,0x00
758 # GFX10: global_store_byte v[3:4], v1, off dlc   ; encoding: [0x00,0x90,0x60,0xdc,0x03,0x01,0x7d,0x00]
759 0x00,0x90,0x60,0xdc,0x03,0x01,0x7d,0x00
761 # GFX10: global_store_byte_d16_hi v[3:4], v1, off ; encoding: [0x00,0x80,0x64,0xdc,0x03,0x01,0x7d,0x00]
762 0x00,0x80,0x64,0xdc,0x03,0x01,0x7d,0x00
764 # GFX10: global_store_dword v3, v1, exec         ; encoding: [0x00,0x80,0x70,0xdc,0x03,0x01,0x7e,0x00]
765 0x00,0x80,0x70,0xdc,0x03,0x01,0x7e,0x00
767 # GFX10: global_store_dword v[3:4], v1, off      ; encoding: [0x00,0x80,0x70,0xdc,0x03,0x01,0x7d,0x00]
768 0x00,0x80,0x70,0xdc,0x03,0x01,0x7d,0x00
770 # GFX10: global_store_dword v[3:4], v1, off dlc  ; encoding: [0x00,0x90,0x70,0xdc,0x03,0x01,0x7d,0x00]
771 0x00,0x90,0x70,0xdc,0x03,0x01,0x7d,0x00
773 # GFX10: global_store_dword v[3:4], v1, off offset:12 ; encoding: [0x0c,0x80,0x70,0xdc,0x03,0x01,0x7d,0x00]
774 0x0c,0x80,0x70,0xdc,0x03,0x01,0x7d,0x00
776 # GFX10: global_store_dword v3, v1, s[2:3]       ; encoding: [0x00,0x80,0x70,0xdc,0x03,0x01,0x02,0x00]
777 0x00,0x80,0x70,0xdc,0x03,0x01,0x02,0x00
779 # GFX10: global_store_dword v3, v1, s[2:3] offset:2040 ; encoding: [0xf8,0x87,0x70,0xdc,0x03,0x01,0x02,0x00]
780 0xf8,0x87,0x70,0xdc,0x03,0x01,0x02,0x00
782 # GFX10: global_store_dword v3, v1, s[2:3] offset:24 ; encoding: [0x18,0x80,0x70,0xdc,0x03,0x01,0x02,0x00]
783 0x18,0x80,0x70,0xdc,0x03,0x01,0x02,0x00
785 # GFX10: global_store_dwordx2 v[3:4], v[1:2], off ; encoding: [0x00,0x80,0x74,0xdc,0x03,0x01,0x7d,0x00]
786 0x00,0x80,0x74,0xdc,0x03,0x01,0x7d,0x00
788 # GFX10: global_store_dwordx2 v[3:4], v[1:2], off dlc ; encoding: [0x00,0x90,0x74,0xdc,0x03,0x01,0x7d,0x00]
789 0x00,0x90,0x74,0xdc,0x03,0x01,0x7d,0x00
791 # GFX10: global_store_dwordx3 v[3:4], v[1:3], off ; encoding: [0x00,0x80,0x7c,0xdc,0x03,0x01,0x7d,0x00]
792 0x00,0x80,0x7c,0xdc,0x03,0x01,0x7d,0x00
794 # GFX10: global_store_dwordx3 v[3:4], v[1:3], off dlc ; encoding: [0x00,0x90,0x7c,0xdc,0x03,0x01,0x7d,0x00]
795 0x00,0x90,0x7c,0xdc,0x03,0x01,0x7d,0x00
797 # GFX10: global_store_dwordx4 v[3:4], v[1:4], off ; encoding: [0x00,0x80,0x78,0xdc,0x03,0x01,0x7d,0x00]
798 0x00,0x80,0x78,0xdc,0x03,0x01,0x7d,0x00
800 # GFX10: global_store_dwordx4 v[3:4], v[1:4], off dlc ; encoding: [0x00,0x90,0x78,0xdc,0x03,0x01,0x7d,0x00]
801 0x00,0x90,0x78,0xdc,0x03,0x01,0x7d,0x00
803 # GFX10: global_store_short v[3:4], v1, off      ; encoding: [0x00,0x80,0x68,0xdc,0x03,0x01,0x7d,0x00]
804 0x00,0x80,0x68,0xdc,0x03,0x01,0x7d,0x00
806 # GFX10: global_store_short v[3:4], v1, off dlc  ; encoding: [0x00,0x90,0x68,0xdc,0x03,0x01,0x7d,0x00]
807 0x00,0x90,0x68,0xdc,0x03,0x01,0x7d,0x00
809 # GFX10: global_store_short_d16_hi v[3:4], v1, off ; encoding: [0x00,0x80,0x6c,0xdc,0x03,0x01,0x7d,0x00]
810 0x00,0x80,0x6c,0xdc,0x03,0x01,0x7d,0x00
812 # GFX10: scratch_load_dword v1, off, exec_lo     ; encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x7e,0x01]
813 0x00,0x40,0x30,0xdc,0x00,0x00,0x7e,0x01
815 # GFX10: scratch_load_dword v1, off, m0          ; encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x7c,0x01]
816 0x00,0x40,0x30,0xdc,0x00,0x00,0x7c,0x01
818 # GFX10: scratch_load_dword v1, off, s1          ; encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x01,0x01]
819 0x00,0x40,0x30,0xdc,0x00,0x00,0x01,0x01
821 # GFX10: scratch_load_dword v1, off, s1 offset:32 ; encoding: [0x20,0x40,0x30,0xdc,0x00,0x00,0x01,0x01]
822 0x20,0x40,0x30,0xdc,0x00,0x00,0x01,0x01
824 # GFX10: scratch_load_dword v1, v2, off          ; encoding: [0x00,0x40,0x30,0xdc,0x02,0x00,0x7d,0x01]
825 0x00,0x40,0x30,0xdc,0x02,0x00,0x7d,0x01
827 # GFX10: scratch_load_dword v1, v2, off dlc      ; encoding: [0x00,0x50,0x30,0xdc,0x02,0x00,0x7d,0x01]
828 0x00,0x50,0x30,0xdc,0x02,0x00,0x7d,0x01
830 # GFX10: scratch_load_dword v1, v2, off offset:2047 ; encoding: [0xff,0x47,0x30,0xdc,0x02,0x00,0x7d,0x01]
831 0xff,0x47,0x30,0xdc,0x02,0x00,0x7d,0x01
833 # GFX10: scratch_load_dwordx2 v[1:2], v3, off    ; encoding: [0x00,0x40,0x34,0xdc,0x03,0x00,0x7d,0x01]
834 0x00,0x40,0x34,0xdc,0x03,0x00,0x7d,0x01
836 # GFX10: scratch_load_dwordx2 v[1:2], v3, off dlc ; encoding: [0x00,0x50,0x34,0xdc,0x03,0x00,0x7d,0x01]
837 0x00,0x50,0x34,0xdc,0x03,0x00,0x7d,0x01
839 # GFX10: scratch_load_dwordx3 v[1:3], v4, off    ; encoding: [0x00,0x40,0x3c,0xdc,0x04,0x00,0x7d,0x01]
840 0x00,0x40,0x3c,0xdc,0x04,0x00,0x7d,0x01
842 # GFX10: scratch_load_dwordx3 v[1:3], v4, off dlc ; encoding: [0x00,0x50,0x3c,0xdc,0x04,0x00,0x7d,0x01]
843 0x00,0x50,0x3c,0xdc,0x04,0x00,0x7d,0x01
845 # GFX10: scratch_load_dwordx4 v[1:4], v5, off    ; encoding: [0x00,0x40,0x38,0xdc,0x05,0x00,0x7d,0x01]
846 0x00,0x40,0x38,0xdc,0x05,0x00,0x7d,0x01
848 # GFX10: scratch_load_dwordx4 v[1:4], v5, off dlc ; encoding: [0x00,0x50,0x38,0xdc,0x05,0x00,0x7d,0x01]
849 0x00,0x50,0x38,0xdc,0x05,0x00,0x7d,0x01
851 # GFX10: scratch_load_sbyte v1, v2, off          ; encoding: [0x00,0x40,0x24,0xdc,0x02,0x00,0x7d,0x01]
852 0x00,0x40,0x24,0xdc,0x02,0x00,0x7d,0x01
854 # GFX10: scratch_load_sbyte v1, v2, off dlc      ; encoding: [0x00,0x50,0x24,0xdc,0x02,0x00,0x7d,0x01]
855 0x00,0x50,0x24,0xdc,0x02,0x00,0x7d,0x01
857 # GFX10: scratch_load_sbyte_d16 v1, v2, off      ; encoding: [0x00,0x40,0x88,0xdc,0x02,0x00,0x7d,0x01]
858 0x00,0x40,0x88,0xdc,0x02,0x00,0x7d,0x01
860 # GFX10: scratch_load_sbyte_d16_hi v1, v2, off   ; encoding: [0x00,0x40,0x8c,0xdc,0x02,0x00,0x7d,0x01]
861 0x00,0x40,0x8c,0xdc,0x02,0x00,0x7d,0x01
863 # GFX10: scratch_load_short_d16 v1, v2, off      ; encoding: [0x00,0x40,0x90,0xdc,0x02,0x00,0x7d,0x01]
864 0x00,0x40,0x90,0xdc,0x02,0x00,0x7d,0x01
866 # GFX10: scratch_load_short_d16_hi v1, v2, off   ; encoding: [0x00,0x40,0x94,0xdc,0x02,0x00,0x7d,0x01]
867 0x00,0x40,0x94,0xdc,0x02,0x00,0x7d,0x01
869 # GFX10: scratch_load_sshort v1, v2, off         ; encoding: [0x00,0x40,0x2c,0xdc,0x02,0x00,0x7d,0x01]
870 0x00,0x40,0x2c,0xdc,0x02,0x00,0x7d,0x01
872 # GFX10: scratch_load_sshort v1, v2, off dlc     ; encoding: [0x00,0x50,0x2c,0xdc,0x02,0x00,0x7d,0x01]
873 0x00,0x50,0x2c,0xdc,0x02,0x00,0x7d,0x01
875 # GFX10: scratch_load_ubyte v1, v2, off          ; encoding: [0x00,0x40,0x20,0xdc,0x02,0x00,0x7d,0x01]
876 0x00,0x40,0x20,0xdc,0x02,0x00,0x7d,0x01
878 # GFX10: scratch_load_ubyte v1, v2, off dlc      ; encoding: [0x00,0x50,0x20,0xdc,0x02,0x00,0x7d,0x01]
879 0x00,0x50,0x20,0xdc,0x02,0x00,0x7d,0x01
881 # GFX10: scratch_load_ubyte_d16 v1, v2, off      ; encoding: [0x00,0x40,0x80,0xdc,0x02,0x00,0x7d,0x01]
882 0x00,0x40,0x80,0xdc,0x02,0x00,0x7d,0x01
884 # GFX10: scratch_load_ubyte_d16_hi v1, v2, off   ; encoding: [0x00,0x40,0x84,0xdc,0x02,0x00,0x7d,0x01]
885 0x00,0x40,0x84,0xdc,0x02,0x00,0x7d,0x01
887 # GFX10: scratch_load_ushort v1, v2, off         ; encoding: [0x00,0x40,0x28,0xdc,0x02,0x00,0x7d,0x01]
888 0x00,0x40,0x28,0xdc,0x02,0x00,0x7d,0x01
890 # GFX10: scratch_load_ushort v1, v2, off dlc     ; encoding: [0x00,0x50,0x28,0xdc,0x02,0x00,0x7d,0x01]
891 0x00,0x50,0x28,0xdc,0x02,0x00,0x7d,0x01
893 # GFX10: scratch_store_byte v1, v2, off          ; encoding: [0x00,0x40,0x60,0xdc,0x01,0x02,0x7d,0x00]
894 0x00,0x40,0x60,0xdc,0x01,0x02,0x7d,0x00
896 # GFX10: scratch_store_byte v1, v2, off dlc      ; encoding: [0x00,0x50,0x60,0xdc,0x01,0x02,0x7d,0x00]
897 0x00,0x50,0x60,0xdc,0x01,0x02,0x7d,0x00
899 # GFX10: scratch_store_byte_d16_hi off, v2, s1   ; encoding: [0x00,0x40,0x64,0xdc,0x00,0x02,0x01,0x00]
900 0x00,0x40,0x64,0xdc,0x00,0x02,0x01,0x00
902 # GFX10: scratch_store_dword off, v2, exec_lo    ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x7e,0x00]
903 0x00,0x40,0x70,0xdc,0x00,0x02,0x7e,0x00
905 # GFX10: scratch_store_dword off, v2, m0         ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x7c,0x00]
906 0x00,0x40,0x70,0xdc,0x00,0x02,0x7c,0x00
908 # GFX10: scratch_store_dword off, v2, s1         ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x01,0x00]
909 0x00,0x40,0x70,0xdc,0x00,0x02,0x01,0x00
911 # GFX10: scratch_store_dword off, v2, s1 offset:12 ; encoding: [0x0c,0x40,0x70,0xdc,0x00,0x02,0x01,0x00]
912 0x0c,0x40,0x70,0xdc,0x00,0x02,0x01,0x00
914 # GFX10: scratch_store_dword v1, v2, off         ; encoding: [0x00,0x40,0x70,0xdc,0x01,0x02,0x7d,0x00]
915 0x00,0x40,0x70,0xdc,0x01,0x02,0x7d,0x00
917 # GFX10: scratch_store_dword v1, v2, off dlc     ; encoding: [0x00,0x50,0x70,0xdc,0x01,0x02,0x7d,0x00]
918 0x00,0x50,0x70,0xdc,0x01,0x02,0x7d,0x00
920 # GFX10: scratch_store_dword v1, v2, off offset:12 ; encoding: [0x0c,0x40,0x70,0xdc,0x01,0x02,0x7d,0x00]
921 0x0c,0x40,0x70,0xdc,0x01,0x02,0x7d,0x00
923 # GFX10: scratch_store_dwordx2 v1, v[2:3], off   ; encoding: [0x00,0x40,0x74,0xdc,0x01,0x02,0x7d,0x00]
924 0x00,0x40,0x74,0xdc,0x01,0x02,0x7d,0x00
926 # GFX10: scratch_store_dwordx2 v1, v[2:3], off dlc ; encoding: [0x00,0x50,0x74,0xdc,0x01,0x02,0x7d,0x00]
927 0x00,0x50,0x74,0xdc,0x01,0x02,0x7d,0x00
929 # GFX10: scratch_store_dwordx3 v1, v[2:4], off   ; encoding: [0x00,0x40,0x7c,0xdc,0x01,0x02,0x7d,0x00]
930 0x00,0x40,0x7c,0xdc,0x01,0x02,0x7d,0x00
932 # GFX10: scratch_store_dwordx3 v1, v[2:4], off dlc ; encoding: [0x00,0x50,0x7c,0xdc,0x01,0x02,0x7d,0x00]
933 0x00,0x50,0x7c,0xdc,0x01,0x02,0x7d,0x00
935 # GFX10: scratch_store_dwordx4 v1, v[2:5], off   ; encoding: [0x00,0x40,0x78,0xdc,0x01,0x02,0x7d,0x00]
936 0x00,0x40,0x78,0xdc,0x01,0x02,0x7d,0x00
938 # GFX10: scratch_store_dwordx4 v1, v[2:5], off dlc ; encoding: [0x00,0x50,0x78,0xdc,0x01,0x02,0x7d,0x00]
939 0x00,0x50,0x78,0xdc,0x01,0x02,0x7d,0x00
941 # GFX10: scratch_store_short v1, v2, off         ; encoding: [0x00,0x40,0x68,0xdc,0x01,0x02,0x7d,0x00]
942 0x00,0x40,0x68,0xdc,0x01,0x02,0x7d,0x00
944 # GFX10: scratch_store_short v1, v2, off dlc     ; encoding: [0x00,0x50,0x68,0xdc,0x01,0x02,0x7d,0x00]
945 0x00,0x50,0x68,0xdc,0x01,0x02,0x7d,0x00
947 # GFX10: scratch_store_short_d16_hi off, v2, s1  ; encoding: [0x00,0x40,0x6c,0xdc,0x00,0x02,0x01,0x00]
948 0x00,0x40,0x6c,0xdc,0x00,0x02,0x01,0x00
950 # GFX10: global_load_dword v2, s[4:5] offset:1024 lds ; encoding: [0x00,0xa4,0x30,0xdc,0x02,0x00,0x04,0x00]
951 0x00,0xa4,0x30,0xdc,0x02,0x00,0x04,0x00
953 # GFX10: global_load_dword v2, s[4:5] offset:1024 lds ; encoding: [0x00,0xa4,0x30,0xdc,0x02,0x00,0x04,0x00]
954 0x00,0xa4,0x30,0xdc,0x02,0x00,0x04,0x00
956 # GFX10: global_load_ubyte v2, s[4:5] offset:1024 lds ; encoding: [0x00,0xa4,0x20,0xdc,0x02,0x00,0x04,0x00]
957 0x00,0xa4,0x20,0xdc,0x02,0x00,0x04,0x00
959 # GFX10: global_load_sbyte v2, s[4:5] offset:1024 lds ; encoding: [0x00,0xa4,0x24,0xdc,0x02,0x00,0x04,0x00]
960 0x00,0xa4,0x24,0xdc,0x02,0x00,0x04,0x00
962 # GFX10: global_load_ushort v2, s[4:5] offset:1024 lds ; encoding: [0x00,0xa4,0x28,0xdc,0x02,0x00,0x04,0x00]
963 0x00,0xa4,0x28,0xdc,0x02,0x00,0x04,0x00
965 # GFX10: global_load_sshort v2, s[4:5] offset:1024 lds ; encoding: [0x00,0xa4,0x2c,0xdc,0x02,0x00,0x04,0x00]
966 0x00,0xa4,0x2c,0xdc,0x02,0x00,0x04,0x00
968 # GFX10: global_load_dword v[2:3], off offset:1024 lds ; encoding: [0x00,0xa4,0x30,0xdc,0x02,0x00,0x7d,0x00]
969 0x00,0xa4,0x30,0xdc,0x02,0x00,0x7d,0x00
971 # GFX10: global_load_ubyte v[2:3], off offset:1024 lds ; encoding: [0x00,0xa4,0x20,0xdc,0x02,0x00,0x7d,0x00]
972 0x00,0xa4,0x20,0xdc,0x02,0x00,0x7d,0x00
974 # GFX10: global_load_sbyte v[2:3], off offset:1024 lds ; encoding: [0x00,0xa4,0x24,0xdc,0x02,0x00,0x7d,0x00]
975 0x00,0xa4,0x24,0xdc,0x02,0x00,0x7d,0x00
977 # GFX10: global_load_ushort v[2:3], off offset:1024 lds ; encoding: [0x00,0xa4,0x28,0xdc,0x02,0x00,0x7d,0x00]
978 0x00,0xa4,0x28,0xdc,0x02,0x00,0x7d,0x00
980 # GFX10: global_load_sshort v[2:3], off offset:1024 lds ; encoding: [0x00,0xa4,0x2c,0xdc,0x02,0x00,0x7d,0x00]
981 0x00,0xa4,0x2c,0xdc,0x02,0x00,0x7d,0x00
983 # GFX10: scratch_load_dword v2, off offset:1024 lds ; encoding: [0x00,0x64,0x30,0xdc,0x02,0x00,0x7d,0x00]
984 0x00,0x64,0x30,0xdc,0x02,0x00,0x7d,0x00
986 # GFX10: scratch_load_ubyte v2, off offset:1024 lds ; encoding: [0x00,0x64,0x20,0xdc,0x02,0x00,0x7d,0x00]
987 0x00,0x64,0x20,0xdc,0x02,0x00,0x7d,0x00
989 # GFX10: scratch_load_sbyte v2, off offset:1024 lds ; encoding: [0x00,0x64,0x24,0xdc,0x02,0x00,0x7d,0x00]
990 0x00,0x64,0x24,0xdc,0x02,0x00,0x7d,0x00
992 # GFX10: scratch_load_ushort v2, off offset:1024 lds ; encoding: [0x00,0x64,0x28,0xdc,0x02,0x00,0x7d,0x00]
993 0x00,0x64,0x28,0xdc,0x02,0x00,0x7d,0x00
995 # GFX10: scratch_load_sshort v2, off offset:1024 lds ; encoding: [0x00,0x64,0x2c,0xdc,0x02,0x00,0x7d,0x00]
996 0x00,0x64,0x2c,0xdc,0x02,0x00,0x7d,0x00
998 # GFX10: scratch_load_dword off, s4 offset:1024 lds ; encoding: [0x00,0x64,0x30,0xdc,0x00,0x00,0x04,0x00]
999 0x00,0x64,0x30,0xdc,0x00,0x00,0x04,0x00
1001 # GFX10: scratch_load_ubyte off, s4 offset:1024 lds ; encoding: [0x00,0x64,0x20,0xdc,0x00,0x00,0x04,0x00]
1002 0x00,0x64,0x20,0xdc,0x00,0x00,0x04,0x00
1004 # GFX10: scratch_load_sbyte off, s4 offset:1024 lds ; encoding: [0x00,0x64,0x24,0xdc,0x00,0x00,0x04,0x00]
1005 0x00,0x64,0x24,0xdc,0x00,0x00,0x04,0x00
1007 # GFX10: scratch_load_ushort off, s4 offset:1024 lds ; encoding: [0x00,0x64,0x28,0xdc,0x00,0x00,0x04,0x00]
1008 0x00,0x64,0x28,0xdc,0x00,0x00,0x04,0x00
1010 # GFX10: scratch_load_sshort off, s4 offset:1024 lds ; encoding: [0x00,0x64,0x2c,0xdc,0x00,0x00,0x04,0x00]
1011 0x00,0x64,0x2c,0xdc,0x00,0x00,0x04,0x00