Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx11_asm_vop2_dpp8.s
blob29dd341873f55281bbddac82fbfc35f356e29a9c
1 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,-wavefrontsize64 -show-encoding %s | FileCheck --check-prefixes=GFX11,W32 %s
2 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=-wavefrontsize32,+wavefrontsize64 -show-encoding %s | FileCheck --check-prefixes=GFX11,W64 %s
3 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,-wavefrontsize64 %s 2>&1 | FileCheck --check-prefix=W32-ERR --implicit-check-not=error: %s
4 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=-wavefrontsize32,+wavefrontsize64 %s 2>&1 | FileCheck --check-prefix=W64-ERR --implicit-check-not=error: %s
6 v_add_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo dpp8:[7,6,5,4,3,2,1,0]
7 // W32: encoding: [0xe9,0x04,0x0a,0x40,0x01,0x77,0x39,0x05]
8 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
10 v_add_co_ci_u32 v5, vcc_lo, v1, v2, vcc_lo dpp8:[7,6,5,4,3,2,1,0] fi:1
11 // W32: encoding: [0xea,0x04,0x0a,0x40,0x01,0x77,0x39,0x05]
12 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
14 v_add_co_ci_u32 v255, vcc_lo, v255, v255, vcc_lo dpp8:[0,0,0,0,0,0,0,0] fi:0
15 // W32: encoding: [0xe9,0xfe,0xff,0x41,0xff,0x00,0x00,0x00]
16 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
18 v_add_co_ci_u32 v5, vcc, v1, v2, vcc dpp8:[7,6,5,4,3,2,1,0]
19 // W64: encoding: [0xe9,0x04,0x0a,0x40,0x01,0x77,0x39,0x05]
20 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
22 v_add_co_ci_u32 v5, vcc, v1, v2, vcc dpp8:[7,6,5,4,3,2,1,0] fi:1
23 // W64: encoding: [0xea,0x04,0x0a,0x40,0x01,0x77,0x39,0x05]
24 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
26 v_add_co_ci_u32 v255, vcc, v255, v255, vcc dpp8:[0,0,0,0,0,0,0,0] fi:0
27 // W64: encoding: [0xe9,0xfe,0xff,0x41,0xff,0x00,0x00,0x00]
28 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
30 v_add_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
31 // GFX11: encoding: [0xe9,0x04,0x0a,0x64,0x01,0x77,0x39,0x05]
33 v_add_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
34 // GFX11: encoding: [0xea,0x04,0x0a,0x64,0x01,0x77,0x39,0x05]
36 v_add_f16 v127, v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0
37 // GFX11: encoding: [0xe9,0xfe,0xfe,0x64,0x7f,0x00,0x00,0x00]
39 v_add_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
40 // GFX11: encoding: [0xe9,0x04,0x0a,0x06,0x01,0x77,0x39,0x05]
42 v_add_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
43 // GFX11: encoding: [0xea,0x04,0x0a,0x06,0x01,0x77,0x39,0x05]
45 v_add_f32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
46 // GFX11: encoding: [0xe9,0xfe,0xff,0x07,0xff,0x00,0x00,0x00]
48 v_add_nc_u32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
49 // GFX11: encoding: [0xe9,0x04,0x0a,0x4a,0x01,0x77,0x39,0x05]
51 v_add_nc_u32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
52 // GFX11: encoding: [0xea,0x04,0x0a,0x4a,0x01,0x77,0x39,0x05]
54 v_add_nc_u32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
55 // GFX11: encoding: [0xe9,0xfe,0xff,0x4b,0xff,0x00,0x00,0x00]
57 v_and_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
58 // GFX11: encoding: [0xe9,0x04,0x0a,0x36,0x01,0x77,0x39,0x05]
60 v_and_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
61 // GFX11: encoding: [0xea,0x04,0x0a,0x36,0x01,0x77,0x39,0x05]
63 v_and_b32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
64 // GFX11: encoding: [0xe9,0xfe,0xff,0x37,0xff,0x00,0x00,0x00]
66 v_ashrrev_i32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
67 // GFX11: encoding: [0xe9,0x04,0x0a,0x34,0x01,0x77,0x39,0x05]
69 v_ashrrev_i32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
70 // GFX11: encoding: [0xea,0x04,0x0a,0x34,0x01,0x77,0x39,0x05]
72 v_ashrrev_i32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
73 // GFX11: encoding: [0xe9,0xfe,0xff,0x35,0xff,0x00,0x00,0x00]
75 v_cndmask_b32 v5, v1, v2, vcc_lo dpp8:[7,6,5,4,3,2,1,0]
76 // W32: encoding: [0xe9,0x04,0x0a,0x02,0x01,0x77,0x39,0x05]
77 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
79 v_cndmask_b32 v5, v1, v2, vcc_lo dpp8:[7,6,5,4,3,2,1,0] fi:1
80 // W32: encoding: [0xea,0x04,0x0a,0x02,0x01,0x77,0x39,0x05]
81 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
83 v_cndmask_b32 v255, v255, v255, vcc_lo dpp8:[0,0,0,0,0,0,0,0] fi:0
84 // W32: encoding: [0xe9,0xfe,0xff,0x03,0xff,0x00,0x00,0x00]
85 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
87 v_cndmask_b32 v5, v1, v2, vcc dpp8:[7,6,5,4,3,2,1,0]
88 // W64: encoding: [0xe9,0x04,0x0a,0x02,0x01,0x77,0x39,0x05]
89 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
91 v_cndmask_b32 v5, v1, v2, vcc dpp8:[7,6,5,4,3,2,1,0] fi:1
92 // W64: encoding: [0xea,0x04,0x0a,0x02,0x01,0x77,0x39,0x05]
93 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
95 v_cndmask_b32 v255, v255, v255, vcc dpp8:[0,0,0,0,0,0,0,0] fi:0
96 // W64: encoding: [0xe9,0xfe,0xff,0x03,0xff,0x00,0x00,0x00]
97 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
99 v_cvt_pk_rtz_f16_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
100 // GFX11: encoding: [0xe9,0x04,0x0a,0x5e,0x01,0x77,0x39,0x05]
102 v_cvt_pk_rtz_f16_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
103 // GFX11: encoding: [0xea,0x04,0x0a,0x5e,0x01,0x77,0x39,0x05]
105 v_cvt_pk_rtz_f16_f32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
106 // GFX11: encoding: [0xe9,0xfe,0xff,0x5f,0xff,0x00,0x00,0x00]
108 v_cvt_pkrtz_f16_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
109 // GFX11: encoding: [0xe9,0x04,0x0a,0x5e,0x01,0x77,0x39,0x05]
111 v_cvt_pkrtz_f16_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
112 // GFX11: encoding: [0xea,0x04,0x0a,0x5e,0x01,0x77,0x39,0x05]
114 v_cvt_pkrtz_f16_f32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
115 // GFX11: encoding: [0xe9,0xfe,0xff,0x5f,0xff,0x00,0x00,0x00]
117 v_dot2acc_f32_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
118 // GFX11: encoding: [0xe9,0x04,0x0a,0x04,0x01,0x77,0x39,0x05]
120 v_dot2acc_f32_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
121 // GFX11: encoding: [0xea,0x04,0x0a,0x04,0x01,0x77,0x39,0x05]
123 v_dot2acc_f32_f16 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
124 // GFX11: encoding: [0xe9,0xfe,0xff,0x05,0xff,0x00,0x00,0x00]
126 v_dot2c_f32_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
127 // GFX11: encoding: [0xe9,0x04,0x0a,0x04,0x01,0x77,0x39,0x05]
129 v_dot2c_f32_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
130 // GFX11: encoding: [0xea,0x04,0x0a,0x04,0x01,0x77,0x39,0x05]
132 v_dot2c_f32_f16 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
133 // GFX11: encoding: [0xe9,0xfe,0xff,0x05,0xff,0x00,0x00,0x00]
135 v_fmac_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
136 // GFX11: encoding: [0xe9,0x04,0x0a,0x6c,0x01,0x77,0x39,0x05]
138 v_fmac_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
139 // GFX11: encoding: [0xea,0x04,0x0a,0x6c,0x01,0x77,0x39,0x05]
141 v_fmac_f16 v127, v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0
142 // GFX11: encoding: [0xe9,0xfe,0xfe,0x6c,0x7f,0x00,0x00,0x00]
144 v_fmac_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
145 // GFX11: encoding: [0xe9,0x04,0x0a,0x56,0x01,0x77,0x39,0x05]
147 v_fmac_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
148 // GFX11: encoding: [0xea,0x04,0x0a,0x56,0x01,0x77,0x39,0x05]
150 v_fmac_f32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
151 // GFX11: encoding: [0xe9,0xfe,0xff,0x57,0xff,0x00,0x00,0x00]
153 v_ldexp_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
154 // GFX11: encoding: [0xe9,0x04,0x0a,0x76,0x01,0x77,0x39,0x05]
156 v_ldexp_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
157 // GFX11: encoding: [0xea,0x04,0x0a,0x76,0x01,0x77,0x39,0x05]
159 v_ldexp_f16 v127, v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0
160 // GFX11: encoding: [0xe9,0xfe,0xfe,0x76,0x7f,0x00,0x00,0x00]
162 v_lshlrev_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
163 // GFX11: encoding: [0xe9,0x04,0x0a,0x30,0x01,0x77,0x39,0x05]
165 v_lshlrev_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
166 // GFX11: encoding: [0xea,0x04,0x0a,0x30,0x01,0x77,0x39,0x05]
168 v_lshlrev_b32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
169 // GFX11: encoding: [0xe9,0xfe,0xff,0x31,0xff,0x00,0x00,0x00]
171 v_lshrrev_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
172 // GFX11: encoding: [0xe9,0x04,0x0a,0x32,0x01,0x77,0x39,0x05]
174 v_lshrrev_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
175 // GFX11: encoding: [0xea,0x04,0x0a,0x32,0x01,0x77,0x39,0x05]
177 v_lshrrev_b32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
178 // GFX11: encoding: [0xe9,0xfe,0xff,0x33,0xff,0x00,0x00,0x00]
180 v_max_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
181 // GFX11: encoding: [0xe9,0x04,0x0a,0x72,0x01,0x77,0x39,0x05]
183 v_max_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
184 // GFX11: encoding: [0xea,0x04,0x0a,0x72,0x01,0x77,0x39,0x05]
186 v_max_f16 v127, v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0
187 // GFX11: encoding: [0xe9,0xfe,0xfe,0x72,0x7f,0x00,0x00,0x00]
189 v_max_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
190 // GFX11: encoding: [0xe9,0x04,0x0a,0x20,0x01,0x77,0x39,0x05]
192 v_max_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
193 // GFX11: encoding: [0xea,0x04,0x0a,0x20,0x01,0x77,0x39,0x05]
195 v_max_f32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
196 // GFX11: encoding: [0xe9,0xfe,0xff,0x21,0xff,0x00,0x00,0x00]
198 v_max_i32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
199 // GFX11: encoding: [0xe9,0x04,0x0a,0x24,0x01,0x77,0x39,0x05]
201 v_max_i32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
202 // GFX11: encoding: [0xea,0x04,0x0a,0x24,0x01,0x77,0x39,0x05]
204 v_max_i32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
205 // GFX11: encoding: [0xe9,0xfe,0xff,0x25,0xff,0x00,0x00,0x00]
207 v_max_u32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
208 // GFX11: encoding: [0xe9,0x04,0x0a,0x28,0x01,0x77,0x39,0x05]
210 v_max_u32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
211 // GFX11: encoding: [0xea,0x04,0x0a,0x28,0x01,0x77,0x39,0x05]
213 v_max_u32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
214 // GFX11: encoding: [0xe9,0xfe,0xff,0x29,0xff,0x00,0x00,0x00]
216 v_min_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
217 // GFX11: encoding: [0xe9,0x04,0x0a,0x74,0x01,0x77,0x39,0x05]
219 v_min_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
220 // GFX11: encoding: [0xea,0x04,0x0a,0x74,0x01,0x77,0x39,0x05]
222 v_min_f16 v127, v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0
223 // GFX11: encoding: [0xe9,0xfe,0xfe,0x74,0x7f,0x00,0x00,0x00]
225 v_min_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
226 // GFX11: encoding: [0xe9,0x04,0x0a,0x1e,0x01,0x77,0x39,0x05]
228 v_min_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
229 // GFX11: encoding: [0xea,0x04,0x0a,0x1e,0x01,0x77,0x39,0x05]
231 v_min_f32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
232 // GFX11: encoding: [0xe9,0xfe,0xff,0x1f,0xff,0x00,0x00,0x00]
234 v_min_i32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
235 // GFX11: encoding: [0xe9,0x04,0x0a,0x22,0x01,0x77,0x39,0x05]
237 v_min_i32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
238 // GFX11: encoding: [0xea,0x04,0x0a,0x22,0x01,0x77,0x39,0x05]
240 v_min_i32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
241 // GFX11: encoding: [0xe9,0xfe,0xff,0x23,0xff,0x00,0x00,0x00]
243 v_min_u32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
244 // GFX11: encoding: [0xe9,0x04,0x0a,0x26,0x01,0x77,0x39,0x05]
246 v_min_u32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
247 // GFX11: encoding: [0xea,0x04,0x0a,0x26,0x01,0x77,0x39,0x05]
249 v_min_u32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
250 // GFX11: encoding: [0xe9,0xfe,0xff,0x27,0xff,0x00,0x00,0x00]
252 v_mul_dx9_zero_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
253 // GFX11: encoding: [0xe9,0x04,0x0a,0x0e,0x01,0x77,0x39,0x05]
255 v_mul_dx9_zero_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
256 // GFX11: encoding: [0xea,0x04,0x0a,0x0e,0x01,0x77,0x39,0x05]
258 v_mul_dx9_zero_f32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
259 // GFX11: encoding: [0xe9,0xfe,0xff,0x0f,0xff,0x00,0x00,0x00]
261 v_mul_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
262 // GFX11: encoding: [0xe9,0x04,0x0a,0x6a,0x01,0x77,0x39,0x05]
264 v_mul_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
265 // GFX11: encoding: [0xea,0x04,0x0a,0x6a,0x01,0x77,0x39,0x05]
267 v_mul_f16 v127, v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0
268 // GFX11: encoding: [0xe9,0xfe,0xfe,0x6a,0x7f,0x00,0x00,0x00]
270 v_mul_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
271 // GFX11: encoding: [0xe9,0x04,0x0a,0x10,0x01,0x77,0x39,0x05]
273 v_mul_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
274 // GFX11: encoding: [0xea,0x04,0x0a,0x10,0x01,0x77,0x39,0x05]
276 v_mul_f32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
277 // GFX11: encoding: [0xe9,0xfe,0xff,0x11,0xff,0x00,0x00,0x00]
279 v_mul_hi_i32_i24 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
280 // GFX11: encoding: [0xe9,0x04,0x0a,0x14,0x01,0x77,0x39,0x05]
282 v_mul_hi_i32_i24 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
283 // GFX11: encoding: [0xea,0x04,0x0a,0x14,0x01,0x77,0x39,0x05]
285 v_mul_hi_i32_i24 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
286 // GFX11: encoding: [0xe9,0xfe,0xff,0x15,0xff,0x00,0x00,0x00]
288 v_mul_hi_u32_u24 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
289 // GFX11: encoding: [0xe9,0x04,0x0a,0x18,0x01,0x77,0x39,0x05]
291 v_mul_hi_u32_u24 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
292 // GFX11: encoding: [0xea,0x04,0x0a,0x18,0x01,0x77,0x39,0x05]
294 v_mul_hi_u32_u24 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
295 // GFX11: encoding: [0xe9,0xfe,0xff,0x19,0xff,0x00,0x00,0x00]
297 v_mul_i32_i24 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
298 // GFX11: encoding: [0xe9,0x04,0x0a,0x12,0x01,0x77,0x39,0x05]
300 v_mul_i32_i24 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
301 // GFX11: encoding: [0xea,0x04,0x0a,0x12,0x01,0x77,0x39,0x05]
303 v_mul_i32_i24 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
304 // GFX11: encoding: [0xe9,0xfe,0xff,0x13,0xff,0x00,0x00,0x00]
306 v_mul_legacy_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
307 // GFX11: encoding: [0xe9,0x04,0x0a,0x0e,0x01,0x77,0x39,0x05]
309 v_mul_legacy_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
310 // GFX11: encoding: [0xea,0x04,0x0a,0x0e,0x01,0x77,0x39,0x05]
312 v_mul_legacy_f32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
313 // GFX11: encoding: [0xe9,0xfe,0xff,0x0f,0xff,0x00,0x00,0x00]
315 v_mul_u32_u24 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
316 // GFX11: encoding: [0xe9,0x04,0x0a,0x16,0x01,0x77,0x39,0x05]
318 v_mul_u32_u24 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
319 // GFX11: encoding: [0xea,0x04,0x0a,0x16,0x01,0x77,0x39,0x05]
321 v_mul_u32_u24 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
322 // GFX11: encoding: [0xe9,0xfe,0xff,0x17,0xff,0x00,0x00,0x00]
324 v_or_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
325 // GFX11: encoding: [0xe9,0x04,0x0a,0x38,0x01,0x77,0x39,0x05]
327 v_or_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
328 // GFX11: encoding: [0xea,0x04,0x0a,0x38,0x01,0x77,0x39,0x05]
330 v_or_b32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
331 // GFX11: encoding: [0xe9,0xfe,0xff,0x39,0xff,0x00,0x00,0x00]
333 v_sub_co_ci_u32 v5, vcc_lo, v1, v2, vcc_lo dpp8:[7,6,5,4,3,2,1,0]
334 // W32: encoding: [0xe9,0x04,0x0a,0x42,0x01,0x77,0x39,0x05]
335 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
337 v_sub_co_ci_u32 v5, vcc_lo, v1, v2, vcc_lo dpp8:[7,6,5,4,3,2,1,0] fi:1
338 // W32: encoding: [0xea,0x04,0x0a,0x42,0x01,0x77,0x39,0x05]
339 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
341 v_sub_co_ci_u32 v255, vcc_lo, v255, v255, vcc_lo dpp8:[0,0,0,0,0,0,0,0] fi:0
342 // W32: encoding: [0xe9,0xfe,0xff,0x43,0xff,0x00,0x00,0x00]
343 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
345 v_sub_co_ci_u32 v5, vcc, v1, v2, vcc dpp8:[7,6,5,4,3,2,1,0]
346 // W64: encoding: [0xe9,0x04,0x0a,0x42,0x01,0x77,0x39,0x05]
347 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
349 v_sub_co_ci_u32 v5, vcc, v1, v2, vcc dpp8:[7,6,5,4,3,2,1,0] fi:1
350 // W64: encoding: [0xea,0x04,0x0a,0x42,0x01,0x77,0x39,0x05]
351 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
353 v_sub_co_ci_u32 v255, vcc, v255, v255, vcc dpp8:[0,0,0,0,0,0,0,0] fi:0
354 // W64: encoding: [0xe9,0xfe,0xff,0x43,0xff,0x00,0x00,0x00]
355 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
357 v_sub_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
358 // GFX11: encoding: [0xe9,0x04,0x0a,0x66,0x01,0x77,0x39,0x05]
360 v_sub_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
361 // GFX11: encoding: [0xea,0x04,0x0a,0x66,0x01,0x77,0x39,0x05]
363 v_sub_f16 v127, v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0
364 // GFX11: encoding: [0xe9,0xfe,0xfe,0x66,0x7f,0x00,0x00,0x00]
366 v_sub_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
367 // GFX11: encoding: [0xe9,0x04,0x0a,0x08,0x01,0x77,0x39,0x05]
369 v_sub_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
370 // GFX11: encoding: [0xea,0x04,0x0a,0x08,0x01,0x77,0x39,0x05]
372 v_sub_f32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
373 // GFX11: encoding: [0xe9,0xfe,0xff,0x09,0xff,0x00,0x00,0x00]
375 v_sub_nc_u32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
376 // GFX11: encoding: [0xe9,0x04,0x0a,0x4c,0x01,0x77,0x39,0x05]
378 v_sub_nc_u32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
379 // GFX11: encoding: [0xea,0x04,0x0a,0x4c,0x01,0x77,0x39,0x05]
381 v_sub_nc_u32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
382 // GFX11: encoding: [0xe9,0xfe,0xff,0x4d,0xff,0x00,0x00,0x00]
384 v_subrev_co_ci_u32 v5, vcc_lo, v1, v2, vcc_lo dpp8:[7,6,5,4,3,2,1,0]
385 // W32: encoding: [0xe9,0x04,0x0a,0x44,0x01,0x77,0x39,0x05]
386 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
388 v_subrev_co_ci_u32 v5, vcc_lo, v1, v2, vcc_lo dpp8:[7,6,5,4,3,2,1,0] fi:1
389 // W32: encoding: [0xea,0x04,0x0a,0x44,0x01,0x77,0x39,0x05]
390 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
392 v_subrev_co_ci_u32 v255, vcc_lo, v255, v255, vcc_lo dpp8:[0,0,0,0,0,0,0,0] fi:0
393 // W32: encoding: [0xe9,0xfe,0xff,0x45,0xff,0x00,0x00,0x00]
394 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
396 v_subrev_co_ci_u32 v5, vcc, v1, v2, vcc dpp8:[7,6,5,4,3,2,1,0]
397 // W64: encoding: [0xe9,0x04,0x0a,0x44,0x01,0x77,0x39,0x05]
398 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
400 v_subrev_co_ci_u32 v5, vcc, v1, v2, vcc dpp8:[7,6,5,4,3,2,1,0] fi:1
401 // W64: encoding: [0xea,0x04,0x0a,0x44,0x01,0x77,0x39,0x05]
402 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
404 v_subrev_co_ci_u32 v255, vcc, v255, v255, vcc dpp8:[0,0,0,0,0,0,0,0] fi:0
405 // W64: encoding: [0xe9,0xfe,0xff,0x45,0xff,0x00,0x00,0x00]
406 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
408 v_subrev_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
409 // GFX11: encoding: [0xe9,0x04,0x0a,0x68,0x01,0x77,0x39,0x05]
411 v_subrev_f16 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
412 // GFX11: encoding: [0xea,0x04,0x0a,0x68,0x01,0x77,0x39,0x05]
414 v_subrev_f16 v127, v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0
415 // GFX11: encoding: [0xe9,0xfe,0xfe,0x68,0x7f,0x00,0x00,0x00]
417 v_subrev_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
418 // GFX11: encoding: [0xe9,0x04,0x0a,0x0a,0x01,0x77,0x39,0x05]
420 v_subrev_f32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
421 // GFX11: encoding: [0xea,0x04,0x0a,0x0a,0x01,0x77,0x39,0x05]
423 v_subrev_f32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
424 // GFX11: encoding: [0xe9,0xfe,0xff,0x0b,0xff,0x00,0x00,0x00]
426 v_subrev_nc_u32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
427 // GFX11: encoding: [0xe9,0x04,0x0a,0x4e,0x01,0x77,0x39,0x05]
429 v_subrev_nc_u32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
430 // GFX11: encoding: [0xea,0x04,0x0a,0x4e,0x01,0x77,0x39,0x05]
432 v_subrev_nc_u32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
433 // GFX11: encoding: [0xe9,0xfe,0xff,0x4f,0xff,0x00,0x00,0x00]
435 v_xnor_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
436 // GFX11: encoding: [0xe9,0x04,0x0a,0x3c,0x01,0x77,0x39,0x05]
438 v_xnor_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
439 // GFX11: encoding: [0xea,0x04,0x0a,0x3c,0x01,0x77,0x39,0x05]
441 v_xnor_b32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
442 // GFX11: encoding: [0xe9,0xfe,0xff,0x3d,0xff,0x00,0x00,0x00]
444 v_xor_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
445 // GFX11: encoding: [0xe9,0x04,0x0a,0x3a,0x01,0x77,0x39,0x05]
447 v_xor_b32 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
448 // GFX11: encoding: [0xea,0x04,0x0a,0x3a,0x01,0x77,0x39,0x05]
450 v_xor_b32 v255, v255, v255 dpp8:[0,0,0,0,0,0,0,0] fi:0
451 // GFX11: encoding: [0xe9,0xfe,0xff,0x3b,0xff,0x00,0x00,0x00]