xref: /llvm-project/llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop2.s (revision c3241a9a4de3ef71a82f9434f84fa7437fe43f9a)
1// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --version 5
2// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32,+real-true16 -show-encoding %s | FileCheck --check-prefixes=GFX12,W32 %s
3// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize64,+real-true16 -show-encoding %s | FileCheck --check-prefixes=GFX12,W64 %s
4// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32,+real-true16 -filetype=null %s 2>&1 | FileCheck --check-prefix=W32-ERR --implicit-check-not=error: %s
5// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize64,+real-true16 -filetype=null %s 2>&1 | FileCheck --check-prefix=W64-ERR --implicit-check-not=error: %s
6
7v_add_co_ci_u32_e64 v5, s6, v1, 0xaf123456, s3
8// W32: v_add_co_ci_u32_e64 v5, s6, v1, 0xaf123456, s3 ; encoding: [0x05,0x06,0x20,0xd5,0x01,0xff,0x0d,0x00,0x56,0x34,0x12,0xaf]
9// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
10
11v_add_co_ci_u32_e64 v5, s6, v255, src_scc, s3
12// W32: v_add_co_ci_u32_e64 v5, s6, v255, src_scc, s3 ; encoding: [0x05,0x06,0x20,0xd5,0xff,0xfb,0x0d,0x00]
13// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
14
15v_add_co_ci_u32_e64 v5, s6, s105, s105, s3
16// W32: v_add_co_ci_u32_e64 v5, s6, s105, s105, s3 ; encoding: [0x05,0x06,0x20,0xd5,0x69,0xd2,0x0c,0x00]
17// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
18
19v_add_co_ci_u32_e64 v5, s6, vcc_lo, v2, s3
20// W32: v_add_co_ci_u32_e64 v5, s6, vcc_lo, v2, s3 ; encoding: [0x05,0x06,0x20,0xd5,0x6a,0x04,0x0e,0x00]
21// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
22
23v_add_co_ci_u32_e64 v5, s6, vcc_hi, v255, s3
24// W32: v_add_co_ci_u32_e64 v5, s6, vcc_hi, v255, s3 ; encoding: [0x05,0x06,0x20,0xd5,0x6b,0xfe,0x0f,0x00]
25// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
26
27v_add_co_ci_u32_e64 v5, s6, ttmp15, ttmp15, s3
28// W32: v_add_co_ci_u32_e64 v5, s6, ttmp15, ttmp15, s3 ; encoding: [0x05,0x06,0x20,0xd5,0x7b,0xf6,0x0c,0x00]
29// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
30
31v_add_co_ci_u32_e64 v5, s6, m0, 0.5, s3
32// W32: v_add_co_ci_u32_e64 v5, s6, m0, 0.5, s3 ; encoding: [0x05,0x06,0x20,0xd5,0x7d,0xe0,0x0d,0x00]
33// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
34
35v_add_co_ci_u32_e64 v5, s6, exec_lo, exec_lo, s3
36// W32: v_add_co_ci_u32_e64 v5, s6, exec_lo, exec_lo, s3 ; encoding: [0x05,0x06,0x20,0xd5,0x7e,0xfc,0x0c,0x00]
37// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
38
39v_add_co_ci_u32_e64 v5, s6, exec_hi, -1, s3
40// W32: v_add_co_ci_u32_e64 v5, s6, exec_hi, -1, s3 ; encoding: [0x05,0x06,0x20,0xd5,0x7f,0x82,0x0d,0x00]
41// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
42
43v_add_co_ci_u32_e64 v5, s105, null, exec_hi, s105
44// W32: v_add_co_ci_u32_e64 v5, s105, null, exec_hi, s105 ; encoding: [0x05,0x69,0x20,0xd5,0x7c,0xfe,0xa4,0x01]
45// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
46
47v_add_co_ci_u32_e64 v5, vcc_lo, -1, m0, vcc_lo
48// W32: v_add_co_ci_u32_e64 v5, vcc_lo, -1, m0, vcc_lo ; encoding: [0x05,0x6a,0x20,0xd5,0xc1,0xfa,0xa8,0x01]
49// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
50
51v_add_co_ci_u32_e64 v5, vcc_hi, 0.5, vcc_lo, vcc_hi
52// W32: v_add_co_ci_u32_e64 v5, vcc_hi, 0.5, vcc_lo, vcc_hi ; encoding: [0x05,0x6b,0x20,0xd5,0xf0,0xd4,0xac,0x01]
53// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
54
55v_add_co_ci_u32_e64 v5, ttmp15, src_scc, null, ttmp15
56// W32: v_add_co_ci_u32_e64 v5, ttmp15, src_scc, null, ttmp15 ; encoding: [0x05,0x7b,0x20,0xd5,0xfd,0xf8,0xec,0x01]
57// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
58
59v_add_co_ci_u32_e64 v5, s[12:13], v1, 0xaf123456, s[6:7]
60// W64: v_add_co_ci_u32_e64 v5, s[12:13], v1, 0xaf123456, s[6:7] ; encoding: [0x05,0x0c,0x20,0xd5,0x01,0xff,0x19,0x00,0x56,0x34,0x12,0xaf]
61// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
62
63v_add_co_ci_u32_e64 v5, s[12:13], v255, src_scc, s[6:7]
64// W64: v_add_co_ci_u32_e64 v5, s[12:13], v255, src_scc, s[6:7] ; encoding: [0x05,0x0c,0x20,0xd5,0xff,0xfb,0x19,0x00]
65// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
66
67v_add_co_ci_u32_e64 v5, s[12:13], s105, s105, s[6:7]
68// W64: v_add_co_ci_u32_e64 v5, s[12:13], s105, s105, s[6:7] ; encoding: [0x05,0x0c,0x20,0xd5,0x69,0xd2,0x18,0x00]
69// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
70
71v_add_co_ci_u32_e64 v5, s[12:13], vcc_lo, v2, s[6:7]
72// W64: v_add_co_ci_u32_e64 v5, s[12:13], vcc_lo, v2, s[6:7] ; encoding: [0x05,0x0c,0x20,0xd5,0x6a,0x04,0x1a,0x00]
73// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
74
75v_add_co_ci_u32_e64 v5, s[12:13], vcc_hi, v255, s[6:7]
76// W64: v_add_co_ci_u32_e64 v5, s[12:13], vcc_hi, v255, s[6:7] ; encoding: [0x05,0x0c,0x20,0xd5,0x6b,0xfe,0x1b,0x00]
77// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
78
79v_add_co_ci_u32_e64 v5, s[12:13], ttmp15, ttmp15, s[6:7]
80// W64: v_add_co_ci_u32_e64 v5, s[12:13], ttmp15, ttmp15, s[6:7] ; encoding: [0x05,0x0c,0x20,0xd5,0x7b,0xf6,0x18,0x00]
81// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
82
83v_add_co_ci_u32_e64 v5, s[12:13], m0, 0.5, s[6:7]
84// W64: v_add_co_ci_u32_e64 v5, s[12:13], m0, 0.5, s[6:7] ; encoding: [0x05,0x0c,0x20,0xd5,0x7d,0xe0,0x19,0x00]
85// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
86
87v_add_co_ci_u32_e64 v5, s[12:13], exec_lo, exec_lo, s[6:7]
88// W64: v_add_co_ci_u32_e64 v5, s[12:13], exec_lo, exec_lo, s[6:7] ; encoding: [0x05,0x0c,0x20,0xd5,0x7e,0xfc,0x18,0x00]
89// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
90
91v_add_co_ci_u32_e64 v5, s[12:13], exec_hi, -1, s[6:7]
92// W64: v_add_co_ci_u32_e64 v5, s[12:13], exec_hi, -1, s[6:7] ; encoding: [0x05,0x0c,0x20,0xd5,0x7f,0x82,0x19,0x00]
93// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
94
95v_add_co_ci_u32_e64 v5, s[12:13], null, exec_hi, s[6:7]
96// W64: v_add_co_ci_u32_e64 v5, s[12:13], null, exec_hi, s[6:7] ; encoding: [0x05,0x0c,0x20,0xd5,0x7c,0xfe,0x18,0x00]
97// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
98
99v_add_co_ci_u32_e64 v5, s[104:105], -1, m0, s[104:105]
100// W64: v_add_co_ci_u32_e64 v5, s[104:105], -1, m0, s[104:105] ; encoding: [0x05,0x68,0x20,0xd5,0xc1,0xfa,0xa0,0x01]
101// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
102
103v_add_co_ci_u32_e64 v5, vcc, 0.5, vcc_lo, vcc
104// W64: v_add_co_ci_u32_e64 v5, vcc, 0.5, vcc_lo, vcc ; encoding: [0x05,0x6a,0x20,0xd5,0xf0,0xd4,0xa8,0x01]
105// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
106
107v_add_co_ci_u32_e64 v5, ttmp[14:15], src_scc, null, ttmp[14:15]
108// W64: v_add_co_ci_u32_e64 v5, ttmp[14:15], src_scc, null, ttmp[14:15] ; encoding: [0x05,0x7a,0x20,0xd5,0xfd,0xf8,0xe8,0x01]
109// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
110
111v_add_co_ci_u32_e64 v255, null, 0xaf123456, vcc_hi, null clamp
112// GFX12: v_add_co_ci_u32_e64 v255, null, 0xaf123456, vcc_hi, null clamp ; encoding: [0xff,0xfc,0x20,0xd5,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
113
114v_add_f16_e64 v5.l, v1.l, v2.l
115// GFX12: v_add_f16_e64 v5.l, v1.l, v2.l          ; encoding: [0x05,0x00,0x32,0xd5,0x01,0x05,0x02,0x00]
116
117v_add_f16_e64 v5.l, v255.l, v255.l
118// GFX12: v_add_f16_e64 v5.l, v255.l, v255.l      ; encoding: [0x05,0x00,0x32,0xd5,0xff,0xff,0x03,0x00]
119
120v_add_f16_e64 v5.l, s1, s2
121// GFX12: v_add_f16_e64 v5.l, s1, s2              ; encoding: [0x05,0x00,0x32,0xd5,0x01,0x04,0x00,0x00]
122
123v_add_f16_e64 v5.l, s105, s105
124// GFX12: v_add_f16_e64 v5.l, s105, s105          ; encoding: [0x05,0x00,0x32,0xd5,0x69,0xd2,0x00,0x00]
125
126v_add_f16_e64 v5.l, vcc_lo, ttmp15
127// GFX12: v_add_f16_e64 v5.l, vcc_lo, ttmp15      ; encoding: [0x05,0x00,0x32,0xd5,0x6a,0xf6,0x00,0x00]
128
129v_add_f16_e64 v5.l, vcc_hi, 0xfe0b
130// GFX12: v_add_f16_e64 v5.l, vcc_hi, 0xfe0b      ; encoding: [0x05,0x00,0x32,0xd5,0x6b,0xfe,0x01,0x00,0x0b,0xfe,0x00,0x00]
131
132v_add_f16_e64 v5.l, ttmp15, src_scc
133// GFX12: v_add_f16_e64 v5.l, ttmp15, src_scc     ; encoding: [0x05,0x00,0x32,0xd5,0x7b,0xfa,0x01,0x00]
134
135v_add_f16_e64 v5.l, m0, 0.5
136// GFX12: v_add_f16_e64 v5.l, m0, 0.5             ; encoding: [0x05,0x00,0x32,0xd5,0x7d,0xe0,0x01,0x00]
137
138v_add_f16_e64 v5.l, exec_lo, -1
139// GFX12: v_add_f16_e64 v5.l, exec_lo, -1         ; encoding: [0x05,0x00,0x32,0xd5,0x7e,0x82,0x01,0x00]
140
141v_add_f16_e64 v5.l, |exec_hi|, null
142// GFX12: v_add_f16_e64 v5.l, |exec_hi|, null     ; encoding: [0x05,0x01,0x32,0xd5,0x7f,0xf8,0x00,0x00]
143
144v_add_f16_e64 v5.l, null, exec_lo
145// GFX12: v_add_f16_e64 v5.l, null, exec_lo       ; encoding: [0x05,0x00,0x32,0xd5,0x7c,0xfc,0x00,0x00]
146
147v_add_f16_e64 v5.l, -1, exec_hi
148// GFX12: v_add_f16_e64 v5.l, -1, exec_hi         ; encoding: [0x05,0x00,0x32,0xd5,0xc1,0xfe,0x00,0x00]
149
150v_add_f16_e64 v5.l, 0.5, -m0 mul:2
151// GFX12: v_add_f16_e64 v5.l, 0.5, -m0 mul:2      ; encoding: [0x05,0x00,0x32,0xd5,0xf0,0xfa,0x00,0x48]
152
153v_add_f16_e64 v5.l, -src_scc, |vcc_lo| mul:4
154// GFX12: v_add_f16_e64 v5.l, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x32,0xd5,0xfd,0xd4,0x00,0x30]
155
156v_add_f16_e64 v255.l, -|0xfe0b|, -|vcc_hi| clamp div:2
157// GFX12: v_add_f16_e64 v255.l, -|0xfe0b|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x32,0xd5,0xff,0xd6,0x00,0x78,0x0b,0xfe,0x00,0x00]
158
159v_add_f16_e64 v5.l, v1.h, v2.l
160// GFX12: v_add_f16_e64 v5.l, v1.h, v2.l op_sel:[1,0,0] ; encoding: [0x05,0x08,0x32,0xd5,0x01,0x05,0x02,0x00]
161
162v_add_f16_e64 v5.l, v255.l, v255.h
163// GFX12: v_add_f16_e64 v5.l, v255.l, v255.h op_sel:[0,1,0] ; encoding: [0x05,0x10,0x32,0xd5,0xff,0xff,0x03,0x00]
164
165v_add_f16_e64 v255.h, -|0xfe0b|, -|vcc_hi| clamp div:2
166// GFX12: v_add_f16_e64 v255.h, -|0xfe0b|, -|vcc_hi| op_sel:[0,0,1] clamp div:2 ; encoding: [0xff,0xc3,0x32,0xd5,0xff,0xd6,0x00,0x78,0x0b,0xfe,0x00,0x00]
167
168v_add_f32_e64 v5, v1, v2
169// GFX12: v_add_f32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x00]
170
171v_add_f32_e64 v5, v255, v255
172// GFX12: v_add_f32_e64 v5, v255, v255            ; encoding: [0x05,0x00,0x03,0xd5,0xff,0xff,0x03,0x00]
173
174v_add_f32_e64 v5, s1, s2
175// GFX12: v_add_f32_e64 v5, s1, s2                ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x04,0x00,0x00]
176
177v_add_f32_e64 v5, s105, s105
178// GFX12: v_add_f32_e64 v5, s105, s105            ; encoding: [0x05,0x00,0x03,0xd5,0x69,0xd2,0x00,0x00]
179
180v_add_f32_e64 v5, vcc_lo, ttmp15
181// GFX12: v_add_f32_e64 v5, vcc_lo, ttmp15        ; encoding: [0x05,0x00,0x03,0xd5,0x6a,0xf6,0x00,0x00]
182
183v_add_f32_e64 v5, vcc_hi, 0xaf123456
184// GFX12: v_add_f32_e64 v5, vcc_hi, 0xaf123456    ; encoding: [0x05,0x00,0x03,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
185
186v_add_f32_e64 v5, ttmp15, src_scc
187// GFX12: v_add_f32_e64 v5, ttmp15, src_scc       ; encoding: [0x05,0x00,0x03,0xd5,0x7b,0xfa,0x01,0x00]
188
189v_add_f32_e64 v5, m0, 0.5
190// GFX12: v_add_f32_e64 v5, m0, 0.5               ; encoding: [0x05,0x00,0x03,0xd5,0x7d,0xe0,0x01,0x00]
191
192v_add_f32_e64 v5, exec_lo, -1
193// GFX12: v_add_f32_e64 v5, exec_lo, -1           ; encoding: [0x05,0x00,0x03,0xd5,0x7e,0x82,0x01,0x00]
194
195v_add_f32_e64 v5, |exec_hi|, null
196// GFX12: v_add_f32_e64 v5, |exec_hi|, null       ; encoding: [0x05,0x01,0x03,0xd5,0x7f,0xf8,0x00,0x00]
197
198v_add_f32_e64 v5, null, exec_lo
199// GFX12: v_add_f32_e64 v5, null, exec_lo         ; encoding: [0x05,0x00,0x03,0xd5,0x7c,0xfc,0x00,0x00]
200
201v_add_f32_e64 v5, -1, exec_hi
202// GFX12: v_add_f32_e64 v5, -1, exec_hi           ; encoding: [0x05,0x00,0x03,0xd5,0xc1,0xfe,0x00,0x00]
203
204v_add_f32_e64 v5, 0.5, -m0 mul:2
205// GFX12: v_add_f32_e64 v5, 0.5, -m0 mul:2        ; encoding: [0x05,0x00,0x03,0xd5,0xf0,0xfa,0x00,0x48]
206
207v_add_f32_e64 v5, -src_scc, |vcc_lo| mul:4
208// GFX12: v_add_f32_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x03,0xd5,0xfd,0xd4,0x00,0x30]
209
210v_add_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2
211// GFX12: v_add_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x03,0xd5,0xff,0xd6,0x00,0x78,0x56,0x34,0x12,0xaf]
212
213v_add_f64_e64 v[5:6], v[2:3], v[4:5]
214// GFX12: v_add_f64_e64 v[5:6], v[2:3], v[4:5]    ; encoding: [0x05,0x00,0x02,0xd5,0x02,0x09,0x02,0x00]
215
216v_add_f64_e64 v[5:6], v[104:105], v[104:105]
217// GFX12: v_add_f64_e64 v[5:6], v[104:105], v[104:105] ; encoding: [0x05,0x00,0x02,0xd5,0x68,0xd1,0x02,0x00]
218
219v_add_f64_e64 v[5:6], s[2:3], s[4:5]
220// GFX12: v_add_f64_e64 v[5:6], s[2:3], s[4:5]    ; encoding: [0x05,0x00,0x02,0xd5,0x02,0x08,0x00,0x00]
221
222v_add_f64_e64 v[5:6], s[104:105], s[104:105]
223// GFX12: v_add_f64_e64 v[5:6], s[104:105], s[104:105] ; encoding: [0x05,0x00,0x02,0xd5,0x68,0xd0,0x00,0x00]
224
225v_add_f64_e64 v[5:6], vcc, ttmp[14:15]
226// GFX12: v_add_f64_e64 v[5:6], vcc, ttmp[14:15]  ; encoding: [0x05,0x00,0x02,0xd5,0x6a,0xf4,0x00,0x00]
227
228v_add_f64_e64 v[5:6], ttmp[14:15], 0xaf123456
229// GFX12: v_add_f64_e64 v[5:6], ttmp[14:15], 0xaf123456 ; encoding: [0x05,0x00,0x02,0xd5,0x7a,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
230
231v_add_f64_e64 v[5:6], -|exec|, src_scc
232// GFX12: v_add_f64_e64 v[5:6], -|exec|, src_scc  ; encoding: [0x05,0x01,0x02,0xd5,0x7e,0xfa,0x01,0x20]
233
234v_add_f64_e64 v[5:6], null, 0.5
235// GFX12: v_add_f64_e64 v[5:6], null, 0.5         ; encoding: [0x05,0x00,0x02,0xd5,0x7c,0xe0,0x01,0x00]
236
237v_add_f64_e64 v[5:6], -1, -1
238// GFX12: v_add_f64_e64 v[5:6], -1, -1            ; encoding: [0x05,0x00,0x02,0xd5,0xc1,0x82,0x01,0x00]
239
240v_add_f64_e64 v[5:6], 0.5, null mul:2
241// GFX12: v_add_f64_e64 v[5:6], 0.5, null mul:2   ; encoding: [0x05,0x00,0x02,0xd5,0xf0,0xf8,0x00,0x08]
242
243v_add_f64_e64 v[5:6], -|src_scc|, -|exec| mul:4
244// GFX12: v_add_f64_e64 v[5:6], -|src_scc|, -|exec| mul:4 ; encoding: [0x05,0x03,0x02,0xd5,0xfd,0xfc,0x00,0x70]
245
246v_add_f64_e64 v[254:255], 0xaf123456, -|vcc| clamp div:2
247// GFX12: v_add_f64_e64 v[254:255], 0xaf123456, -|vcc| clamp div:2 ; encoding: [0xfe,0x82,0x02,0xd5,0xff,0xd4,0x00,0x58,0x56,0x34,0x12,0xaf]
248
249v_add_nc_u32_e64 v5, v1, v2
250// GFX12: v_add_nc_u32_e64 v5, v1, v2             ; encoding: [0x05,0x00,0x25,0xd5,0x01,0x05,0x02,0x00]
251
252v_add_nc_u32_e64 v5, v255, v255
253// GFX12: v_add_nc_u32_e64 v5, v255, v255         ; encoding: [0x05,0x00,0x25,0xd5,0xff,0xff,0x03,0x00]
254
255v_add_nc_u32_e64 v5, s1, s2
256// GFX12: v_add_nc_u32_e64 v5, s1, s2             ; encoding: [0x05,0x00,0x25,0xd5,0x01,0x04,0x00,0x00]
257
258v_add_nc_u32_e64 v5, s105, s105
259// GFX12: v_add_nc_u32_e64 v5, s105, s105         ; encoding: [0x05,0x00,0x25,0xd5,0x69,0xd2,0x00,0x00]
260
261v_add_nc_u32_e64 v5, vcc_lo, ttmp15
262// GFX12: v_add_nc_u32_e64 v5, vcc_lo, ttmp15     ; encoding: [0x05,0x00,0x25,0xd5,0x6a,0xf6,0x00,0x00]
263
264v_add_nc_u32_e64 v5, vcc_hi, 0xaf123456
265// GFX12: v_add_nc_u32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x25,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
266
267v_add_nc_u32_e64 v5, ttmp15, src_scc
268// GFX12: v_add_nc_u32_e64 v5, ttmp15, src_scc    ; encoding: [0x05,0x00,0x25,0xd5,0x7b,0xfa,0x01,0x00]
269
270v_add_nc_u32_e64 v5, m0, 0.5
271// GFX12: v_add_nc_u32_e64 v5, m0, 0.5            ; encoding: [0x05,0x00,0x25,0xd5,0x7d,0xe0,0x01,0x00]
272
273v_add_nc_u32_e64 v5, exec_lo, -1
274// GFX12: v_add_nc_u32_e64 v5, exec_lo, -1        ; encoding: [0x05,0x00,0x25,0xd5,0x7e,0x82,0x01,0x00]
275
276v_add_nc_u32_e64 v5, exec_hi, null
277// GFX12: v_add_nc_u32_e64 v5, exec_hi, null      ; encoding: [0x05,0x00,0x25,0xd5,0x7f,0xf8,0x00,0x00]
278
279v_add_nc_u32_e64 v5, null, exec_lo
280// GFX12: v_add_nc_u32_e64 v5, null, exec_lo      ; encoding: [0x05,0x00,0x25,0xd5,0x7c,0xfc,0x00,0x00]
281
282v_add_nc_u32_e64 v5, -1, exec_hi
283// GFX12: v_add_nc_u32_e64 v5, -1, exec_hi        ; encoding: [0x05,0x00,0x25,0xd5,0xc1,0xfe,0x00,0x00]
284
285v_add_nc_u32_e64 v5, 0.5, m0
286// GFX12: v_add_nc_u32_e64 v5, 0.5, m0            ; encoding: [0x05,0x00,0x25,0xd5,0xf0,0xfa,0x00,0x00]
287
288v_add_nc_u32_e64 v5, src_scc, vcc_lo
289// GFX12: v_add_nc_u32_e64 v5, src_scc, vcc_lo    ; encoding: [0x05,0x00,0x25,0xd5,0xfd,0xd4,0x00,0x00]
290
291v_add_nc_u32_e64 v255, 0xaf123456, vcc_hi clamp
292// GFX12: v_add_nc_u32_e64 v255, 0xaf123456, vcc_hi clamp ; encoding: [0xff,0x80,0x25,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
293
294v_and_b32_e64 v5, v1, v2
295// GFX12: v_and_b32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0x05,0x02,0x00]
296
297v_and_b32_e64 v5, v255, v255
298// GFX12: v_and_b32_e64 v5, v255, v255            ; encoding: [0x05,0x00,0x1b,0xd5,0xff,0xff,0x03,0x00]
299
300v_and_b32_e64 v5, s1, s2
301// GFX12: v_and_b32_e64 v5, s1, s2                ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0x04,0x00,0x00]
302
303v_and_b32_e64 v5, s105, s105
304// GFX12: v_and_b32_e64 v5, s105, s105            ; encoding: [0x05,0x00,0x1b,0xd5,0x69,0xd2,0x00,0x00]
305
306v_and_b32_e64 v5, vcc_lo, ttmp15
307// GFX12: v_and_b32_e64 v5, vcc_lo, ttmp15        ; encoding: [0x05,0x00,0x1b,0xd5,0x6a,0xf6,0x00,0x00]
308
309v_and_b32_e64 v5, vcc_hi, 0xaf123456
310// GFX12: v_and_b32_e64 v5, vcc_hi, 0xaf123456    ; encoding: [0x05,0x00,0x1b,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
311
312v_and_b32_e64 v5, ttmp15, src_scc
313// GFX12: v_and_b32_e64 v5, ttmp15, src_scc       ; encoding: [0x05,0x00,0x1b,0xd5,0x7b,0xfa,0x01,0x00]
314
315v_and_b32_e64 v5, m0, 0.5
316// GFX12: v_and_b32_e64 v5, m0, 0.5               ; encoding: [0x05,0x00,0x1b,0xd5,0x7d,0xe0,0x01,0x00]
317
318v_and_b32_e64 v5, exec_lo, -1
319// GFX12: v_and_b32_e64 v5, exec_lo, -1           ; encoding: [0x05,0x00,0x1b,0xd5,0x7e,0x82,0x01,0x00]
320
321v_and_b32_e64 v5, exec_hi, null
322// GFX12: v_and_b32_e64 v5, exec_hi, null         ; encoding: [0x05,0x00,0x1b,0xd5,0x7f,0xf8,0x00,0x00]
323
324v_and_b32_e64 v5, null, exec_lo
325// GFX12: v_and_b32_e64 v5, null, exec_lo         ; encoding: [0x05,0x00,0x1b,0xd5,0x7c,0xfc,0x00,0x00]
326
327v_and_b32_e64 v5, -1, exec_hi
328// GFX12: v_and_b32_e64 v5, -1, exec_hi           ; encoding: [0x05,0x00,0x1b,0xd5,0xc1,0xfe,0x00,0x00]
329
330v_and_b32_e64 v5, 0.5, m0
331// GFX12: v_and_b32_e64 v5, 0.5, m0               ; encoding: [0x05,0x00,0x1b,0xd5,0xf0,0xfa,0x00,0x00]
332
333v_and_b32_e64 v5, src_scc, vcc_lo
334// GFX12: v_and_b32_e64 v5, src_scc, vcc_lo       ; encoding: [0x05,0x00,0x1b,0xd5,0xfd,0xd4,0x00,0x00]
335
336v_and_b32_e64 v255, 0xaf123456, vcc_hi
337// GFX12: v_and_b32_e64 v255, 0xaf123456, vcc_hi  ; encoding: [0xff,0x00,0x1b,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
338
339v_ashrrev_i32_e64 v5, v1, v2
340// GFX12: v_ashrrev_i32_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0x05,0x02,0x00]
341
342v_ashrrev_i32_e64 v5, v255, v255
343// GFX12: v_ashrrev_i32_e64 v5, v255, v255        ; encoding: [0x05,0x00,0x1a,0xd5,0xff,0xff,0x03,0x00]
344
345v_ashrrev_i32_e64 v5, s1, s2
346// GFX12: v_ashrrev_i32_e64 v5, s1, s2            ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0x04,0x00,0x00]
347
348v_ashrrev_i32_e64 v5, s105, s105
349// GFX12: v_ashrrev_i32_e64 v5, s105, s105        ; encoding: [0x05,0x00,0x1a,0xd5,0x69,0xd2,0x00,0x00]
350
351v_ashrrev_i32_e64 v5, vcc_lo, ttmp15
352// GFX12: v_ashrrev_i32_e64 v5, vcc_lo, ttmp15    ; encoding: [0x05,0x00,0x1a,0xd5,0x6a,0xf6,0x00,0x00]
353
354v_ashrrev_i32_e64 v5, vcc_hi, 0xaf123456
355// GFX12: v_ashrrev_i32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x1a,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
356
357v_ashrrev_i32_e64 v5, ttmp15, src_scc
358// GFX12: v_ashrrev_i32_e64 v5, ttmp15, src_scc   ; encoding: [0x05,0x00,0x1a,0xd5,0x7b,0xfa,0x01,0x00]
359
360v_ashrrev_i32_e64 v5, m0, 0.5
361// GFX12: v_ashrrev_i32_e64 v5, m0, 0.5           ; encoding: [0x05,0x00,0x1a,0xd5,0x7d,0xe0,0x01,0x00]
362
363v_ashrrev_i32_e64 v5, exec_lo, -1
364// GFX12: v_ashrrev_i32_e64 v5, exec_lo, -1       ; encoding: [0x05,0x00,0x1a,0xd5,0x7e,0x82,0x01,0x00]
365
366v_ashrrev_i32_e64 v5, exec_hi, null
367// GFX12: v_ashrrev_i32_e64 v5, exec_hi, null     ; encoding: [0x05,0x00,0x1a,0xd5,0x7f,0xf8,0x00,0x00]
368
369v_ashrrev_i32_e64 v5, null, exec_lo
370// GFX12: v_ashrrev_i32_e64 v5, null, exec_lo     ; encoding: [0x05,0x00,0x1a,0xd5,0x7c,0xfc,0x00,0x00]
371
372v_ashrrev_i32_e64 v5, -1, exec_hi
373// GFX12: v_ashrrev_i32_e64 v5, -1, exec_hi       ; encoding: [0x05,0x00,0x1a,0xd5,0xc1,0xfe,0x00,0x00]
374
375v_ashrrev_i32_e64 v5, 0.5, m0
376// GFX12: v_ashrrev_i32_e64 v5, 0.5, m0           ; encoding: [0x05,0x00,0x1a,0xd5,0xf0,0xfa,0x00,0x00]
377
378v_ashrrev_i32_e64 v5, src_scc, vcc_lo
379// GFX12: v_ashrrev_i32_e64 v5, src_scc, vcc_lo   ; encoding: [0x05,0x00,0x1a,0xd5,0xfd,0xd4,0x00,0x00]
380
381v_ashrrev_i32_e64 v255, 0xaf123456, vcc_hi
382// GFX12: v_ashrrev_i32_e64 v255, 0xaf123456, vcc_hi ; encoding: [0xff,0x00,0x1a,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
383
384v_cndmask_b32_e64 v5, v1, 0xaf123456, s3
385// W32: v_cndmask_b32_e64 v5, v1, 0xaf123456, s3 ; encoding: [0x05,0x00,0x01,0xd5,0x01,0xff,0x0d,0x00,0x56,0x34,0x12,0xaf]
386// W64-ERR: :[[@LINE-2]]:39: error: invalid operand for instruction
387
388v_cndmask_b32_e64 v5, v255, src_scc, s3
389// W32: v_cndmask_b32_e64 v5, v255, src_scc, s3 ; encoding: [0x05,0x00,0x01,0xd5,0xff,0xfb,0x0d,0x00]
390// W64-ERR: :[[@LINE-2]]:38: error: invalid operand for instruction
391
392v_cndmask_b32_e64 v5, s105, s105, s3
393// W32: v_cndmask_b32_e64 v5, s105, s105, s3    ; encoding: [0x05,0x00,0x01,0xd5,0x69,0xd2,0x0c,0x00]
394// W64-ERR: :[[@LINE-2]]:35: error: invalid operand for instruction
395
396v_cndmask_b32_e64 v5, vcc_lo, v2, s3
397// W32: v_cndmask_b32_e64 v5, vcc_lo, v2, s3    ; encoding: [0x05,0x00,0x01,0xd5,0x6a,0x04,0x0e,0x00]
398// W64-ERR: :[[@LINE-2]]:35: error: invalid operand for instruction
399
400v_cndmask_b32_e64 v5, vcc_hi, v255, s3
401// W32: v_cndmask_b32_e64 v5, vcc_hi, v255, s3  ; encoding: [0x05,0x00,0x01,0xd5,0x6b,0xfe,0x0f,0x00]
402// W64-ERR: :[[@LINE-2]]:37: error: invalid operand for instruction
403
404v_cndmask_b32_e64 v5, ttmp15, ttmp15, s3
405// W32: v_cndmask_b32_e64 v5, ttmp15, ttmp15, s3 ; encoding: [0x05,0x00,0x01,0xd5,0x7b,0xf6,0x0c,0x00]
406// W64-ERR: :[[@LINE-2]]:39: error: invalid operand for instruction
407
408v_cndmask_b32_e64 v5, m0, 0.5, s3
409// W32: v_cndmask_b32_e64 v5, m0, 0.5, s3       ; encoding: [0x05,0x00,0x01,0xd5,0x7d,0xe0,0x0d,0x00]
410// W64-ERR: :[[@LINE-2]]:32: error: invalid operand for instruction
411
412v_cndmask_b32_e64 v5, exec_lo, exec_lo, s3
413// W32: v_cndmask_b32_e64 v5, exec_lo, exec_lo, s3 ; encoding: [0x05,0x00,0x01,0xd5,0x7e,0xfc,0x0c,0x00]
414// W64-ERR: :[[@LINE-2]]:41: error: invalid operand for instruction
415
416v_cndmask_b32_e64 v5, exec_hi, -1, s3
417// W32: v_cndmask_b32_e64 v5, exec_hi, -1, s3   ; encoding: [0x05,0x00,0x01,0xd5,0x7f,0x82,0x0d,0x00]
418// W64-ERR: :[[@LINE-2]]:36: error: invalid operand for instruction
419
420v_cndmask_b32_e64 v5, null, exec_hi, s105
421// W32: v_cndmask_b32_e64 v5, null, exec_hi, s105 ; encoding: [0x05,0x00,0x01,0xd5,0x7c,0xfe,0xa4,0x01]
422// W64-ERR: :[[@LINE-2]]:38: error: invalid operand for instruction
423
424v_cndmask_b32_e64 v5, -1, m0, vcc_lo
425// W32: v_cndmask_b32_e64 v5, -1, m0, vcc_lo    ; encoding: [0x05,0x00,0x01,0xd5,0xc1,0xfa,0xa8,0x01]
426// W64-ERR: :[[@LINE-2]]:31: error: invalid operand for instruction
427
428v_cndmask_b32_e64 v5, 0.5, -|vcc_lo|, vcc_hi
429// W32: v_cndmask_b32_e64 v5, 0.5, -|vcc_lo|, vcc_hi ; encoding: [0x05,0x02,0x01,0xd5,0xf0,0xd4,0xac,0x41]
430// W64-ERR: :[[@LINE-2]]:39: error: invalid operand for instruction
431
432v_cndmask_b32_e64 v5, -|src_scc|, null, ttmp15
433// W32: v_cndmask_b32_e64 v5, -|src_scc|, null, ttmp15 ; encoding: [0x05,0x01,0x01,0xd5,0xfd,0xf8,0xec,0x21]
434// W64-ERR: :[[@LINE-2]]:41: error: invalid operand for instruction
435
436v_cndmask_b32_e64 v5, v1, 0xaf123456, s[6:7]
437// W64: v_cndmask_b32_e64 v5, v1, 0xaf123456, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x01,0xff,0x19,0x00,0x56,0x34,0x12,0xaf]
438// W32-ERR: :[[@LINE-2]]:39: error: invalid operand for instruction
439
440v_cndmask_b32_e64 v5, v255, src_scc, s[6:7]
441// W64: v_cndmask_b32_e64 v5, v255, src_scc, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0xff,0xfb,0x19,0x00]
442// W32-ERR: :[[@LINE-2]]:38: error: invalid operand for instruction
443
444v_cndmask_b32_e64 v5, s105, s105, s[6:7]
445// W64: v_cndmask_b32_e64 v5, s105, s105, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x69,0xd2,0x18,0x00]
446// W32-ERR: :[[@LINE-2]]:35: error: invalid operand for instruction
447
448v_cndmask_b32_e64 v5, vcc_lo, v2, s[6:7]
449// W64: v_cndmask_b32_e64 v5, vcc_lo, v2, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x6a,0x04,0x1a,0x00]
450// W32-ERR: :[[@LINE-2]]:35: error: invalid operand for instruction
451
452v_cndmask_b32_e64 v5, vcc_hi, v255, s[6:7]
453// W64: v_cndmask_b32_e64 v5, vcc_hi, v255, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x6b,0xfe,0x1b,0x00]
454// W32-ERR: :[[@LINE-2]]:37: error: invalid operand for instruction
455
456v_cndmask_b32_e64 v5, ttmp15, ttmp15, s[6:7]
457// W64: v_cndmask_b32_e64 v5, ttmp15, ttmp15, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x7b,0xf6,0x18,0x00]
458// W32-ERR: :[[@LINE-2]]:39: error: invalid operand for instruction
459
460v_cndmask_b32_e64 v5, m0, 0.5, s[6:7]
461// W64: v_cndmask_b32_e64 v5, m0, 0.5, s[6:7]   ; encoding: [0x05,0x00,0x01,0xd5,0x7d,0xe0,0x19,0x00]
462// W32-ERR: :[[@LINE-2]]:32: error: invalid operand for instruction
463
464v_cndmask_b32_e64 v5, exec_lo, exec_lo, s[6:7]
465// W64: v_cndmask_b32_e64 v5, exec_lo, exec_lo, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x7e,0xfc,0x18,0x00]
466// W32-ERR: :[[@LINE-2]]:41: error: invalid operand for instruction
467
468v_cndmask_b32_e64 v5, exec_hi, -1, s[6:7]
469// W64: v_cndmask_b32_e64 v5, exec_hi, -1, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x7f,0x82,0x19,0x00]
470// W32-ERR: :[[@LINE-2]]:36: error: invalid operand for instruction
471
472v_cndmask_b32_e64 v5, null, exec_hi, s[6:7]
473// W64: v_cndmask_b32_e64 v5, null, exec_hi, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x7c,0xfe,0x18,0x00]
474// W32-ERR: :[[@LINE-2]]:38: error: invalid operand for instruction
475
476v_cndmask_b32_e64 v5, -1, m0, s[104:105]
477// W64: v_cndmask_b32_e64 v5, -1, m0, s[104:105] ; encoding: [0x05,0x00,0x01,0xd5,0xc1,0xfa,0xa0,0x01]
478// W32-ERR: :[[@LINE-2]]:31: error: invalid operand for instruction
479
480v_cndmask_b32_e64 v5, 0.5, -|vcc_lo|, vcc
481// W64: v_cndmask_b32_e64 v5, 0.5, -|vcc_lo|, vcc ; encoding: [0x05,0x02,0x01,0xd5,0xf0,0xd4,0xa8,0x41]
482// W32-ERR: :[[@LINE-2]]:39: error: invalid operand for instruction
483
484v_cndmask_b32_e64 v5, -|src_scc|, null, ttmp[14:15]
485// W64: v_cndmask_b32_e64 v5, -|src_scc|, null, ttmp[14:15] ; encoding: [0x05,0x01,0x01,0xd5,0xfd,0xf8,0xe8,0x21]
486// W32-ERR: :[[@LINE-2]]:41: error: invalid operand for instruction
487
488v_cndmask_b32_e64 v255, -|0xaf123456|, -|vcc_hi|, null
489// GFX12: v_cndmask_b32_e64 v255, -|0xaf123456|, -|vcc_hi|, null ; encoding: [0xff,0x03,0x01,0xd5,0xff,0xd6,0xf0,0x61,0x56,0x34,0x12,0xaf]
490
491v_cvt_pk_rtz_f16_f32_e64 v5, v1, v2
492// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, v1, v2     ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x05,0x02,0x00]
493
494v_cvt_pk_rtz_f16_f32_e64 v5, v255, v255
495// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, v255, v255 ; encoding: [0x05,0x00,0x2f,0xd5,0xff,0xff,0x03,0x00]
496
497v_cvt_pk_rtz_f16_f32_e64 v5, s1, s2
498// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, s1, s2     ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x04,0x00,0x00]
499
500v_cvt_pk_rtz_f16_f32_e64 v5, s105, s105
501// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, s105, s105 ; encoding: [0x05,0x00,0x2f,0xd5,0x69,0xd2,0x00,0x00]
502
503v_cvt_pk_rtz_f16_f32_e64 v5, vcc_lo, ttmp15
504// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, vcc_lo, ttmp15 ; encoding: [0x05,0x00,0x2f,0xd5,0x6a,0xf6,0x00,0x00]
505
506v_cvt_pk_rtz_f16_f32_e64 v5, vcc_hi, 0xaf123456
507// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x2f,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
508
509v_cvt_pk_rtz_f16_f32_e64 v5, ttmp15, src_scc
510// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, ttmp15, src_scc ; encoding: [0x05,0x00,0x2f,0xd5,0x7b,0xfa,0x01,0x00]
511
512v_cvt_pk_rtz_f16_f32_e64 v5, m0, 0.5
513// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, m0, 0.5    ; encoding: [0x05,0x00,0x2f,0xd5,0x7d,0xe0,0x01,0x00]
514
515v_cvt_pk_rtz_f16_f32_e64 v5, exec_lo, -1
516// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, exec_lo, -1 ; encoding: [0x05,0x00,0x2f,0xd5,0x7e,0x82,0x01,0x00]
517
518v_cvt_pk_rtz_f16_f32_e64 v5, |exec_hi|, null
519// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, |exec_hi|, null ; encoding: [0x05,0x01,0x2f,0xd5,0x7f,0xf8,0x00,0x00]
520
521v_cvt_pk_rtz_f16_f32_e64 v5, null, exec_lo
522// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, null, exec_lo ; encoding: [0x05,0x00,0x2f,0xd5,0x7c,0xfc,0x00,0x00]
523
524v_cvt_pk_rtz_f16_f32_e64 v5, -1, exec_hi
525// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, -1, exec_hi ; encoding: [0x05,0x00,0x2f,0xd5,0xc1,0xfe,0x00,0x00]
526
527v_cvt_pk_rtz_f16_f32_e64 v5, 0.5, -m0
528// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, 0.5, -m0   ; encoding: [0x05,0x00,0x2f,0xd5,0xf0,0xfa,0x00,0x40]
529
530v_cvt_pk_rtz_f16_f32_e64 v5, -src_scc, |vcc_lo|
531// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, -src_scc, |vcc_lo| ; encoding: [0x05,0x02,0x2f,0xd5,0xfd,0xd4,0x00,0x20]
532
533v_cvt_pk_rtz_f16_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp
534// GFX12: v_cvt_pk_rtz_f16_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp ; encoding: [0xff,0x83,0x2f,0xd5,0xff,0xd6,0x00,0x60,0x56,0x34,0x12,0xaf]
535
536v_cvt_pkrtz_f16_f32_e64 v5, v1, v2
537// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, v1, v2     ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x05,0x02,0x00]
538
539v_cvt_pkrtz_f16_f32_e64 v5, v255, v255
540// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, v255, v255 ; encoding: [0x05,0x00,0x2f,0xd5,0xff,0xff,0x03,0x00]
541
542v_cvt_pkrtz_f16_f32_e64 v5, s1, s2
543// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, s1, s2     ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x04,0x00,0x00]
544
545v_cvt_pkrtz_f16_f32_e64 v5, s105, s105
546// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, s105, s105 ; encoding: [0x05,0x00,0x2f,0xd5,0x69,0xd2,0x00,0x00]
547
548v_cvt_pkrtz_f16_f32_e64 v5, vcc_lo, ttmp15
549// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, vcc_lo, ttmp15 ; encoding: [0x05,0x00,0x2f,0xd5,0x6a,0xf6,0x00,0x00]
550
551v_cvt_pkrtz_f16_f32_e64 v5, vcc_hi, 0xaf123456
552// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x2f,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
553
554v_cvt_pkrtz_f16_f32_e64 v5, ttmp15, src_scc
555// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, ttmp15, src_scc ; encoding: [0x05,0x00,0x2f,0xd5,0x7b,0xfa,0x01,0x00]
556
557v_cvt_pkrtz_f16_f32_e64 v5, m0, 0.5
558// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, m0, 0.5    ; encoding: [0x05,0x00,0x2f,0xd5,0x7d,0xe0,0x01,0x00]
559
560v_cvt_pkrtz_f16_f32_e64 v5, exec_lo, -1
561// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, exec_lo, -1 ; encoding: [0x05,0x00,0x2f,0xd5,0x7e,0x82,0x01,0x00]
562
563v_cvt_pkrtz_f16_f32_e64 v5, |exec_hi|, null
564// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, |exec_hi|, null ; encoding: [0x05,0x01,0x2f,0xd5,0x7f,0xf8,0x00,0x00]
565
566v_cvt_pkrtz_f16_f32_e64 v5, null, exec_lo
567// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, null, exec_lo ; encoding: [0x05,0x00,0x2f,0xd5,0x7c,0xfc,0x00,0x00]
568
569v_cvt_pkrtz_f16_f32_e64 v5, -1, exec_hi
570// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, -1, exec_hi ; encoding: [0x05,0x00,0x2f,0xd5,0xc1,0xfe,0x00,0x00]
571
572v_cvt_pkrtz_f16_f32_e64 v5, 0.5, -m0
573// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, 0.5, -m0   ; encoding: [0x05,0x00,0x2f,0xd5,0xf0,0xfa,0x00,0x40]
574
575v_cvt_pkrtz_f16_f32_e64 v5, -src_scc, |vcc_lo|
576// GFX12: v_cvt_pk_rtz_f16_f32_e64 v5, -src_scc, |vcc_lo| ; encoding: [0x05,0x02,0x2f,0xd5,0xfd,0xd4,0x00,0x20]
577
578v_cvt_pkrtz_f16_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp
579// GFX12: v_cvt_pk_rtz_f16_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp ; encoding: [0xff,0x83,0x2f,0xd5,0xff,0xd6,0x00,0x60,0x56,0x34,0x12,0xaf]
580
581v_fmac_f16_e64 v5, v1, v2
582// GFX12: v_fmac_f16_e64 v5, v1, v2               ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x00]
583
584v_fmac_f16_e64 v5, v255, v255
585// GFX12: v_fmac_f16_e64 v5, v255, v255           ; encoding: [0x05,0x00,0x36,0xd5,0xff,0xff,0x03,0x00]
586
587v_fmac_f16_e64 v5, s1, s2
588// GFX12: v_fmac_f16_e64 v5, s1, s2               ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x04,0x00,0x00]
589
590v_fmac_f16_e64 v5, s105, s105
591// GFX12: v_fmac_f16_e64 v5, s105, s105           ; encoding: [0x05,0x00,0x36,0xd5,0x69,0xd2,0x00,0x00]
592
593v_fmac_f16_e64 v5, vcc_lo, ttmp15
594// GFX12: v_fmac_f16_e64 v5, vcc_lo, ttmp15       ; encoding: [0x05,0x00,0x36,0xd5,0x6a,0xf6,0x00,0x00]
595
596v_fmac_f16_e64 v5, vcc_hi, 0xfe0b
597// GFX12: v_fmac_f16_e64 v5, vcc_hi, 0xfe0b       ; encoding: [0x05,0x00,0x36,0xd5,0x6b,0xfe,0x01,0x00,0x0b,0xfe,0x00,0x00]
598
599v_fmac_f16_e64 v5, ttmp15, src_scc
600// GFX12: v_fmac_f16_e64 v5, ttmp15, src_scc      ; encoding: [0x05,0x00,0x36,0xd5,0x7b,0xfa,0x01,0x00]
601
602v_fmac_f16_e64 v5, m0, 0.5
603// GFX12: v_fmac_f16_e64 v5, m0, 0.5              ; encoding: [0x05,0x00,0x36,0xd5,0x7d,0xe0,0x01,0x00]
604
605v_fmac_f16_e64 v5, exec_lo, -1
606// GFX12: v_fmac_f16_e64 v5, exec_lo, -1          ; encoding: [0x05,0x00,0x36,0xd5,0x7e,0x82,0x01,0x00]
607
608v_fmac_f16_e64 v5, |exec_hi|, null
609// GFX12: v_fmac_f16_e64 v5, |exec_hi|, null      ; encoding: [0x05,0x01,0x36,0xd5,0x7f,0xf8,0x00,0x00]
610
611v_fmac_f16_e64 v5, null, exec_lo
612// GFX12: v_fmac_f16_e64 v5, null, exec_lo        ; encoding: [0x05,0x00,0x36,0xd5,0x7c,0xfc,0x00,0x00]
613
614v_fmac_f16_e64 v5, -1, exec_hi
615// GFX12: v_fmac_f16_e64 v5, -1, exec_hi          ; encoding: [0x05,0x00,0x36,0xd5,0xc1,0xfe,0x00,0x00]
616
617v_fmac_f16_e64 v5, 0.5, -m0 mul:2
618// GFX12: v_fmac_f16_e64 v5, 0.5, -m0 mul:2       ; encoding: [0x05,0x00,0x36,0xd5,0xf0,0xfa,0x00,0x48]
619
620v_fmac_f16_e64 v5, -src_scc, |vcc_lo| mul:4
621// GFX12: v_fmac_f16_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x36,0xd5,0xfd,0xd4,0x00,0x30]
622
623v_fmac_f16_e64 v255, -|0xfe0b|, -|vcc_hi| clamp div:2
624// GFX12: v_fmac_f16_e64 v255, -|0xfe0b|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x36,0xd5,0xff,0xd6,0x00,0x78,0x0b,0xfe,0x00,0x00]
625
626v_fmac_f32_e64 v5, v1, v2
627// GFX12: v_fmac_f32_e64 v5, v1, v2               ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x00]
628
629v_fmac_f32_e64 v5, v255, v255
630// GFX12: v_fmac_f32_e64 v5, v255, v255           ; encoding: [0x05,0x00,0x2b,0xd5,0xff,0xff,0x03,0x00]
631
632v_fmac_f32_e64 v5, s1, s2
633// GFX12: v_fmac_f32_e64 v5, s1, s2               ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x04,0x00,0x00]
634
635v_fmac_f32_e64 v5, s105, s105
636// GFX12: v_fmac_f32_e64 v5, s105, s105           ; encoding: [0x05,0x00,0x2b,0xd5,0x69,0xd2,0x00,0x00]
637
638v_fmac_f32_e64 v5, vcc_lo, ttmp15
639// GFX12: v_fmac_f32_e64 v5, vcc_lo, ttmp15       ; encoding: [0x05,0x00,0x2b,0xd5,0x6a,0xf6,0x00,0x00]
640
641v_fmac_f32_e64 v5, vcc_hi, 0xaf123456
642// GFX12: v_fmac_f32_e64 v5, vcc_hi, 0xaf123456   ; encoding: [0x05,0x00,0x2b,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
643
644v_fmac_f32_e64 v5, ttmp15, src_scc
645// GFX12: v_fmac_f32_e64 v5, ttmp15, src_scc      ; encoding: [0x05,0x00,0x2b,0xd5,0x7b,0xfa,0x01,0x00]
646
647v_fmac_f32_e64 v5, m0, 0.5
648// GFX12: v_fmac_f32_e64 v5, m0, 0.5              ; encoding: [0x05,0x00,0x2b,0xd5,0x7d,0xe0,0x01,0x00]
649
650v_fmac_f32_e64 v5, exec_lo, -1
651// GFX12: v_fmac_f32_e64 v5, exec_lo, -1          ; encoding: [0x05,0x00,0x2b,0xd5,0x7e,0x82,0x01,0x00]
652
653v_fmac_f32_e64 v5, |exec_hi|, null
654// GFX12: v_fmac_f32_e64 v5, |exec_hi|, null      ; encoding: [0x05,0x01,0x2b,0xd5,0x7f,0xf8,0x00,0x00]
655
656v_fmac_f32_e64 v5, null, exec_lo
657// GFX12: v_fmac_f32_e64 v5, null, exec_lo        ; encoding: [0x05,0x00,0x2b,0xd5,0x7c,0xfc,0x00,0x00]
658
659v_fmac_f32_e64 v5, -1, exec_hi
660// GFX12: v_fmac_f32_e64 v5, -1, exec_hi          ; encoding: [0x05,0x00,0x2b,0xd5,0xc1,0xfe,0x00,0x00]
661
662v_fmac_f32_e64 v5, 0.5, -m0 mul:2
663// GFX12: v_fmac_f32_e64 v5, 0.5, -m0 mul:2       ; encoding: [0x05,0x00,0x2b,0xd5,0xf0,0xfa,0x00,0x48]
664
665v_fmac_f32_e64 v5, -src_scc, |vcc_lo| mul:4
666// GFX12: v_fmac_f32_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x2b,0xd5,0xfd,0xd4,0x00,0x30]
667
668v_fmac_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2
669// GFX12: v_fmac_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x2b,0xd5,0xff,0xd6,0x00,0x78,0x56,0x34,0x12,0xaf]
670
671v_ldexp_f16_e64 v5.l, v1.l, v2.l
672// GFX12: v_ldexp_f16_e64 v5.l, v1.l, v2.l        ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0x05,0x02,0x00]
673
674v_ldexp_f16_e64 v5.l, v255.l, v255.l
675// GFX12: v_ldexp_f16_e64 v5.l, v255.l, v255.l    ; encoding: [0x05,0x00,0x3b,0xd5,0xff,0xff,0x03,0x00]
676
677v_ldexp_f16_e64 v5.l, s1, s2
678// GFX12: v_ldexp_f16_e64 v5.l, s1, s2            ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0x04,0x00,0x00]
679
680v_ldexp_f16_e64 v5.l, s105, s105
681// GFX12: v_ldexp_f16_e64 v5.l, s105, s105        ; encoding: [0x05,0x00,0x3b,0xd5,0x69,0xd2,0x00,0x00]
682
683v_ldexp_f16_e64 v5.l, vcc_lo, ttmp15
684// GFX12: v_ldexp_f16_e64 v5.l, vcc_lo, ttmp15    ; encoding: [0x05,0x00,0x3b,0xd5,0x6a,0xf6,0x00,0x00]
685
686v_ldexp_f16_e64 v5.l, vcc_hi, 0xfe0b
687// GFX12: v_ldexp_f16_e64 v5.l, vcc_hi, 0xfe0b    ; encoding: [0x05,0x00,0x3b,0xd5,0x6b,0xfe,0x01,0x00,0x0b,0xfe,0x00,0x00]
688
689v_ldexp_f16_e64 v5.l, ttmp15, src_scc
690// GFX12: v_ldexp_f16_e64 v5.l, ttmp15, src_scc   ; encoding: [0x05,0x00,0x3b,0xd5,0x7b,0xfa,0x01,0x00]
691
692v_ldexp_f16_e64 v5.l, m0, 0.5
693// GFX12: v_ldexp_f16_e64 v5.l, m0, 0.5           ; encoding: [0x05,0x00,0x3b,0xd5,0x7d,0xe0,0x01,0x00]
694
695v_ldexp_f16_e64 v5.l, exec_lo, -1
696// GFX12: v_ldexp_f16_e64 v5.l, exec_lo, -1       ; encoding: [0x05,0x00,0x3b,0xd5,0x7e,0x82,0x01,0x00]
697
698v_ldexp_f16_e64 v5.l, exec_hi, null
699// GFX12: v_ldexp_f16_e64 v5.l, exec_hi, null     ; encoding: [0x05,0x00,0x3b,0xd5,0x7f,0xf8,0x00,0x00]
700
701v_ldexp_f16_e64 v5.l, null, exec_lo
702// GFX12: v_ldexp_f16_e64 v5.l, null, exec_lo     ; encoding: [0x05,0x00,0x3b,0xd5,0x7c,0xfc,0x00,0x00]
703
704v_ldexp_f16_e64 v5.l, -1, exec_hi
705// GFX12: v_ldexp_f16_e64 v5.l, -1, exec_hi       ; encoding: [0x05,0x00,0x3b,0xd5,0xc1,0xfe,0x00,0x00]
706
707v_ldexp_f16_e64 v5.l, 0.5, m0 mul:2
708// GFX12: v_ldexp_f16_e64 v5.l, 0.5, m0 mul:2     ; encoding: [0x05,0x00,0x3b,0xd5,0xf0,0xfa,0x00,0x08]
709
710v_ldexp_f16_e64 v5.l, src_scc, vcc_lo mul:4
711// GFX12: v_ldexp_f16_e64 v5.l, src_scc, vcc_lo mul:4 ; encoding: [0x05,0x00,0x3b,0xd5,0xfd,0xd4,0x00,0x10]
712
713v_ldexp_f16_e64 v255.l, -|0xfe0b|, vcc_hi clamp div:2
714// GFX12: v_ldexp_f16_e64 v255.l, -|0xfe0b|, vcc_hi clamp div:2 ; encoding: [0xff,0x81,0x3b,0xd5,0xff,0xd6,0x00,0x38,0x0b,0xfe,0x00,0x00]
715
716v_ldexp_f16_e64 v5.l, v1.h, v2.l
717// GFX12: v_ldexp_f16_e64 v5.l, v1.h, v2.l op_sel:[1,0,0] ; encoding: [0x05,0x08,0x3b,0xd5,0x01,0x05,0x02,0x00]
718
719v_ldexp_f16_e64 v5.l, v255.l, v255.h
720// GFX12: v_ldexp_f16_e64 v5.l, v255.l, v255.h op_sel:[0,1,0] ; encoding: [0x05,0x10,0x3b,0xd5,0xff,0xff,0x03,0x00]
721
722v_ldexp_f16_e64 v255.h, -|0xfe0b|, vcc_hi clamp div:2
723// GFX12: v_ldexp_f16_e64 v255.h, -|0xfe0b|, vcc_hi op_sel:[0,0,1] clamp div:2 ; encoding: [0xff,0xc1,0x3b,0xd5,0xff,0xd6,0x00,0x38,0x0b,0xfe,0x00,0x00]
724
725v_lshlrev_b32_e64 v5, v1, v2
726// GFX12: v_lshlrev_b32_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x18,0xd5,0x01,0x05,0x02,0x00]
727
728v_lshlrev_b32_e64 v5, v255, v255
729// GFX12: v_lshlrev_b32_e64 v5, v255, v255        ; encoding: [0x05,0x00,0x18,0xd5,0xff,0xff,0x03,0x00]
730
731v_lshlrev_b32_e64 v5, s1, s2
732// GFX12: v_lshlrev_b32_e64 v5, s1, s2            ; encoding: [0x05,0x00,0x18,0xd5,0x01,0x04,0x00,0x00]
733
734v_lshlrev_b32_e64 v5, s105, s105
735// GFX12: v_lshlrev_b32_e64 v5, s105, s105        ; encoding: [0x05,0x00,0x18,0xd5,0x69,0xd2,0x00,0x00]
736
737v_lshlrev_b32_e64 v5, vcc_lo, ttmp15
738// GFX12: v_lshlrev_b32_e64 v5, vcc_lo, ttmp15    ; encoding: [0x05,0x00,0x18,0xd5,0x6a,0xf6,0x00,0x00]
739
740v_lshlrev_b32_e64 v5, vcc_hi, 0xaf123456
741// GFX12: v_lshlrev_b32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x18,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
742
743v_lshlrev_b32_e64 v5, ttmp15, src_scc
744// GFX12: v_lshlrev_b32_e64 v5, ttmp15, src_scc   ; encoding: [0x05,0x00,0x18,0xd5,0x7b,0xfa,0x01,0x00]
745
746v_lshlrev_b32_e64 v5, m0, 0.5
747// GFX12: v_lshlrev_b32_e64 v5, m0, 0.5           ; encoding: [0x05,0x00,0x18,0xd5,0x7d,0xe0,0x01,0x00]
748
749v_lshlrev_b32_e64 v5, exec_lo, -1
750// GFX12: v_lshlrev_b32_e64 v5, exec_lo, -1       ; encoding: [0x05,0x00,0x18,0xd5,0x7e,0x82,0x01,0x00]
751
752v_lshlrev_b32_e64 v5, exec_hi, null
753// GFX12: v_lshlrev_b32_e64 v5, exec_hi, null     ; encoding: [0x05,0x00,0x18,0xd5,0x7f,0xf8,0x00,0x00]
754
755v_lshlrev_b32_e64 v5, null, exec_lo
756// GFX12: v_lshlrev_b32_e64 v5, null, exec_lo     ; encoding: [0x05,0x00,0x18,0xd5,0x7c,0xfc,0x00,0x00]
757
758v_lshlrev_b32_e64 v5, -1, exec_hi
759// GFX12: v_lshlrev_b32_e64 v5, -1, exec_hi       ; encoding: [0x05,0x00,0x18,0xd5,0xc1,0xfe,0x00,0x00]
760
761v_lshlrev_b32_e64 v5, 0.5, m0
762// GFX12: v_lshlrev_b32_e64 v5, 0.5, m0           ; encoding: [0x05,0x00,0x18,0xd5,0xf0,0xfa,0x00,0x00]
763
764v_lshlrev_b32_e64 v5, src_scc, vcc_lo
765// GFX12: v_lshlrev_b32_e64 v5, src_scc, vcc_lo   ; encoding: [0x05,0x00,0x18,0xd5,0xfd,0xd4,0x00,0x00]
766
767v_lshlrev_b32_e64 v255, 0xaf123456, vcc_hi
768// GFX12: v_lshlrev_b32_e64 v255, 0xaf123456, vcc_hi ; encoding: [0xff,0x00,0x18,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
769
770v_lshlrev_b64_e64 v[5:6], v1, v[2:3]
771// GFX12: v_lshlrev_b64_e64 v[5:6], v1, v[2:3]    ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x00]
772
773v_lshlrev_b64_e64 v[5:6], v255, v[254:255]
774// GFX12: v_lshlrev_b64_e64 v[5:6], v255, v[254:255] ; encoding: [0x05,0x00,0x1f,0xd5,0xff,0xfd,0x03,0x00]
775
776v_lshlrev_b64_e64 v[5:6], v1, vcc
777// GFX12: v_lshlrev_b64_e64 v[5:6], v1, vcc       ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0xd5,0x00,0x00]
778
779v_lshlrev_b64_e64 v[5:6], v255, exec
780// GFX12: v_lshlrev_b64_e64 v[5:6], v255, exec    ; encoding: [0x05,0x00,0x1f,0xd5,0xff,0xfd,0x00,0x00]
781
782v_lshlrev_b64_e64 v[5:6], null, null
783// GFX12: v_lshlrev_b64_e64 v[5:6], null, null    ; encoding: [0x05,0x00,0x1f,0xd5,0x7c,0xf8,0x00,0x00]
784
785v_lshlrev_b64_e64 v[5:6], -1, -1
786// GFX12: v_lshlrev_b64_e64 v[5:6], -1, -1        ; encoding: [0x05,0x00,0x1f,0xd5,0xc1,0x82,0x01,0x00]
787
788v_lshlrev_b64_e64 v[5:6], 0.5, 0xaf123456
789// GFX12: v_lshlrev_b64_e64 v[5:6], 0.5, 0xaf123456 ; encoding: [0x05,0x00,0x1f,0xd5,0xf0,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
790
791v_lshlrev_b64_e64 v[5:6], src_scc, src_scc
792// GFX12: v_lshlrev_b64_e64 v[5:6], src_scc, src_scc ; encoding: [0x05,0x00,0x1f,0xd5,0xfd,0xfa,0x01,0x00]
793
794v_lshlrev_b64_e64 v[254:255], 0xaf123456, 0.5
795// GFX12: v_lshlrev_b64_e64 v[254:255], 0xaf123456, 0.5 ; encoding: [0xfe,0x00,0x1f,0xd5,0xff,0xe0,0x01,0x00,0x56,0x34,0x12,0xaf]
796
797v_lshrrev_b32_e64 v5, v1, v2
798// GFX12: v_lshrrev_b32_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x19,0xd5,0x01,0x05,0x02,0x00]
799
800v_lshrrev_b32_e64 v5, v255, v255
801// GFX12: v_lshrrev_b32_e64 v5, v255, v255        ; encoding: [0x05,0x00,0x19,0xd5,0xff,0xff,0x03,0x00]
802
803v_lshrrev_b32_e64 v5, s1, s2
804// GFX12: v_lshrrev_b32_e64 v5, s1, s2            ; encoding: [0x05,0x00,0x19,0xd5,0x01,0x04,0x00,0x00]
805
806v_lshrrev_b32_e64 v5, s105, s105
807// GFX12: v_lshrrev_b32_e64 v5, s105, s105        ; encoding: [0x05,0x00,0x19,0xd5,0x69,0xd2,0x00,0x00]
808
809v_lshrrev_b32_e64 v5, vcc_lo, ttmp15
810// GFX12: v_lshrrev_b32_e64 v5, vcc_lo, ttmp15    ; encoding: [0x05,0x00,0x19,0xd5,0x6a,0xf6,0x00,0x00]
811
812v_lshrrev_b32_e64 v5, vcc_hi, 0xaf123456
813// GFX12: v_lshrrev_b32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x19,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
814
815v_lshrrev_b32_e64 v5, ttmp15, src_scc
816// GFX12: v_lshrrev_b32_e64 v5, ttmp15, src_scc   ; encoding: [0x05,0x00,0x19,0xd5,0x7b,0xfa,0x01,0x00]
817
818v_lshrrev_b32_e64 v5, m0, 0.5
819// GFX12: v_lshrrev_b32_e64 v5, m0, 0.5           ; encoding: [0x05,0x00,0x19,0xd5,0x7d,0xe0,0x01,0x00]
820
821v_lshrrev_b32_e64 v5, exec_lo, -1
822// GFX12: v_lshrrev_b32_e64 v5, exec_lo, -1       ; encoding: [0x05,0x00,0x19,0xd5,0x7e,0x82,0x01,0x00]
823
824v_lshrrev_b32_e64 v5, exec_hi, null
825// GFX12: v_lshrrev_b32_e64 v5, exec_hi, null     ; encoding: [0x05,0x00,0x19,0xd5,0x7f,0xf8,0x00,0x00]
826
827v_lshrrev_b32_e64 v5, null, exec_lo
828// GFX12: v_lshrrev_b32_e64 v5, null, exec_lo     ; encoding: [0x05,0x00,0x19,0xd5,0x7c,0xfc,0x00,0x00]
829
830v_lshrrev_b32_e64 v5, -1, exec_hi
831// GFX12: v_lshrrev_b32_e64 v5, -1, exec_hi       ; encoding: [0x05,0x00,0x19,0xd5,0xc1,0xfe,0x00,0x00]
832
833v_lshrrev_b32_e64 v5, 0.5, m0
834// GFX12: v_lshrrev_b32_e64 v5, 0.5, m0           ; encoding: [0x05,0x00,0x19,0xd5,0xf0,0xfa,0x00,0x00]
835
836v_lshrrev_b32_e64 v5, src_scc, vcc_lo
837// GFX12: v_lshrrev_b32_e64 v5, src_scc, vcc_lo   ; encoding: [0x05,0x00,0x19,0xd5,0xfd,0xd4,0x00,0x00]
838
839v_lshrrev_b32_e64 v255, 0xaf123456, vcc_hi
840// GFX12: v_lshrrev_b32_e64 v255, 0xaf123456, vcc_hi ; encoding: [0xff,0x00,0x19,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
841
842v_max_num_f16_e64 v5, v1, v2
843// GFX12: v_max_num_f16_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x31,0xd5,0x01,0x05,0x02,0x00]
844
845v_max_num_f16_e64 v5, v255, v255
846// GFX12: v_max_num_f16_e64 v5, v255, v255        ; encoding: [0x05,0x00,0x31,0xd5,0xff,0xff,0x03,0x00]
847
848v_max_num_f16_e64 v5, s1, s2
849// GFX12: v_max_num_f16_e64 v5, s1, s2            ; encoding: [0x05,0x00,0x31,0xd5,0x01,0x04,0x00,0x00]
850
851v_max_num_f16_e64 v5, s105, s105
852// GFX12: v_max_num_f16_e64 v5, s105, s105        ; encoding: [0x05,0x00,0x31,0xd5,0x69,0xd2,0x00,0x00]
853
854v_max_num_f16_e64 v5, vcc_lo, ttmp15
855// GFX12: v_max_num_f16_e64 v5, vcc_lo, ttmp15    ; encoding: [0x05,0x00,0x31,0xd5,0x6a,0xf6,0x00,0x00]
856
857v_max_num_f16_e64 v5, vcc_hi, 0xfe0b
858// GFX12: v_max_num_f16_e64 v5, vcc_hi, 0xfe0b    ; encoding: [0x05,0x00,0x31,0xd5,0x6b,0xfe,0x01,0x00,0x0b,0xfe,0x00,0x00]
859
860v_max_num_f16_e64 v5, ttmp15, src_scc
861// GFX12: v_max_num_f16_e64 v5, ttmp15, src_scc   ; encoding: [0x05,0x00,0x31,0xd5,0x7b,0xfa,0x01,0x00]
862
863v_max_num_f16_e64 v5, m0, 0.5
864// GFX12: v_max_num_f16_e64 v5, m0, 0.5           ; encoding: [0x05,0x00,0x31,0xd5,0x7d,0xe0,0x01,0x00]
865
866v_max_num_f16_e64 v5, exec_lo, -1
867// GFX12: v_max_num_f16_e64 v5, exec_lo, -1       ; encoding: [0x05,0x00,0x31,0xd5,0x7e,0x82,0x01,0x00]
868
869v_max_num_f16_e64 v5, |exec_hi|, null
870// GFX12: v_max_num_f16_e64 v5, |exec_hi|, null   ; encoding: [0x05,0x01,0x31,0xd5,0x7f,0xf8,0x00,0x00]
871
872v_max_num_f16_e64 v5, null, exec_lo
873// GFX12: v_max_num_f16_e64 v5, null, exec_lo     ; encoding: [0x05,0x00,0x31,0xd5,0x7c,0xfc,0x00,0x00]
874
875v_max_num_f16_e64 v5, -1, exec_hi
876// GFX12: v_max_num_f16_e64 v5, -1, exec_hi       ; encoding: [0x05,0x00,0x31,0xd5,0xc1,0xfe,0x00,0x00]
877
878v_max_num_f16_e64 v5, 0.5, -m0 mul:2
879// GFX12: v_max_num_f16_e64 v5, 0.5, -m0 mul:2    ; encoding: [0x05,0x00,0x31,0xd5,0xf0,0xfa,0x00,0x48]
880
881v_max_num_f16_e64 v5, -src_scc, |vcc_lo| mul:4
882// GFX12: v_max_num_f16_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x31,0xd5,0xfd,0xd4,0x00,0x30]
883
884v_max_num_f16_e64 v255, -|0xfe0b|, -|vcc_hi| clamp div:2
885// GFX12: v_max_num_f16_e64 v255, -|0xfe0b|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x31,0xd5,0xff,0xd6,0x00,0x78,0x0b,0xfe,0x00,0x00]
886
887v_max_num_f32_e64 v5, v1, v2
888// GFX12: v_max_num_f32_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x16,0xd5,0x01,0x05,0x02,0x00]
889
890v_max_num_f32_e64 v5, v255, v255
891// GFX12: v_max_num_f32_e64 v5, v255, v255        ; encoding: [0x05,0x00,0x16,0xd5,0xff,0xff,0x03,0x00]
892
893v_max_num_f32_e64 v5, s1, s2
894// GFX12: v_max_num_f32_e64 v5, s1, s2            ; encoding: [0x05,0x00,0x16,0xd5,0x01,0x04,0x00,0x00]
895
896v_max_num_f32_e64 v5, s105, s105
897// GFX12: v_max_num_f32_e64 v5, s105, s105        ; encoding: [0x05,0x00,0x16,0xd5,0x69,0xd2,0x00,0x00]
898
899v_max_num_f32_e64 v5, vcc_lo, ttmp15
900// GFX12: v_max_num_f32_e64 v5, vcc_lo, ttmp15    ; encoding: [0x05,0x00,0x16,0xd5,0x6a,0xf6,0x00,0x00]
901
902v_max_num_f32_e64 v5, vcc_hi, 0xaf123456
903// GFX12: v_max_num_f32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x16,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
904
905v_max_num_f32_e64 v5, ttmp15, src_scc
906// GFX12: v_max_num_f32_e64 v5, ttmp15, src_scc   ; encoding: [0x05,0x00,0x16,0xd5,0x7b,0xfa,0x01,0x00]
907
908v_max_num_f32_e64 v5, m0, 0.5
909// GFX12: v_max_num_f32_e64 v5, m0, 0.5           ; encoding: [0x05,0x00,0x16,0xd5,0x7d,0xe0,0x01,0x00]
910
911v_max_num_f32_e64 v5, exec_lo, -1
912// GFX12: v_max_num_f32_e64 v5, exec_lo, -1       ; encoding: [0x05,0x00,0x16,0xd5,0x7e,0x82,0x01,0x00]
913
914v_max_num_f32_e64 v5, |exec_hi|, null
915// GFX12: v_max_num_f32_e64 v5, |exec_hi|, null   ; encoding: [0x05,0x01,0x16,0xd5,0x7f,0xf8,0x00,0x00]
916
917v_max_num_f32_e64 v5, null, exec_lo
918// GFX12: v_max_num_f32_e64 v5, null, exec_lo     ; encoding: [0x05,0x00,0x16,0xd5,0x7c,0xfc,0x00,0x00]
919
920v_max_num_f32_e64 v5, -1, exec_hi
921// GFX12: v_max_num_f32_e64 v5, -1, exec_hi       ; encoding: [0x05,0x00,0x16,0xd5,0xc1,0xfe,0x00,0x00]
922
923v_max_num_f32_e64 v5, 0.5, -m0 mul:2
924// GFX12: v_max_num_f32_e64 v5, 0.5, -m0 mul:2    ; encoding: [0x05,0x00,0x16,0xd5,0xf0,0xfa,0x00,0x48]
925
926v_max_num_f32_e64 v5, -src_scc, |vcc_lo| mul:4
927// GFX12: v_max_num_f32_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x16,0xd5,0xfd,0xd4,0x00,0x30]
928
929v_max_num_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2
930// GFX12: v_max_num_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x16,0xd5,0xff,0xd6,0x00,0x78,0x56,0x34,0x12,0xaf]
931
932v_max_num_f64_e64 v[5:6], v[2:3], v[4:5]
933// GFX12: v_max_num_f64_e64 v[5:6], v[2:3], v[4:5] ; encoding: [0x05,0x00,0x0e,0xd5,0x02,0x09,0x02,0x00]
934
935v_max_num_f64_e64 v[5:6], v[104:105], v[104:105]
936// GFX12: v_max_num_f64_e64 v[5:6], v[104:105], v[104:105] ; encoding: [0x05,0x00,0x0e,0xd5,0x68,0xd1,0x02,0x00]
937
938v_max_num_f64_e64 v[5:6], s[2:3], s[4:5]
939// GFX12: v_max_num_f64_e64 v[5:6], s[2:3], s[4:5] ; encoding: [0x05,0x00,0x0e,0xd5,0x02,0x08,0x00,0x00]
940
941v_max_num_f64_e64 v[5:6], s[104:105], s[104:105]
942// GFX12: v_max_num_f64_e64 v[5:6], s[104:105], s[104:105] ; encoding: [0x05,0x00,0x0e,0xd5,0x68,0xd0,0x00,0x00]
943
944v_max_num_f64_e64 v[5:6], vcc, ttmp[14:15]
945// GFX12: v_max_num_f64_e64 v[5:6], vcc, ttmp[14:15] ; encoding: [0x05,0x00,0x0e,0xd5,0x6a,0xf4,0x00,0x00]
946
947v_max_num_f64_e64 v[5:6], ttmp[14:15], 0xaf123456
948// GFX12: v_max_num_f64_e64 v[5:6], ttmp[14:15], 0xaf123456 ; encoding: [0x05,0x00,0x0e,0xd5,0x7a,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
949
950v_max_num_f64_e64 v[5:6], -|exec|, src_scc
951// GFX12: v_max_num_f64_e64 v[5:6], -|exec|, src_scc ; encoding: [0x05,0x01,0x0e,0xd5,0x7e,0xfa,0x01,0x20]
952
953v_max_num_f64_e64 v[5:6], null, 0.5
954// GFX12: v_max_num_f64_e64 v[5:6], null, 0.5     ; encoding: [0x05,0x00,0x0e,0xd5,0x7c,0xe0,0x01,0x00]
955
956v_max_num_f64_e64 v[5:6], -1, -1
957// GFX12: v_max_num_f64_e64 v[5:6], -1, -1        ; encoding: [0x05,0x00,0x0e,0xd5,0xc1,0x82,0x01,0x00]
958
959v_max_num_f64_e64 v[5:6], 0.5, null mul:2
960// GFX12: v_max_num_f64_e64 v[5:6], 0.5, null mul:2 ; encoding: [0x05,0x00,0x0e,0xd5,0xf0,0xf8,0x00,0x08]
961
962v_max_num_f64_e64 v[5:6], -|src_scc|, -|exec| mul:4
963// GFX12: v_max_num_f64_e64 v[5:6], -|src_scc|, -|exec| mul:4 ; encoding: [0x05,0x03,0x0e,0xd5,0xfd,0xfc,0x00,0x70]
964
965v_max_num_f64_e64 v[254:255], 0xaf123456, -|vcc| clamp div:2
966// GFX12: v_max_num_f64_e64 v[254:255], 0xaf123456, -|vcc| clamp div:2 ; encoding: [0xfe,0x82,0x0e,0xd5,0xff,0xd4,0x00,0x58,0x56,0x34,0x12,0xaf]
967
968v_max_i32_e64 v5, v1, v2
969// GFX12: v_max_i32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x12,0xd5,0x01,0x05,0x02,0x00]
970
971v_max_i32_e64 v5, v255, v255
972// GFX12: v_max_i32_e64 v5, v255, v255            ; encoding: [0x05,0x00,0x12,0xd5,0xff,0xff,0x03,0x00]
973
974v_max_i32_e64 v5, s1, s2
975// GFX12: v_max_i32_e64 v5, s1, s2                ; encoding: [0x05,0x00,0x12,0xd5,0x01,0x04,0x00,0x00]
976
977v_max_i32_e64 v5, s105, s105
978// GFX12: v_max_i32_e64 v5, s105, s105            ; encoding: [0x05,0x00,0x12,0xd5,0x69,0xd2,0x00,0x00]
979
980v_max_i32_e64 v5, vcc_lo, ttmp15
981// GFX12: v_max_i32_e64 v5, vcc_lo, ttmp15        ; encoding: [0x05,0x00,0x12,0xd5,0x6a,0xf6,0x00,0x00]
982
983v_max_i32_e64 v5, vcc_hi, 0xaf123456
984// GFX12: v_max_i32_e64 v5, vcc_hi, 0xaf123456    ; encoding: [0x05,0x00,0x12,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
985
986v_max_i32_e64 v5, ttmp15, src_scc
987// GFX12: v_max_i32_e64 v5, ttmp15, src_scc       ; encoding: [0x05,0x00,0x12,0xd5,0x7b,0xfa,0x01,0x00]
988
989v_max_i32_e64 v5, m0, 0.5
990// GFX12: v_max_i32_e64 v5, m0, 0.5               ; encoding: [0x05,0x00,0x12,0xd5,0x7d,0xe0,0x01,0x00]
991
992v_max_i32_e64 v5, exec_lo, -1
993// GFX12: v_max_i32_e64 v5, exec_lo, -1           ; encoding: [0x05,0x00,0x12,0xd5,0x7e,0x82,0x01,0x00]
994
995v_max_i32_e64 v5, exec_hi, null
996// GFX12: v_max_i32_e64 v5, exec_hi, null         ; encoding: [0x05,0x00,0x12,0xd5,0x7f,0xf8,0x00,0x00]
997
998v_max_i32_e64 v5, null, exec_lo
999// GFX12: v_max_i32_e64 v5, null, exec_lo         ; encoding: [0x05,0x00,0x12,0xd5,0x7c,0xfc,0x00,0x00]
1000
1001v_max_i32_e64 v5, -1, exec_hi
1002// GFX12: v_max_i32_e64 v5, -1, exec_hi           ; encoding: [0x05,0x00,0x12,0xd5,0xc1,0xfe,0x00,0x00]
1003
1004v_max_i32_e64 v5, 0.5, m0
1005// GFX12: v_max_i32_e64 v5, 0.5, m0               ; encoding: [0x05,0x00,0x12,0xd5,0xf0,0xfa,0x00,0x00]
1006
1007v_max_i32_e64 v5, src_scc, vcc_lo
1008// GFX12: v_max_i32_e64 v5, src_scc, vcc_lo       ; encoding: [0x05,0x00,0x12,0xd5,0xfd,0xd4,0x00,0x00]
1009
1010v_max_i32_e64 v255, 0xaf123456, vcc_hi
1011// GFX12: v_max_i32_e64 v255, 0xaf123456, vcc_hi  ; encoding: [0xff,0x00,0x12,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
1012
1013v_max_u32_e64 v5, v1, v2
1014// GFX12: v_max_u32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x14,0xd5,0x01,0x05,0x02,0x00]
1015
1016v_max_u32_e64 v5, v255, v255
1017// GFX12: v_max_u32_e64 v5, v255, v255            ; encoding: [0x05,0x00,0x14,0xd5,0xff,0xff,0x03,0x00]
1018
1019v_max_u32_e64 v5, s1, s2
1020// GFX12: v_max_u32_e64 v5, s1, s2                ; encoding: [0x05,0x00,0x14,0xd5,0x01,0x04,0x00,0x00]
1021
1022v_max_u32_e64 v5, s105, s105
1023// GFX12: v_max_u32_e64 v5, s105, s105            ; encoding: [0x05,0x00,0x14,0xd5,0x69,0xd2,0x00,0x00]
1024
1025v_max_u32_e64 v5, vcc_lo, ttmp15
1026// GFX12: v_max_u32_e64 v5, vcc_lo, ttmp15        ; encoding: [0x05,0x00,0x14,0xd5,0x6a,0xf6,0x00,0x00]
1027
1028v_max_u32_e64 v5, vcc_hi, 0xaf123456
1029// GFX12: v_max_u32_e64 v5, vcc_hi, 0xaf123456    ; encoding: [0x05,0x00,0x14,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1030
1031v_max_u32_e64 v5, ttmp15, src_scc
1032// GFX12: v_max_u32_e64 v5, ttmp15, src_scc       ; encoding: [0x05,0x00,0x14,0xd5,0x7b,0xfa,0x01,0x00]
1033
1034v_max_u32_e64 v5, m0, 0.5
1035// GFX12: v_max_u32_e64 v5, m0, 0.5               ; encoding: [0x05,0x00,0x14,0xd5,0x7d,0xe0,0x01,0x00]
1036
1037v_max_u32_e64 v5, exec_lo, -1
1038// GFX12: v_max_u32_e64 v5, exec_lo, -1           ; encoding: [0x05,0x00,0x14,0xd5,0x7e,0x82,0x01,0x00]
1039
1040v_max_u32_e64 v5, exec_hi, null
1041// GFX12: v_max_u32_e64 v5, exec_hi, null         ; encoding: [0x05,0x00,0x14,0xd5,0x7f,0xf8,0x00,0x00]
1042
1043v_max_u32_e64 v5, null, exec_lo
1044// GFX12: v_max_u32_e64 v5, null, exec_lo         ; encoding: [0x05,0x00,0x14,0xd5,0x7c,0xfc,0x00,0x00]
1045
1046v_max_u32_e64 v5, -1, exec_hi
1047// GFX12: v_max_u32_e64 v5, -1, exec_hi           ; encoding: [0x05,0x00,0x14,0xd5,0xc1,0xfe,0x00,0x00]
1048
1049v_max_u32_e64 v5, 0.5, m0
1050// GFX12: v_max_u32_e64 v5, 0.5, m0               ; encoding: [0x05,0x00,0x14,0xd5,0xf0,0xfa,0x00,0x00]
1051
1052v_max_u32_e64 v5, src_scc, vcc_lo
1053// GFX12: v_max_u32_e64 v5, src_scc, vcc_lo       ; encoding: [0x05,0x00,0x14,0xd5,0xfd,0xd4,0x00,0x00]
1054
1055v_max_u32_e64 v255, 0xaf123456, vcc_hi
1056// GFX12: v_max_u32_e64 v255, 0xaf123456, vcc_hi  ; encoding: [0xff,0x00,0x14,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
1057
1058v_min_num_f16_e64 v5, v1, v2
1059// GFX12: v_min_num_f16_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x30,0xd5,0x01,0x05,0x02,0x00]
1060
1061v_min_num_f16_e64 v5, v255, v255
1062// GFX12: v_min_num_f16_e64 v5, v255, v255        ; encoding: [0x05,0x00,0x30,0xd5,0xff,0xff,0x03,0x00]
1063
1064v_min_num_f16_e64 v5, s1, s2
1065// GFX12: v_min_num_f16_e64 v5, s1, s2            ; encoding: [0x05,0x00,0x30,0xd5,0x01,0x04,0x00,0x00]
1066
1067v_min_num_f16_e64 v5, s105, s105
1068// GFX12: v_min_num_f16_e64 v5, s105, s105        ; encoding: [0x05,0x00,0x30,0xd5,0x69,0xd2,0x00,0x00]
1069
1070v_min_num_f16_e64 v5, vcc_lo, ttmp15
1071// GFX12: v_min_num_f16_e64 v5, vcc_lo, ttmp15    ; encoding: [0x05,0x00,0x30,0xd5,0x6a,0xf6,0x00,0x00]
1072
1073v_min_num_f16_e64 v5, vcc_hi, 0xfe0b
1074// GFX12: v_min_num_f16_e64 v5, vcc_hi, 0xfe0b    ; encoding: [0x05,0x00,0x30,0xd5,0x6b,0xfe,0x01,0x00,0x0b,0xfe,0x00,0x00]
1075
1076v_min_num_f16_e64 v5, ttmp15, src_scc
1077// GFX12: v_min_num_f16_e64 v5, ttmp15, src_scc   ; encoding: [0x05,0x00,0x30,0xd5,0x7b,0xfa,0x01,0x00]
1078
1079v_min_num_f16_e64 v5, m0, 0.5
1080// GFX12: v_min_num_f16_e64 v5, m0, 0.5           ; encoding: [0x05,0x00,0x30,0xd5,0x7d,0xe0,0x01,0x00]
1081
1082v_min_num_f16_e64 v5, exec_lo, -1
1083// GFX12: v_min_num_f16_e64 v5, exec_lo, -1       ; encoding: [0x05,0x00,0x30,0xd5,0x7e,0x82,0x01,0x00]
1084
1085v_min_num_f16_e64 v5, |exec_hi|, null
1086// GFX12: v_min_num_f16_e64 v5, |exec_hi|, null   ; encoding: [0x05,0x01,0x30,0xd5,0x7f,0xf8,0x00,0x00]
1087
1088v_min_num_f16_e64 v5, null, exec_lo
1089// GFX12: v_min_num_f16_e64 v5, null, exec_lo     ; encoding: [0x05,0x00,0x30,0xd5,0x7c,0xfc,0x00,0x00]
1090
1091v_min_num_f16_e64 v5, -1, exec_hi
1092// GFX12: v_min_num_f16_e64 v5, -1, exec_hi       ; encoding: [0x05,0x00,0x30,0xd5,0xc1,0xfe,0x00,0x00]
1093
1094v_min_num_f16_e64 v5, 0.5, -m0 mul:2
1095// GFX12: v_min_num_f16_e64 v5, 0.5, -m0 mul:2    ; encoding: [0x05,0x00,0x30,0xd5,0xf0,0xfa,0x00,0x48]
1096
1097v_min_num_f16_e64 v5, -src_scc, |vcc_lo| mul:4
1098// GFX12: v_min_num_f16_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x30,0xd5,0xfd,0xd4,0x00,0x30]
1099
1100v_min_num_f16_e64 v255, -|0xfe0b|, -|vcc_hi| clamp div:2
1101// GFX12: v_min_num_f16_e64 v255, -|0xfe0b|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x30,0xd5,0xff,0xd6,0x00,0x78,0x0b,0xfe,0x00,0x00]
1102
1103v_min_num_f32_e64 v5, v1, v2
1104// GFX12: v_min_num_f32_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x15,0xd5,0x01,0x05,0x02,0x00]
1105
1106v_min_num_f32_e64 v5, v255, v255
1107// GFX12: v_min_num_f32_e64 v5, v255, v255        ; encoding: [0x05,0x00,0x15,0xd5,0xff,0xff,0x03,0x00]
1108
1109v_min_num_f32_e64 v5, s1, s2
1110// GFX12: v_min_num_f32_e64 v5, s1, s2            ; encoding: [0x05,0x00,0x15,0xd5,0x01,0x04,0x00,0x00]
1111
1112v_min_num_f32_e64 v5, s105, s105
1113// GFX12: v_min_num_f32_e64 v5, s105, s105        ; encoding: [0x05,0x00,0x15,0xd5,0x69,0xd2,0x00,0x00]
1114
1115v_min_num_f32_e64 v5, vcc_lo, ttmp15
1116// GFX12: v_min_num_f32_e64 v5, vcc_lo, ttmp15    ; encoding: [0x05,0x00,0x15,0xd5,0x6a,0xf6,0x00,0x00]
1117
1118v_min_num_f32_e64 v5, vcc_hi, 0xaf123456
1119// GFX12: v_min_num_f32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x15,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1120
1121v_min_num_f32_e64 v5, ttmp15, src_scc
1122// GFX12: v_min_num_f32_e64 v5, ttmp15, src_scc   ; encoding: [0x05,0x00,0x15,0xd5,0x7b,0xfa,0x01,0x00]
1123
1124v_min_num_f32_e64 v5, m0, 0.5
1125// GFX12: v_min_num_f32_e64 v5, m0, 0.5           ; encoding: [0x05,0x00,0x15,0xd5,0x7d,0xe0,0x01,0x00]
1126
1127v_min_num_f32_e64 v5, exec_lo, -1
1128// GFX12: v_min_num_f32_e64 v5, exec_lo, -1       ; encoding: [0x05,0x00,0x15,0xd5,0x7e,0x82,0x01,0x00]
1129
1130v_min_num_f32_e64 v5, |exec_hi|, null
1131// GFX12: v_min_num_f32_e64 v5, |exec_hi|, null   ; encoding: [0x05,0x01,0x15,0xd5,0x7f,0xf8,0x00,0x00]
1132
1133v_min_num_f32_e64 v5, null, exec_lo
1134// GFX12: v_min_num_f32_e64 v5, null, exec_lo     ; encoding: [0x05,0x00,0x15,0xd5,0x7c,0xfc,0x00,0x00]
1135
1136v_min_num_f32_e64 v5, -1, exec_hi
1137// GFX12: v_min_num_f32_e64 v5, -1, exec_hi       ; encoding: [0x05,0x00,0x15,0xd5,0xc1,0xfe,0x00,0x00]
1138
1139v_min_num_f32_e64 v5, 0.5, -m0 mul:2
1140// GFX12: v_min_num_f32_e64 v5, 0.5, -m0 mul:2    ; encoding: [0x05,0x00,0x15,0xd5,0xf0,0xfa,0x00,0x48]
1141
1142v_min_num_f32_e64 v5, -src_scc, |vcc_lo| mul:4
1143// GFX12: v_min_num_f32_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x15,0xd5,0xfd,0xd4,0x00,0x30]
1144
1145v_min_num_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2
1146// GFX12: v_min_num_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x15,0xd5,0xff,0xd6,0x00,0x78,0x56,0x34,0x12,0xaf]
1147
1148v_min_num_f64_e64 v[5:6], v[2:3], v[4:5]
1149// GFX12: v_min_num_f64_e64 v[5:6], v[2:3], v[4:5] ; encoding: [0x05,0x00,0x0d,0xd5,0x02,0x09,0x02,0x00]
1150
1151v_min_num_f64_e64 v[5:6], v[104:105], v[104:105]
1152// GFX12: v_min_num_f64_e64 v[5:6], v[104:105], v[104:105] ; encoding: [0x05,0x00,0x0d,0xd5,0x68,0xd1,0x02,0x00]
1153
1154v_min_num_f64_e64 v[5:6], s[2:3], s[4:5]
1155// GFX12: v_min_num_f64_e64 v[5:6], s[2:3], s[4:5] ; encoding: [0x05,0x00,0x0d,0xd5,0x02,0x08,0x00,0x00]
1156
1157v_min_num_f64_e64 v[5:6], s[104:105], s[104:105]
1158// GFX12: v_min_num_f64_e64 v[5:6], s[104:105], s[104:105] ; encoding: [0x05,0x00,0x0d,0xd5,0x68,0xd0,0x00,0x00]
1159
1160v_min_num_f64_e64 v[5:6], vcc, ttmp[14:15]
1161// GFX12: v_min_num_f64_e64 v[5:6], vcc, ttmp[14:15] ; encoding: [0x05,0x00,0x0d,0xd5,0x6a,0xf4,0x00,0x00]
1162
1163v_min_num_f64_e64 v[5:6], ttmp[14:15], 0xaf123456
1164// GFX12: v_min_num_f64_e64 v[5:6], ttmp[14:15], 0xaf123456 ; encoding: [0x05,0x00,0x0d,0xd5,0x7a,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1165
1166v_min_num_f64_e64 v[5:6], -|exec|, src_scc
1167// GFX12: v_min_num_f64_e64 v[5:6], -|exec|, src_scc ; encoding: [0x05,0x01,0x0d,0xd5,0x7e,0xfa,0x01,0x20]
1168
1169v_min_num_f64_e64 v[5:6], null, 0.5
1170// GFX12: v_min_num_f64_e64 v[5:6], null, 0.5     ; encoding: [0x05,0x00,0x0d,0xd5,0x7c,0xe0,0x01,0x00]
1171
1172v_min_num_f64_e64 v[5:6], -1, -1
1173// GFX12: v_min_num_f64_e64 v[5:6], -1, -1        ; encoding: [0x05,0x00,0x0d,0xd5,0xc1,0x82,0x01,0x00]
1174
1175v_min_num_f64_e64 v[5:6], 0.5, null mul:2
1176// GFX12: v_min_num_f64_e64 v[5:6], 0.5, null mul:2 ; encoding: [0x05,0x00,0x0d,0xd5,0xf0,0xf8,0x00,0x08]
1177
1178v_min_num_f64_e64 v[5:6], -|src_scc|, -|exec| mul:4
1179// GFX12: v_min_num_f64_e64 v[5:6], -|src_scc|, -|exec| mul:4 ; encoding: [0x05,0x03,0x0d,0xd5,0xfd,0xfc,0x00,0x70]
1180
1181v_min_num_f64_e64 v[254:255], 0xaf123456, -|vcc| clamp div:2
1182// GFX12: v_min_num_f64_e64 v[254:255], 0xaf123456, -|vcc| clamp div:2 ; encoding: [0xfe,0x82,0x0d,0xd5,0xff,0xd4,0x00,0x58,0x56,0x34,0x12,0xaf]
1183
1184v_min_i32_e64 v5, v1, v2
1185// GFX12: v_min_i32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x11,0xd5,0x01,0x05,0x02,0x00]
1186
1187v_min_i32_e64 v5, v255, v255
1188// GFX12: v_min_i32_e64 v5, v255, v255            ; encoding: [0x05,0x00,0x11,0xd5,0xff,0xff,0x03,0x00]
1189
1190v_min_i32_e64 v5, s1, s2
1191// GFX12: v_min_i32_e64 v5, s1, s2                ; encoding: [0x05,0x00,0x11,0xd5,0x01,0x04,0x00,0x00]
1192
1193v_min_i32_e64 v5, s105, s105
1194// GFX12: v_min_i32_e64 v5, s105, s105            ; encoding: [0x05,0x00,0x11,0xd5,0x69,0xd2,0x00,0x00]
1195
1196v_min_i32_e64 v5, vcc_lo, ttmp15
1197// GFX12: v_min_i32_e64 v5, vcc_lo, ttmp15        ; encoding: [0x05,0x00,0x11,0xd5,0x6a,0xf6,0x00,0x00]
1198
1199v_min_i32_e64 v5, vcc_hi, 0xaf123456
1200// GFX12: v_min_i32_e64 v5, vcc_hi, 0xaf123456    ; encoding: [0x05,0x00,0x11,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1201
1202v_min_i32_e64 v5, ttmp15, src_scc
1203// GFX12: v_min_i32_e64 v5, ttmp15, src_scc       ; encoding: [0x05,0x00,0x11,0xd5,0x7b,0xfa,0x01,0x00]
1204
1205v_min_i32_e64 v5, m0, 0.5
1206// GFX12: v_min_i32_e64 v5, m0, 0.5               ; encoding: [0x05,0x00,0x11,0xd5,0x7d,0xe0,0x01,0x00]
1207
1208v_min_i32_e64 v5, exec_lo, -1
1209// GFX12: v_min_i32_e64 v5, exec_lo, -1           ; encoding: [0x05,0x00,0x11,0xd5,0x7e,0x82,0x01,0x00]
1210
1211v_min_i32_e64 v5, exec_hi, null
1212// GFX12: v_min_i32_e64 v5, exec_hi, null         ; encoding: [0x05,0x00,0x11,0xd5,0x7f,0xf8,0x00,0x00]
1213
1214v_min_i32_e64 v5, null, exec_lo
1215// GFX12: v_min_i32_e64 v5, null, exec_lo         ; encoding: [0x05,0x00,0x11,0xd5,0x7c,0xfc,0x00,0x00]
1216
1217v_min_i32_e64 v5, -1, exec_hi
1218// GFX12: v_min_i32_e64 v5, -1, exec_hi           ; encoding: [0x05,0x00,0x11,0xd5,0xc1,0xfe,0x00,0x00]
1219
1220v_min_i32_e64 v5, 0.5, m0
1221// GFX12: v_min_i32_e64 v5, 0.5, m0               ; encoding: [0x05,0x00,0x11,0xd5,0xf0,0xfa,0x00,0x00]
1222
1223v_min_i32_e64 v5, src_scc, vcc_lo
1224// GFX12: v_min_i32_e64 v5, src_scc, vcc_lo       ; encoding: [0x05,0x00,0x11,0xd5,0xfd,0xd4,0x00,0x00]
1225
1226v_min_i32_e64 v255, 0xaf123456, vcc_hi
1227// GFX12: v_min_i32_e64 v255, 0xaf123456, vcc_hi  ; encoding: [0xff,0x00,0x11,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
1228
1229v_min_u32_e64 v5, v1, v2
1230// GFX12: v_min_u32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x13,0xd5,0x01,0x05,0x02,0x00]
1231
1232v_min_u32_e64 v5, v255, v255
1233// GFX12: v_min_u32_e64 v5, v255, v255            ; encoding: [0x05,0x00,0x13,0xd5,0xff,0xff,0x03,0x00]
1234
1235v_min_u32_e64 v5, s1, s2
1236// GFX12: v_min_u32_e64 v5, s1, s2                ; encoding: [0x05,0x00,0x13,0xd5,0x01,0x04,0x00,0x00]
1237
1238v_min_u32_e64 v5, s105, s105
1239// GFX12: v_min_u32_e64 v5, s105, s105            ; encoding: [0x05,0x00,0x13,0xd5,0x69,0xd2,0x00,0x00]
1240
1241v_min_u32_e64 v5, vcc_lo, ttmp15
1242// GFX12: v_min_u32_e64 v5, vcc_lo, ttmp15        ; encoding: [0x05,0x00,0x13,0xd5,0x6a,0xf6,0x00,0x00]
1243
1244v_min_u32_e64 v5, vcc_hi, 0xaf123456
1245// GFX12: v_min_u32_e64 v5, vcc_hi, 0xaf123456    ; encoding: [0x05,0x00,0x13,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1246
1247v_min_u32_e64 v5, ttmp15, src_scc
1248// GFX12: v_min_u32_e64 v5, ttmp15, src_scc       ; encoding: [0x05,0x00,0x13,0xd5,0x7b,0xfa,0x01,0x00]
1249
1250v_min_u32_e64 v5, m0, 0.5
1251// GFX12: v_min_u32_e64 v5, m0, 0.5               ; encoding: [0x05,0x00,0x13,0xd5,0x7d,0xe0,0x01,0x00]
1252
1253v_min_u32_e64 v5, exec_lo, -1
1254// GFX12: v_min_u32_e64 v5, exec_lo, -1           ; encoding: [0x05,0x00,0x13,0xd5,0x7e,0x82,0x01,0x00]
1255
1256v_min_u32_e64 v5, exec_hi, null
1257// GFX12: v_min_u32_e64 v5, exec_hi, null         ; encoding: [0x05,0x00,0x13,0xd5,0x7f,0xf8,0x00,0x00]
1258
1259v_min_u32_e64 v5, null, exec_lo
1260// GFX12: v_min_u32_e64 v5, null, exec_lo         ; encoding: [0x05,0x00,0x13,0xd5,0x7c,0xfc,0x00,0x00]
1261
1262v_min_u32_e64 v5, -1, exec_hi
1263// GFX12: v_min_u32_e64 v5, -1, exec_hi           ; encoding: [0x05,0x00,0x13,0xd5,0xc1,0xfe,0x00,0x00]
1264
1265v_min_u32_e64 v5, 0.5, m0
1266// GFX12: v_min_u32_e64 v5, 0.5, m0               ; encoding: [0x05,0x00,0x13,0xd5,0xf0,0xfa,0x00,0x00]
1267
1268v_min_u32_e64 v5, src_scc, vcc_lo
1269// GFX12: v_min_u32_e64 v5, src_scc, vcc_lo       ; encoding: [0x05,0x00,0x13,0xd5,0xfd,0xd4,0x00,0x00]
1270
1271v_min_u32_e64 v255, 0xaf123456, vcc_hi
1272// GFX12: v_min_u32_e64 v255, 0xaf123456, vcc_hi  ; encoding: [0xff,0x00,0x13,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
1273
1274v_mul_dx9_zero_f32_e64 v5, v1, v2
1275// GFX12: v_mul_dx9_zero_f32_e64 v5, v1, v2       ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x00]
1276
1277v_mul_dx9_zero_f32_e64 v5, v255, v255
1278// GFX12: v_mul_dx9_zero_f32_e64 v5, v255, v255   ; encoding: [0x05,0x00,0x07,0xd5,0xff,0xff,0x03,0x00]
1279
1280v_mul_dx9_zero_f32_e64 v5, s1, s2
1281// GFX12: v_mul_dx9_zero_f32_e64 v5, s1, s2       ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x04,0x00,0x00]
1282
1283v_mul_dx9_zero_f32_e64 v5, s105, s105
1284// GFX12: v_mul_dx9_zero_f32_e64 v5, s105, s105   ; encoding: [0x05,0x00,0x07,0xd5,0x69,0xd2,0x00,0x00]
1285
1286v_mul_dx9_zero_f32_e64 v5, vcc_lo, ttmp15
1287// GFX12: v_mul_dx9_zero_f32_e64 v5, vcc_lo, ttmp15 ; encoding: [0x05,0x00,0x07,0xd5,0x6a,0xf6,0x00,0x00]
1288
1289v_mul_dx9_zero_f32_e64 v5, vcc_hi, 0xaf123456
1290// GFX12: v_mul_dx9_zero_f32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x07,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1291
1292v_mul_dx9_zero_f32_e64 v5, ttmp15, src_scc
1293// GFX12: v_mul_dx9_zero_f32_e64 v5, ttmp15, src_scc ; encoding: [0x05,0x00,0x07,0xd5,0x7b,0xfa,0x01,0x00]
1294
1295v_mul_dx9_zero_f32_e64 v5, m0, 0.5
1296// GFX12: v_mul_dx9_zero_f32_e64 v5, m0, 0.5      ; encoding: [0x05,0x00,0x07,0xd5,0x7d,0xe0,0x01,0x00]
1297
1298v_mul_dx9_zero_f32_e64 v5, exec_lo, -1
1299// GFX12: v_mul_dx9_zero_f32_e64 v5, exec_lo, -1  ; encoding: [0x05,0x00,0x07,0xd5,0x7e,0x82,0x01,0x00]
1300
1301v_mul_dx9_zero_f32_e64 v5, |exec_hi|, null
1302// GFX12: v_mul_dx9_zero_f32_e64 v5, |exec_hi|, null ; encoding: [0x05,0x01,0x07,0xd5,0x7f,0xf8,0x00,0x00]
1303
1304v_mul_dx9_zero_f32_e64 v5, null, exec_lo
1305// GFX12: v_mul_dx9_zero_f32_e64 v5, null, exec_lo ; encoding: [0x05,0x00,0x07,0xd5,0x7c,0xfc,0x00,0x00]
1306
1307v_mul_dx9_zero_f32_e64 v5, -1, exec_hi
1308// GFX12: v_mul_dx9_zero_f32_e64 v5, -1, exec_hi  ; encoding: [0x05,0x00,0x07,0xd5,0xc1,0xfe,0x00,0x00]
1309
1310v_mul_dx9_zero_f32_e64 v5, 0.5, -m0 mul:2
1311// GFX12: v_mul_dx9_zero_f32_e64 v5, 0.5, -m0 mul:2 ; encoding: [0x05,0x00,0x07,0xd5,0xf0,0xfa,0x00,0x48]
1312
1313v_mul_dx9_zero_f32_e64 v5, -src_scc, |vcc_lo| mul:4
1314// GFX12: v_mul_dx9_zero_f32_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x07,0xd5,0xfd,0xd4,0x00,0x30]
1315
1316v_mul_dx9_zero_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2
1317// GFX12: v_mul_dx9_zero_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x07,0xd5,0xff,0xd6,0x00,0x78,0x56,0x34,0x12,0xaf]
1318
1319v_mul_f16_e64 v5.l, v1.l, v2.l
1320// GFX12: v_mul_f16_e64 v5.l, v1.l, v2.l          ; encoding: [0x05,0x00,0x35,0xd5,0x01,0x05,0x02,0x00]
1321
1322v_mul_f16_e64 v5.l, v255.l, v255.l
1323// GFX12: v_mul_f16_e64 v5.l, v255.l, v255.l      ; encoding: [0x05,0x00,0x35,0xd5,0xff,0xff,0x03,0x00]
1324
1325v_mul_f16_e64 v5.l, s1, s2
1326// GFX12: v_mul_f16_e64 v5.l, s1, s2              ; encoding: [0x05,0x00,0x35,0xd5,0x01,0x04,0x00,0x00]
1327
1328v_mul_f16_e64 v5.l, s105, s105
1329// GFX12: v_mul_f16_e64 v5.l, s105, s105          ; encoding: [0x05,0x00,0x35,0xd5,0x69,0xd2,0x00,0x00]
1330
1331v_mul_f16_e64 v5.l, vcc_lo, ttmp15
1332// GFX12: v_mul_f16_e64 v5.l, vcc_lo, ttmp15      ; encoding: [0x05,0x00,0x35,0xd5,0x6a,0xf6,0x00,0x00]
1333
1334v_mul_f16_e64 v5.l, vcc_hi, 0xfe0b
1335// GFX12: v_mul_f16_e64 v5.l, vcc_hi, 0xfe0b      ; encoding: [0x05,0x00,0x35,0xd5,0x6b,0xfe,0x01,0x00,0x0b,0xfe,0x00,0x00]
1336
1337v_mul_f16_e64 v5.l, ttmp15, src_scc
1338// GFX12: v_mul_f16_e64 v5.l, ttmp15, src_scc     ; encoding: [0x05,0x00,0x35,0xd5,0x7b,0xfa,0x01,0x00]
1339
1340v_mul_f16_e64 v5.l, m0, 0.5
1341// GFX12: v_mul_f16_e64 v5.l, m0, 0.5             ; encoding: [0x05,0x00,0x35,0xd5,0x7d,0xe0,0x01,0x00]
1342
1343v_mul_f16_e64 v5.l, exec_lo, -1
1344// GFX12: v_mul_f16_e64 v5.l, exec_lo, -1         ; encoding: [0x05,0x00,0x35,0xd5,0x7e,0x82,0x01,0x00]
1345
1346v_mul_f16_e64 v5.l, |exec_hi|, null
1347// GFX12: v_mul_f16_e64 v5.l, |exec_hi|, null     ; encoding: [0x05,0x01,0x35,0xd5,0x7f,0xf8,0x00,0x00]
1348
1349v_mul_f16_e64 v5.l, null, exec_lo
1350// GFX12: v_mul_f16_e64 v5.l, null, exec_lo       ; encoding: [0x05,0x00,0x35,0xd5,0x7c,0xfc,0x00,0x00]
1351
1352v_mul_f16_e64 v5.l, -1, exec_hi
1353// GFX12: v_mul_f16_e64 v5.l, -1, exec_hi         ; encoding: [0x05,0x00,0x35,0xd5,0xc1,0xfe,0x00,0x00]
1354
1355v_mul_f16_e64 v5.l, 0.5, -m0 mul:2
1356// GFX12: v_mul_f16_e64 v5.l, 0.5, -m0 mul:2      ; encoding: [0x05,0x00,0x35,0xd5,0xf0,0xfa,0x00,0x48]
1357
1358v_mul_f16_e64 v5.l, -src_scc, |vcc_lo| mul:4
1359// GFX12: v_mul_f16_e64 v5.l, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x35,0xd5,0xfd,0xd4,0x00,0x30]
1360
1361v_mul_f16_e64 v255.l, -|0xfe0b|, -|vcc_hi| clamp div:2
1362// GFX12: v_mul_f16_e64 v255.l, -|0xfe0b|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x35,0xd5,0xff,0xd6,0x00,0x78,0x0b,0xfe,0x00,0x00]
1363
1364v_mul_f16_e64 v5.l, v1.h, v2.l
1365// GFX12: v_mul_f16_e64 v5.l, v1.h, v2.l op_sel:[1,0,0] ; encoding: [0x05,0x08,0x35,0xd5,0x01,0x05,0x02,0x00]
1366
1367v_mul_f16_e64 v5.l, v255.l, v255.h
1368// GFX12: v_mul_f16_e64 v5.l, v255.l, v255.h op_sel:[0,1,0] ; encoding: [0x05,0x10,0x35,0xd5,0xff,0xff,0x03,0x00]
1369
1370v_mul_f16_e64 v255.h, -|0xfe0b|, -|vcc_hi| clamp div:2
1371// GFX12: v_mul_f16_e64 v255.h, -|0xfe0b|, -|vcc_hi| op_sel:[0,0,1] clamp div:2 ; encoding: [0xff,0xc3,0x35,0xd5,0xff,0xd6,0x00,0x78,0x0b,0xfe,0x00,0x00]
1372
1373v_mul_f32_e64 v5, v1, v2
1374// GFX12: v_mul_f32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x00]
1375
1376v_mul_f32_e64 v5, v255, v255
1377// GFX12: v_mul_f32_e64 v5, v255, v255            ; encoding: [0x05,0x00,0x08,0xd5,0xff,0xff,0x03,0x00]
1378
1379v_mul_f32_e64 v5, s1, s2
1380// GFX12: v_mul_f32_e64 v5, s1, s2                ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x04,0x00,0x00]
1381
1382v_mul_f32_e64 v5, s105, s105
1383// GFX12: v_mul_f32_e64 v5, s105, s105            ; encoding: [0x05,0x00,0x08,0xd5,0x69,0xd2,0x00,0x00]
1384
1385v_mul_f32_e64 v5, vcc_lo, ttmp15
1386// GFX12: v_mul_f32_e64 v5, vcc_lo, ttmp15        ; encoding: [0x05,0x00,0x08,0xd5,0x6a,0xf6,0x00,0x00]
1387
1388v_mul_f32_e64 v5, vcc_hi, 0xaf123456
1389// GFX12: v_mul_f32_e64 v5, vcc_hi, 0xaf123456    ; encoding: [0x05,0x00,0x08,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1390
1391v_mul_f32_e64 v5, ttmp15, src_scc
1392// GFX12: v_mul_f32_e64 v5, ttmp15, src_scc       ; encoding: [0x05,0x00,0x08,0xd5,0x7b,0xfa,0x01,0x00]
1393
1394v_mul_f32_e64 v5, m0, 0.5
1395// GFX12: v_mul_f32_e64 v5, m0, 0.5               ; encoding: [0x05,0x00,0x08,0xd5,0x7d,0xe0,0x01,0x00]
1396
1397v_mul_f32_e64 v5, exec_lo, -1
1398// GFX12: v_mul_f32_e64 v5, exec_lo, -1           ; encoding: [0x05,0x00,0x08,0xd5,0x7e,0x82,0x01,0x00]
1399
1400v_mul_f32_e64 v5, |exec_hi|, null
1401// GFX12: v_mul_f32_e64 v5, |exec_hi|, null       ; encoding: [0x05,0x01,0x08,0xd5,0x7f,0xf8,0x00,0x00]
1402
1403v_mul_f32_e64 v5, null, exec_lo
1404// GFX12: v_mul_f32_e64 v5, null, exec_lo         ; encoding: [0x05,0x00,0x08,0xd5,0x7c,0xfc,0x00,0x00]
1405
1406v_mul_f32_e64 v5, -1, exec_hi
1407// GFX12: v_mul_f32_e64 v5, -1, exec_hi           ; encoding: [0x05,0x00,0x08,0xd5,0xc1,0xfe,0x00,0x00]
1408
1409v_mul_f32_e64 v5, 0.5, -m0 mul:2
1410// GFX12: v_mul_f32_e64 v5, 0.5, -m0 mul:2        ; encoding: [0x05,0x00,0x08,0xd5,0xf0,0xfa,0x00,0x48]
1411
1412v_mul_f32_e64 v5, -src_scc, |vcc_lo| mul:4
1413// GFX12: v_mul_f32_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x08,0xd5,0xfd,0xd4,0x00,0x30]
1414
1415v_mul_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2
1416// GFX12: v_mul_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x08,0xd5,0xff,0xd6,0x00,0x78,0x56,0x34,0x12,0xaf]
1417
1418v_mul_f64_e64 v[5:6], v[2:3], v[4:5]
1419// GFX12: v_mul_f64_e64 v[5:6], v[2:3], v[4:5]    ; encoding: [0x05,0x00,0x06,0xd5,0x02,0x09,0x02,0x00]
1420
1421v_mul_f64_e64 v[5:6], v[104:105], v[104:105]
1422// GFX12: v_mul_f64_e64 v[5:6], v[104:105], v[104:105] ; encoding: [0x05,0x00,0x06,0xd5,0x68,0xd1,0x02,0x00]
1423
1424v_mul_f64_e64 v[5:6], s[2:3], s[4:5]
1425// GFX12: v_mul_f64_e64 v[5:6], s[2:3], s[4:5]    ; encoding: [0x05,0x00,0x06,0xd5,0x02,0x08,0x00,0x00]
1426
1427v_mul_f64_e64 v[5:6], s[104:105], s[104:105]
1428// GFX12: v_mul_f64_e64 v[5:6], s[104:105], s[104:105] ; encoding: [0x05,0x00,0x06,0xd5,0x68,0xd0,0x00,0x00]
1429
1430v_mul_f64_e64 v[5:6], vcc, ttmp[14:15]
1431// GFX12: v_mul_f64_e64 v[5:6], vcc, ttmp[14:15]  ; encoding: [0x05,0x00,0x06,0xd5,0x6a,0xf4,0x00,0x00]
1432
1433v_mul_f64_e64 v[5:6], ttmp[14:15], 0xaf123456
1434// GFX12: v_mul_f64_e64 v[5:6], ttmp[14:15], 0xaf123456 ; encoding: [0x05,0x00,0x06,0xd5,0x7a,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1435
1436v_mul_f64_e64 v[5:6], -|exec|, src_scc
1437// GFX12: v_mul_f64_e64 v[5:6], -|exec|, src_scc  ; encoding: [0x05,0x01,0x06,0xd5,0x7e,0xfa,0x01,0x20]
1438
1439v_mul_f64_e64 v[5:6], null, 0.5
1440// GFX12: v_mul_f64_e64 v[5:6], null, 0.5         ; encoding: [0x05,0x00,0x06,0xd5,0x7c,0xe0,0x01,0x00]
1441
1442v_mul_f64_e64 v[5:6], -1, -1
1443// GFX12: v_mul_f64_e64 v[5:6], -1, -1            ; encoding: [0x05,0x00,0x06,0xd5,0xc1,0x82,0x01,0x00]
1444
1445v_mul_f64_e64 v[5:6], 0.5, null mul:2
1446// GFX12: v_mul_f64_e64 v[5:6], 0.5, null mul:2   ; encoding: [0x05,0x00,0x06,0xd5,0xf0,0xf8,0x00,0x08]
1447
1448v_mul_f64_e64 v[5:6], -|src_scc|, -|exec| mul:4
1449// GFX12: v_mul_f64_e64 v[5:6], -|src_scc|, -|exec| mul:4 ; encoding: [0x05,0x03,0x06,0xd5,0xfd,0xfc,0x00,0x70]
1450
1451v_mul_f64_e64 v[254:255], 0xaf123456, -|vcc| clamp div:2
1452// GFX12: v_mul_f64_e64 v[254:255], 0xaf123456, -|vcc| clamp div:2 ; encoding: [0xfe,0x82,0x06,0xd5,0xff,0xd4,0x00,0x58,0x56,0x34,0x12,0xaf]
1453
1454v_mul_hi_i32_i24_e64 v5, v1, v2
1455// GFX12: v_mul_hi_i32_i24_e64 v5, v1, v2         ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0x05,0x02,0x00]
1456
1457v_mul_hi_i32_i24_e64 v5, v255, v255
1458// GFX12: v_mul_hi_i32_i24_e64 v5, v255, v255     ; encoding: [0x05,0x00,0x0a,0xd5,0xff,0xff,0x03,0x00]
1459
1460v_mul_hi_i32_i24_e64 v5, s1, s2
1461// GFX12: v_mul_hi_i32_i24_e64 v5, s1, s2         ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0x04,0x00,0x00]
1462
1463v_mul_hi_i32_i24_e64 v5, s105, s105
1464// GFX12: v_mul_hi_i32_i24_e64 v5, s105, s105     ; encoding: [0x05,0x00,0x0a,0xd5,0x69,0xd2,0x00,0x00]
1465
1466v_mul_hi_i32_i24_e64 v5, vcc_lo, ttmp15
1467// GFX12: v_mul_hi_i32_i24_e64 v5, vcc_lo, ttmp15 ; encoding: [0x05,0x00,0x0a,0xd5,0x6a,0xf6,0x00,0x00]
1468
1469v_mul_hi_i32_i24_e64 v5, vcc_hi, 0xaf123456
1470// GFX12: v_mul_hi_i32_i24_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x0a,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1471
1472v_mul_hi_i32_i24_e64 v5, ttmp15, src_scc
1473// GFX12: v_mul_hi_i32_i24_e64 v5, ttmp15, src_scc ; encoding: [0x05,0x00,0x0a,0xd5,0x7b,0xfa,0x01,0x00]
1474
1475v_mul_hi_i32_i24_e64 v5, m0, 0.5
1476// GFX12: v_mul_hi_i32_i24_e64 v5, m0, 0.5        ; encoding: [0x05,0x00,0x0a,0xd5,0x7d,0xe0,0x01,0x00]
1477
1478v_mul_hi_i32_i24_e64 v5, exec_lo, -1
1479// GFX12: v_mul_hi_i32_i24_e64 v5, exec_lo, -1    ; encoding: [0x05,0x00,0x0a,0xd5,0x7e,0x82,0x01,0x00]
1480
1481v_mul_hi_i32_i24_e64 v5, exec_hi, null
1482// GFX12: v_mul_hi_i32_i24_e64 v5, exec_hi, null  ; encoding: [0x05,0x00,0x0a,0xd5,0x7f,0xf8,0x00,0x00]
1483
1484v_mul_hi_i32_i24_e64 v5, null, exec_lo
1485// GFX12: v_mul_hi_i32_i24_e64 v5, null, exec_lo  ; encoding: [0x05,0x00,0x0a,0xd5,0x7c,0xfc,0x00,0x00]
1486
1487v_mul_hi_i32_i24_e64 v5, -1, exec_hi
1488// GFX12: v_mul_hi_i32_i24_e64 v5, -1, exec_hi    ; encoding: [0x05,0x00,0x0a,0xd5,0xc1,0xfe,0x00,0x00]
1489
1490v_mul_hi_i32_i24_e64 v5, 0.5, m0
1491// GFX12: v_mul_hi_i32_i24_e64 v5, 0.5, m0        ; encoding: [0x05,0x00,0x0a,0xd5,0xf0,0xfa,0x00,0x00]
1492
1493v_mul_hi_i32_i24_e64 v5, src_scc, vcc_lo
1494// GFX12: v_mul_hi_i32_i24_e64 v5, src_scc, vcc_lo ; encoding: [0x05,0x00,0x0a,0xd5,0xfd,0xd4,0x00,0x00]
1495
1496v_mul_hi_i32_i24_e64 v255, 0xaf123456, vcc_hi
1497// GFX12: v_mul_hi_i32_i24_e64 v255, 0xaf123456, vcc_hi ; encoding: [0xff,0x00,0x0a,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
1498
1499v_mul_hi_u32_u24_e64 v5, v1, v2
1500// GFX12: v_mul_hi_u32_u24_e64 v5, v1, v2         ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0x05,0x02,0x00]
1501
1502v_mul_hi_u32_u24_e64 v5, v255, v255
1503// GFX12: v_mul_hi_u32_u24_e64 v5, v255, v255     ; encoding: [0x05,0x00,0x0c,0xd5,0xff,0xff,0x03,0x00]
1504
1505v_mul_hi_u32_u24_e64 v5, s1, s2
1506// GFX12: v_mul_hi_u32_u24_e64 v5, s1, s2         ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0x04,0x00,0x00]
1507
1508v_mul_hi_u32_u24_e64 v5, s105, s105
1509// GFX12: v_mul_hi_u32_u24_e64 v5, s105, s105     ; encoding: [0x05,0x00,0x0c,0xd5,0x69,0xd2,0x00,0x00]
1510
1511v_mul_hi_u32_u24_e64 v5, vcc_lo, ttmp15
1512// GFX12: v_mul_hi_u32_u24_e64 v5, vcc_lo, ttmp15 ; encoding: [0x05,0x00,0x0c,0xd5,0x6a,0xf6,0x00,0x00]
1513
1514v_mul_hi_u32_u24_e64 v5, vcc_hi, 0xaf123456
1515// GFX12: v_mul_hi_u32_u24_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x0c,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1516
1517v_mul_hi_u32_u24_e64 v5, ttmp15, src_scc
1518// GFX12: v_mul_hi_u32_u24_e64 v5, ttmp15, src_scc ; encoding: [0x05,0x00,0x0c,0xd5,0x7b,0xfa,0x01,0x00]
1519
1520v_mul_hi_u32_u24_e64 v5, m0, 0.5
1521// GFX12: v_mul_hi_u32_u24_e64 v5, m0, 0.5        ; encoding: [0x05,0x00,0x0c,0xd5,0x7d,0xe0,0x01,0x00]
1522
1523v_mul_hi_u32_u24_e64 v5, exec_lo, -1
1524// GFX12: v_mul_hi_u32_u24_e64 v5, exec_lo, -1    ; encoding: [0x05,0x00,0x0c,0xd5,0x7e,0x82,0x01,0x00]
1525
1526v_mul_hi_u32_u24_e64 v5, exec_hi, null
1527// GFX12: v_mul_hi_u32_u24_e64 v5, exec_hi, null  ; encoding: [0x05,0x00,0x0c,0xd5,0x7f,0xf8,0x00,0x00]
1528
1529v_mul_hi_u32_u24_e64 v5, null, exec_lo
1530// GFX12: v_mul_hi_u32_u24_e64 v5, null, exec_lo  ; encoding: [0x05,0x00,0x0c,0xd5,0x7c,0xfc,0x00,0x00]
1531
1532v_mul_hi_u32_u24_e64 v5, -1, exec_hi
1533// GFX12: v_mul_hi_u32_u24_e64 v5, -1, exec_hi    ; encoding: [0x05,0x00,0x0c,0xd5,0xc1,0xfe,0x00,0x00]
1534
1535v_mul_hi_u32_u24_e64 v5, 0.5, m0
1536// GFX12: v_mul_hi_u32_u24_e64 v5, 0.5, m0        ; encoding: [0x05,0x00,0x0c,0xd5,0xf0,0xfa,0x00,0x00]
1537
1538v_mul_hi_u32_u24_e64 v5, src_scc, vcc_lo
1539// GFX12: v_mul_hi_u32_u24_e64 v5, src_scc, vcc_lo ; encoding: [0x05,0x00,0x0c,0xd5,0xfd,0xd4,0x00,0x00]
1540
1541v_mul_hi_u32_u24_e64 v255, 0xaf123456, vcc_hi
1542// GFX12: v_mul_hi_u32_u24_e64 v255, 0xaf123456, vcc_hi ; encoding: [0xff,0x00,0x0c,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
1543
1544v_mul_i32_i24_e64 v5, v1, v2
1545// GFX12: v_mul_i32_i24_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x09,0xd5,0x01,0x05,0x02,0x00]
1546
1547v_mul_i32_i24_e64 v5, v255, v255
1548// GFX12: v_mul_i32_i24_e64 v5, v255, v255        ; encoding: [0x05,0x00,0x09,0xd5,0xff,0xff,0x03,0x00]
1549
1550v_mul_i32_i24_e64 v5, s1, s2
1551// GFX12: v_mul_i32_i24_e64 v5, s1, s2            ; encoding: [0x05,0x00,0x09,0xd5,0x01,0x04,0x00,0x00]
1552
1553v_mul_i32_i24_e64 v5, s105, s105
1554// GFX12: v_mul_i32_i24_e64 v5, s105, s105        ; encoding: [0x05,0x00,0x09,0xd5,0x69,0xd2,0x00,0x00]
1555
1556v_mul_i32_i24_e64 v5, vcc_lo, ttmp15
1557// GFX12: v_mul_i32_i24_e64 v5, vcc_lo, ttmp15    ; encoding: [0x05,0x00,0x09,0xd5,0x6a,0xf6,0x00,0x00]
1558
1559v_mul_i32_i24_e64 v5, vcc_hi, 0xaf123456
1560// GFX12: v_mul_i32_i24_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x09,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1561
1562v_mul_i32_i24_e64 v5, ttmp15, src_scc
1563// GFX12: v_mul_i32_i24_e64 v5, ttmp15, src_scc   ; encoding: [0x05,0x00,0x09,0xd5,0x7b,0xfa,0x01,0x00]
1564
1565v_mul_i32_i24_e64 v5, m0, 0.5
1566// GFX12: v_mul_i32_i24_e64 v5, m0, 0.5           ; encoding: [0x05,0x00,0x09,0xd5,0x7d,0xe0,0x01,0x00]
1567
1568v_mul_i32_i24_e64 v5, exec_lo, -1
1569// GFX12: v_mul_i32_i24_e64 v5, exec_lo, -1       ; encoding: [0x05,0x00,0x09,0xd5,0x7e,0x82,0x01,0x00]
1570
1571v_mul_i32_i24_e64 v5, exec_hi, null
1572// GFX12: v_mul_i32_i24_e64 v5, exec_hi, null     ; encoding: [0x05,0x00,0x09,0xd5,0x7f,0xf8,0x00,0x00]
1573
1574v_mul_i32_i24_e64 v5, null, exec_lo
1575// GFX12: v_mul_i32_i24_e64 v5, null, exec_lo     ; encoding: [0x05,0x00,0x09,0xd5,0x7c,0xfc,0x00,0x00]
1576
1577v_mul_i32_i24_e64 v5, -1, exec_hi
1578// GFX12: v_mul_i32_i24_e64 v5, -1, exec_hi       ; encoding: [0x05,0x00,0x09,0xd5,0xc1,0xfe,0x00,0x00]
1579
1580v_mul_i32_i24_e64 v5, 0.5, m0
1581// GFX12: v_mul_i32_i24_e64 v5, 0.5, m0           ; encoding: [0x05,0x00,0x09,0xd5,0xf0,0xfa,0x00,0x00]
1582
1583v_mul_i32_i24_e64 v5, src_scc, vcc_lo
1584// GFX12: v_mul_i32_i24_e64 v5, src_scc, vcc_lo   ; encoding: [0x05,0x00,0x09,0xd5,0xfd,0xd4,0x00,0x00]
1585
1586v_mul_i32_i24_e64 v255, 0xaf123456, vcc_hi clamp
1587// GFX12: v_mul_i32_i24_e64 v255, 0xaf123456, vcc_hi clamp ; encoding: [0xff,0x80,0x09,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
1588
1589v_mul_legacy_f32_e64 v5, v1, v2
1590// GFX12: v_mul_dx9_zero_f32_e64 v5, v1, v2       ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x00]
1591
1592v_mul_legacy_f32_e64 v5, v255, v255
1593// GFX12: v_mul_dx9_zero_f32_e64 v5, v255, v255   ; encoding: [0x05,0x00,0x07,0xd5,0xff,0xff,0x03,0x00]
1594
1595v_mul_legacy_f32_e64 v5, s1, s2
1596// GFX12: v_mul_dx9_zero_f32_e64 v5, s1, s2       ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x04,0x00,0x00]
1597
1598v_mul_legacy_f32_e64 v5, s105, s105
1599// GFX12: v_mul_dx9_zero_f32_e64 v5, s105, s105   ; encoding: [0x05,0x00,0x07,0xd5,0x69,0xd2,0x00,0x00]
1600
1601v_mul_legacy_f32_e64 v5, vcc_lo, ttmp15
1602// GFX12: v_mul_dx9_zero_f32_e64 v5, vcc_lo, ttmp15 ; encoding: [0x05,0x00,0x07,0xd5,0x6a,0xf6,0x00,0x00]
1603
1604v_mul_legacy_f32_e64 v5, vcc_hi, 0xaf123456
1605// GFX12: v_mul_dx9_zero_f32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x07,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1606
1607v_mul_legacy_f32_e64 v5, ttmp15, src_scc
1608// GFX12: v_mul_dx9_zero_f32_e64 v5, ttmp15, src_scc ; encoding: [0x05,0x00,0x07,0xd5,0x7b,0xfa,0x01,0x00]
1609
1610v_mul_legacy_f32_e64 v5, m0, 0.5
1611// GFX12: v_mul_dx9_zero_f32_e64 v5, m0, 0.5      ; encoding: [0x05,0x00,0x07,0xd5,0x7d,0xe0,0x01,0x00]
1612
1613v_mul_legacy_f32_e64 v5, exec_lo, -1
1614// GFX12: v_mul_dx9_zero_f32_e64 v5, exec_lo, -1  ; encoding: [0x05,0x00,0x07,0xd5,0x7e,0x82,0x01,0x00]
1615
1616v_mul_legacy_f32_e64 v5, |exec_hi|, null
1617// GFX12: v_mul_dx9_zero_f32_e64 v5, |exec_hi|, null ; encoding: [0x05,0x01,0x07,0xd5,0x7f,0xf8,0x00,0x00]
1618
1619v_mul_legacy_f32_e64 v5, null, exec_lo
1620// GFX12: v_mul_dx9_zero_f32_e64 v5, null, exec_lo ; encoding: [0x05,0x00,0x07,0xd5,0x7c,0xfc,0x00,0x00]
1621
1622v_mul_legacy_f32_e64 v5, -1, exec_hi
1623// GFX12: v_mul_dx9_zero_f32_e64 v5, -1, exec_hi  ; encoding: [0x05,0x00,0x07,0xd5,0xc1,0xfe,0x00,0x00]
1624
1625v_mul_legacy_f32_e64 v5, 0.5, -m0 mul:2
1626// GFX12: v_mul_dx9_zero_f32_e64 v5, 0.5, -m0 mul:2 ; encoding: [0x05,0x00,0x07,0xd5,0xf0,0xfa,0x00,0x48]
1627
1628v_mul_legacy_f32_e64 v5, -src_scc, |vcc_lo| mul:4
1629// GFX12: v_mul_dx9_zero_f32_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x07,0xd5,0xfd,0xd4,0x00,0x30]
1630
1631v_mul_legacy_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2
1632// GFX12: v_mul_dx9_zero_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x07,0xd5,0xff,0xd6,0x00,0x78,0x56,0x34,0x12,0xaf]
1633
1634v_mul_u32_u24_e64 v5, v1, v2
1635// GFX12: v_mul_u32_u24_e64 v5, v1, v2            ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0x05,0x02,0x00]
1636
1637v_mul_u32_u24_e64 v5, v255, v255
1638// GFX12: v_mul_u32_u24_e64 v5, v255, v255        ; encoding: [0x05,0x00,0x0b,0xd5,0xff,0xff,0x03,0x00]
1639
1640v_mul_u32_u24_e64 v5, s1, s2
1641// GFX12: v_mul_u32_u24_e64 v5, s1, s2            ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0x04,0x00,0x00]
1642
1643v_mul_u32_u24_e64 v5, s105, s105
1644// GFX12: v_mul_u32_u24_e64 v5, s105, s105        ; encoding: [0x05,0x00,0x0b,0xd5,0x69,0xd2,0x00,0x00]
1645
1646v_mul_u32_u24_e64 v5, vcc_lo, ttmp15
1647// GFX12: v_mul_u32_u24_e64 v5, vcc_lo, ttmp15    ; encoding: [0x05,0x00,0x0b,0xd5,0x6a,0xf6,0x00,0x00]
1648
1649v_mul_u32_u24_e64 v5, vcc_hi, 0xaf123456
1650// GFX12: v_mul_u32_u24_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x0b,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1651
1652v_mul_u32_u24_e64 v5, ttmp15, src_scc
1653// GFX12: v_mul_u32_u24_e64 v5, ttmp15, src_scc   ; encoding: [0x05,0x00,0x0b,0xd5,0x7b,0xfa,0x01,0x00]
1654
1655v_mul_u32_u24_e64 v5, m0, 0.5
1656// GFX12: v_mul_u32_u24_e64 v5, m0, 0.5           ; encoding: [0x05,0x00,0x0b,0xd5,0x7d,0xe0,0x01,0x00]
1657
1658v_mul_u32_u24_e64 v5, exec_lo, -1
1659// GFX12: v_mul_u32_u24_e64 v5, exec_lo, -1       ; encoding: [0x05,0x00,0x0b,0xd5,0x7e,0x82,0x01,0x00]
1660
1661v_mul_u32_u24_e64 v5, exec_hi, null
1662// GFX12: v_mul_u32_u24_e64 v5, exec_hi, null     ; encoding: [0x05,0x00,0x0b,0xd5,0x7f,0xf8,0x00,0x00]
1663
1664v_mul_u32_u24_e64 v5, null, exec_lo
1665// GFX12: v_mul_u32_u24_e64 v5, null, exec_lo     ; encoding: [0x05,0x00,0x0b,0xd5,0x7c,0xfc,0x00,0x00]
1666
1667v_mul_u32_u24_e64 v5, -1, exec_hi
1668// GFX12: v_mul_u32_u24_e64 v5, -1, exec_hi       ; encoding: [0x05,0x00,0x0b,0xd5,0xc1,0xfe,0x00,0x00]
1669
1670v_mul_u32_u24_e64 v5, 0.5, m0
1671// GFX12: v_mul_u32_u24_e64 v5, 0.5, m0           ; encoding: [0x05,0x00,0x0b,0xd5,0xf0,0xfa,0x00,0x00]
1672
1673v_mul_u32_u24_e64 v5, src_scc, vcc_lo
1674// GFX12: v_mul_u32_u24_e64 v5, src_scc, vcc_lo   ; encoding: [0x05,0x00,0x0b,0xd5,0xfd,0xd4,0x00,0x00]
1675
1676v_mul_u32_u24_e64 v255, 0xaf123456, vcc_hi clamp
1677// GFX12: v_mul_u32_u24_e64 v255, 0xaf123456, vcc_hi clamp ; encoding: [0xff,0x80,0x0b,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
1678
1679v_or_b32_e64 v5, v1, v2
1680// GFX12: v_or_b32_e64 v5, v1, v2                 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0x05,0x02,0x00]
1681
1682v_or_b32_e64 v5, v255, v255
1683// GFX12: v_or_b32_e64 v5, v255, v255             ; encoding: [0x05,0x00,0x1c,0xd5,0xff,0xff,0x03,0x00]
1684
1685v_or_b32_e64 v5, s1, s2
1686// GFX12: v_or_b32_e64 v5, s1, s2                 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0x04,0x00,0x00]
1687
1688v_or_b32_e64 v5, s105, s105
1689// GFX12: v_or_b32_e64 v5, s105, s105             ; encoding: [0x05,0x00,0x1c,0xd5,0x69,0xd2,0x00,0x00]
1690
1691v_or_b32_e64 v5, vcc_lo, ttmp15
1692// GFX12: v_or_b32_e64 v5, vcc_lo, ttmp15         ; encoding: [0x05,0x00,0x1c,0xd5,0x6a,0xf6,0x00,0x00]
1693
1694v_or_b32_e64 v5, vcc_hi, 0xaf123456
1695// GFX12: v_or_b32_e64 v5, vcc_hi, 0xaf123456     ; encoding: [0x05,0x00,0x1c,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1696
1697v_or_b32_e64 v5, ttmp15, src_scc
1698// GFX12: v_or_b32_e64 v5, ttmp15, src_scc        ; encoding: [0x05,0x00,0x1c,0xd5,0x7b,0xfa,0x01,0x00]
1699
1700v_or_b32_e64 v5, m0, 0.5
1701// GFX12: v_or_b32_e64 v5, m0, 0.5                ; encoding: [0x05,0x00,0x1c,0xd5,0x7d,0xe0,0x01,0x00]
1702
1703v_or_b32_e64 v5, exec_lo, -1
1704// GFX12: v_or_b32_e64 v5, exec_lo, -1            ; encoding: [0x05,0x00,0x1c,0xd5,0x7e,0x82,0x01,0x00]
1705
1706v_or_b32_e64 v5, exec_hi, null
1707// GFX12: v_or_b32_e64 v5, exec_hi, null          ; encoding: [0x05,0x00,0x1c,0xd5,0x7f,0xf8,0x00,0x00]
1708
1709v_or_b32_e64 v5, null, exec_lo
1710// GFX12: v_or_b32_e64 v5, null, exec_lo          ; encoding: [0x05,0x00,0x1c,0xd5,0x7c,0xfc,0x00,0x00]
1711
1712v_or_b32_e64 v5, -1, exec_hi
1713// GFX12: v_or_b32_e64 v5, -1, exec_hi            ; encoding: [0x05,0x00,0x1c,0xd5,0xc1,0xfe,0x00,0x00]
1714
1715v_or_b32_e64 v5, 0.5, m0
1716// GFX12: v_or_b32_e64 v5, 0.5, m0                ; encoding: [0x05,0x00,0x1c,0xd5,0xf0,0xfa,0x00,0x00]
1717
1718v_or_b32_e64 v5, src_scc, vcc_lo
1719// GFX12: v_or_b32_e64 v5, src_scc, vcc_lo        ; encoding: [0x05,0x00,0x1c,0xd5,0xfd,0xd4,0x00,0x00]
1720
1721v_or_b32_e64 v255, 0xaf123456, vcc_hi
1722// GFX12: v_or_b32_e64 v255, 0xaf123456, vcc_hi   ; encoding: [0xff,0x00,0x1c,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
1723
1724v_sub_co_ci_u32_e64 v5, s6, v1, 0xaf123456, s3
1725// W32: v_sub_co_ci_u32_e64 v5, s6, v1, 0xaf123456, s3 ; encoding: [0x05,0x06,0x21,0xd5,0x01,0xff,0x0d,0x00,0x56,0x34,0x12,0xaf]
1726// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1727
1728v_sub_co_ci_u32_e64 v5, s6, v255, src_scc, s3
1729// W32: v_sub_co_ci_u32_e64 v5, s6, v255, src_scc, s3 ; encoding: [0x05,0x06,0x21,0xd5,0xff,0xfb,0x0d,0x00]
1730// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1731
1732v_sub_co_ci_u32_e64 v5, s6, s105, s105, s3
1733// W32: v_sub_co_ci_u32_e64 v5, s6, s105, s105, s3 ; encoding: [0x05,0x06,0x21,0xd5,0x69,0xd2,0x0c,0x00]
1734// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1735
1736v_sub_co_ci_u32_e64 v5, s6, vcc_lo, v2, s3
1737// W32: v_sub_co_ci_u32_e64 v5, s6, vcc_lo, v2, s3 ; encoding: [0x05,0x06,0x21,0xd5,0x6a,0x04,0x0e,0x00]
1738// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1739
1740v_sub_co_ci_u32_e64 v5, s6, vcc_hi, v255, s3
1741// W32: v_sub_co_ci_u32_e64 v5, s6, vcc_hi, v255, s3 ; encoding: [0x05,0x06,0x21,0xd5,0x6b,0xfe,0x0f,0x00]
1742// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1743
1744v_sub_co_ci_u32_e64 v5, s6, ttmp15, ttmp15, s3
1745// W32: v_sub_co_ci_u32_e64 v5, s6, ttmp15, ttmp15, s3 ; encoding: [0x05,0x06,0x21,0xd5,0x7b,0xf6,0x0c,0x00]
1746// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1747
1748v_sub_co_ci_u32_e64 v5, s6, m0, 0.5, s3
1749// W32: v_sub_co_ci_u32_e64 v5, s6, m0, 0.5, s3 ; encoding: [0x05,0x06,0x21,0xd5,0x7d,0xe0,0x0d,0x00]
1750// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1751
1752v_sub_co_ci_u32_e64 v5, s6, exec_lo, exec_lo, s3
1753// W32: v_sub_co_ci_u32_e64 v5, s6, exec_lo, exec_lo, s3 ; encoding: [0x05,0x06,0x21,0xd5,0x7e,0xfc,0x0c,0x00]
1754// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1755
1756v_sub_co_ci_u32_e64 v5, s6, exec_hi, -1, s3
1757// W32: v_sub_co_ci_u32_e64 v5, s6, exec_hi, -1, s3 ; encoding: [0x05,0x06,0x21,0xd5,0x7f,0x82,0x0d,0x00]
1758// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1759
1760v_sub_co_ci_u32_e64 v5, s105, null, exec_hi, s105
1761// W32: v_sub_co_ci_u32_e64 v5, s105, null, exec_hi, s105 ; encoding: [0x05,0x69,0x21,0xd5,0x7c,0xfe,0xa4,0x01]
1762// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1763
1764v_sub_co_ci_u32_e64 v5, vcc_lo, -1, m0, vcc_lo
1765// W32: v_sub_co_ci_u32_e64 v5, vcc_lo, -1, m0, vcc_lo ; encoding: [0x05,0x6a,0x21,0xd5,0xc1,0xfa,0xa8,0x01]
1766// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1767
1768v_sub_co_ci_u32_e64 v5, vcc_hi, 0.5, vcc_lo, vcc_hi
1769// W32: v_sub_co_ci_u32_e64 v5, vcc_hi, 0.5, vcc_lo, vcc_hi ; encoding: [0x05,0x6b,0x21,0xd5,0xf0,0xd4,0xac,0x01]
1770// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1771
1772v_sub_co_ci_u32_e64 v5, ttmp15, src_scc, null, ttmp15
1773// W32: v_sub_co_ci_u32_e64 v5, ttmp15, src_scc, null, ttmp15 ; encoding: [0x05,0x7b,0x21,0xd5,0xfd,0xf8,0xec,0x01]
1774// W64-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1775
1776v_sub_co_ci_u32_e64 v5, s[12:13], v1, 0xaf123456, s[6:7]
1777// W64: v_sub_co_ci_u32_e64 v5, s[12:13], v1, 0xaf123456, s[6:7] ; encoding: [0x05,0x0c,0x21,0xd5,0x01,0xff,0x19,0x00,0x56,0x34,0x12,0xaf]
1778// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1779
1780v_sub_co_ci_u32_e64 v5, s[12:13], v255, src_scc, s[6:7]
1781// W64: v_sub_co_ci_u32_e64 v5, s[12:13], v255, src_scc, s[6:7] ; encoding: [0x05,0x0c,0x21,0xd5,0xff,0xfb,0x19,0x00]
1782// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1783
1784v_sub_co_ci_u32_e64 v5, s[12:13], s105, s105, s[6:7]
1785// W64: v_sub_co_ci_u32_e64 v5, s[12:13], s105, s105, s[6:7] ; encoding: [0x05,0x0c,0x21,0xd5,0x69,0xd2,0x18,0x00]
1786// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1787
1788v_sub_co_ci_u32_e64 v5, s[12:13], vcc_lo, v2, s[6:7]
1789// W64: v_sub_co_ci_u32_e64 v5, s[12:13], vcc_lo, v2, s[6:7] ; encoding: [0x05,0x0c,0x21,0xd5,0x6a,0x04,0x1a,0x00]
1790// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1791
1792v_sub_co_ci_u32_e64 v5, s[12:13], vcc_hi, v255, s[6:7]
1793// W64: v_sub_co_ci_u32_e64 v5, s[12:13], vcc_hi, v255, s[6:7] ; encoding: [0x05,0x0c,0x21,0xd5,0x6b,0xfe,0x1b,0x00]
1794// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1795
1796v_sub_co_ci_u32_e64 v5, s[12:13], ttmp15, ttmp15, s[6:7]
1797// W64: v_sub_co_ci_u32_e64 v5, s[12:13], ttmp15, ttmp15, s[6:7] ; encoding: [0x05,0x0c,0x21,0xd5,0x7b,0xf6,0x18,0x00]
1798// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1799
1800v_sub_co_ci_u32_e64 v5, s[12:13], m0, 0.5, s[6:7]
1801// W64: v_sub_co_ci_u32_e64 v5, s[12:13], m0, 0.5, s[6:7] ; encoding: [0x05,0x0c,0x21,0xd5,0x7d,0xe0,0x19,0x00]
1802// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1803
1804v_sub_co_ci_u32_e64 v5, s[12:13], exec_lo, exec_lo, s[6:7]
1805// W64: v_sub_co_ci_u32_e64 v5, s[12:13], exec_lo, exec_lo, s[6:7] ; encoding: [0x05,0x0c,0x21,0xd5,0x7e,0xfc,0x18,0x00]
1806// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1807
1808v_sub_co_ci_u32_e64 v5, s[12:13], exec_hi, -1, s[6:7]
1809// W64: v_sub_co_ci_u32_e64 v5, s[12:13], exec_hi, -1, s[6:7] ; encoding: [0x05,0x0c,0x21,0xd5,0x7f,0x82,0x19,0x00]
1810// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1811
1812v_sub_co_ci_u32_e64 v5, s[12:13], null, exec_hi, s[6:7]
1813// W64: v_sub_co_ci_u32_e64 v5, s[12:13], null, exec_hi, s[6:7] ; encoding: [0x05,0x0c,0x21,0xd5,0x7c,0xfe,0x18,0x00]
1814// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1815
1816v_sub_co_ci_u32_e64 v5, s[104:105], -1, m0, s[104:105]
1817// W64: v_sub_co_ci_u32_e64 v5, s[104:105], -1, m0, s[104:105] ; encoding: [0x05,0x68,0x21,0xd5,0xc1,0xfa,0xa0,0x01]
1818// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1819
1820v_sub_co_ci_u32_e64 v5, vcc, 0.5, vcc_lo, vcc
1821// W64: v_sub_co_ci_u32_e64 v5, vcc, 0.5, vcc_lo, vcc ; encoding: [0x05,0x6a,0x21,0xd5,0xf0,0xd4,0xa8,0x01]
1822// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1823
1824v_sub_co_ci_u32_e64 v5, ttmp[14:15], src_scc, null, ttmp[14:15]
1825// W64: v_sub_co_ci_u32_e64 v5, ttmp[14:15], src_scc, null, ttmp[14:15] ; encoding: [0x05,0x7a,0x21,0xd5,0xfd,0xf8,0xe8,0x01]
1826// W32-ERR: :[[@LINE-2]]:25: error: invalid operand for instruction
1827
1828v_sub_co_ci_u32_e64 v255, null, 0xaf123456, vcc_hi, null clamp
1829// GFX12: v_sub_co_ci_u32_e64 v255, null, 0xaf123456, vcc_hi, null clamp ; encoding: [0xff,0xfc,0x21,0xd5,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
1830
1831v_sub_f16_e64 v5.l, v1.l, v2.l
1832// GFX12: v_sub_f16_e64 v5.l, v1.l, v2.l          ; encoding: [0x05,0x00,0x33,0xd5,0x01,0x05,0x02,0x00]
1833
1834v_sub_f16_e64 v5.l, v255.l, v255.l
1835// GFX12: v_sub_f16_e64 v5.l, v255.l, v255.l      ; encoding: [0x05,0x00,0x33,0xd5,0xff,0xff,0x03,0x00]
1836
1837v_sub_f16_e64 v5.l, s1, s2
1838// GFX12: v_sub_f16_e64 v5.l, s1, s2              ; encoding: [0x05,0x00,0x33,0xd5,0x01,0x04,0x00,0x00]
1839
1840v_sub_f16_e64 v5.l, s105, s105
1841// GFX12: v_sub_f16_e64 v5.l, s105, s105          ; encoding: [0x05,0x00,0x33,0xd5,0x69,0xd2,0x00,0x00]
1842
1843v_sub_f16_e64 v5.l, vcc_lo, ttmp15
1844// GFX12: v_sub_f16_e64 v5.l, vcc_lo, ttmp15      ; encoding: [0x05,0x00,0x33,0xd5,0x6a,0xf6,0x00,0x00]
1845
1846v_sub_f16_e64 v5.l, vcc_hi, 0xfe0b
1847// GFX12: v_sub_f16_e64 v5.l, vcc_hi, 0xfe0b      ; encoding: [0x05,0x00,0x33,0xd5,0x6b,0xfe,0x01,0x00,0x0b,0xfe,0x00,0x00]
1848
1849v_sub_f16_e64 v5.l, ttmp15, src_scc
1850// GFX12: v_sub_f16_e64 v5.l, ttmp15, src_scc     ; encoding: [0x05,0x00,0x33,0xd5,0x7b,0xfa,0x01,0x00]
1851
1852v_sub_f16_e64 v5.l, m0, 0.5
1853// GFX12: v_sub_f16_e64 v5.l, m0, 0.5             ; encoding: [0x05,0x00,0x33,0xd5,0x7d,0xe0,0x01,0x00]
1854
1855v_sub_f16_e64 v5.l, exec_lo, -1
1856// GFX12: v_sub_f16_e64 v5.l, exec_lo, -1         ; encoding: [0x05,0x00,0x33,0xd5,0x7e,0x82,0x01,0x00]
1857
1858v_sub_f16_e64 v5.l, |exec_hi|, null
1859// GFX12: v_sub_f16_e64 v5.l, |exec_hi|, null     ; encoding: [0x05,0x01,0x33,0xd5,0x7f,0xf8,0x00,0x00]
1860
1861v_sub_f16_e64 v5.l, null, exec_lo
1862// GFX12: v_sub_f16_e64 v5.l, null, exec_lo       ; encoding: [0x05,0x00,0x33,0xd5,0x7c,0xfc,0x00,0x00]
1863
1864v_sub_f16_e64 v5.l, -1, exec_hi
1865// GFX12: v_sub_f16_e64 v5.l, -1, exec_hi         ; encoding: [0x05,0x00,0x33,0xd5,0xc1,0xfe,0x00,0x00]
1866
1867v_sub_f16_e64 v5.l, 0.5, -m0 mul:2
1868// GFX12: v_sub_f16_e64 v5.l, 0.5, -m0 mul:2      ; encoding: [0x05,0x00,0x33,0xd5,0xf0,0xfa,0x00,0x48]
1869
1870v_sub_f16_e64 v5.l, -src_scc, |vcc_lo| mul:4
1871// GFX12: v_sub_f16_e64 v5.l, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x33,0xd5,0xfd,0xd4,0x00,0x30]
1872
1873v_sub_f16_e64 v255.l, -|0xfe0b|, -|vcc_hi| clamp div:2
1874// GFX12: v_sub_f16_e64 v255.l, -|0xfe0b|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x33,0xd5,0xff,0xd6,0x00,0x78,0x0b,0xfe,0x00,0x00]
1875
1876v_sub_f16_e64 v5.l, v1.h, v2.l
1877// GFX12: v_sub_f16_e64 v5.l, v1.h, v2.l op_sel:[1,0,0] ; encoding: [0x05,0x08,0x33,0xd5,0x01,0x05,0x02,0x00]
1878
1879v_sub_f16_e64 v5.l, v255.l, v255.h
1880// GFX12: v_sub_f16_e64 v5.l, v255.l, v255.h op_sel:[0,1,0] ; encoding: [0x05,0x10,0x33,0xd5,0xff,0xff,0x03,0x00]
1881
1882v_sub_f16_e64 v255.h, -|0xfe0b|, -|vcc_hi| clamp div:2
1883// GFX12: v_sub_f16_e64 v255.h, -|0xfe0b|, -|vcc_hi| op_sel:[0,0,1] clamp div:2 ; encoding: [0xff,0xc3,0x33,0xd5,0xff,0xd6,0x00,0x78,0x0b,0xfe,0x00,0x00]
1884
1885v_sub_f32_e64 v5, v1, v2
1886// GFX12: v_sub_f32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x00]
1887
1888v_sub_f32_e64 v5, v255, v255
1889// GFX12: v_sub_f32_e64 v5, v255, v255            ; encoding: [0x05,0x00,0x04,0xd5,0xff,0xff,0x03,0x00]
1890
1891v_sub_f32_e64 v5, s1, s2
1892// GFX12: v_sub_f32_e64 v5, s1, s2                ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x04,0x00,0x00]
1893
1894v_sub_f32_e64 v5, s105, s105
1895// GFX12: v_sub_f32_e64 v5, s105, s105            ; encoding: [0x05,0x00,0x04,0xd5,0x69,0xd2,0x00,0x00]
1896
1897v_sub_f32_e64 v5, vcc_lo, ttmp15
1898// GFX12: v_sub_f32_e64 v5, vcc_lo, ttmp15        ; encoding: [0x05,0x00,0x04,0xd5,0x6a,0xf6,0x00,0x00]
1899
1900v_sub_f32_e64 v5, vcc_hi, 0xaf123456
1901// GFX12: v_sub_f32_e64 v5, vcc_hi, 0xaf123456    ; encoding: [0x05,0x00,0x04,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1902
1903v_sub_f32_e64 v5, ttmp15, src_scc
1904// GFX12: v_sub_f32_e64 v5, ttmp15, src_scc       ; encoding: [0x05,0x00,0x04,0xd5,0x7b,0xfa,0x01,0x00]
1905
1906v_sub_f32_e64 v5, m0, 0.5
1907// GFX12: v_sub_f32_e64 v5, m0, 0.5               ; encoding: [0x05,0x00,0x04,0xd5,0x7d,0xe0,0x01,0x00]
1908
1909v_sub_f32_e64 v5, exec_lo, -1
1910// GFX12: v_sub_f32_e64 v5, exec_lo, -1           ; encoding: [0x05,0x00,0x04,0xd5,0x7e,0x82,0x01,0x00]
1911
1912v_sub_f32_e64 v5, |exec_hi|, null
1913// GFX12: v_sub_f32_e64 v5, |exec_hi|, null       ; encoding: [0x05,0x01,0x04,0xd5,0x7f,0xf8,0x00,0x00]
1914
1915v_sub_f32_e64 v5, null, exec_lo
1916// GFX12: v_sub_f32_e64 v5, null, exec_lo         ; encoding: [0x05,0x00,0x04,0xd5,0x7c,0xfc,0x00,0x00]
1917
1918v_sub_f32_e64 v5, -1, exec_hi
1919// GFX12: v_sub_f32_e64 v5, -1, exec_hi           ; encoding: [0x05,0x00,0x04,0xd5,0xc1,0xfe,0x00,0x00]
1920
1921v_sub_f32_e64 v5, 0.5, -m0 mul:2
1922// GFX12: v_sub_f32_e64 v5, 0.5, -m0 mul:2        ; encoding: [0x05,0x00,0x04,0xd5,0xf0,0xfa,0x00,0x48]
1923
1924v_sub_f32_e64 v5, -src_scc, |vcc_lo| mul:4
1925// GFX12: v_sub_f32_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x04,0xd5,0xfd,0xd4,0x00,0x30]
1926
1927v_sub_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2
1928// GFX12: v_sub_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x04,0xd5,0xff,0xd6,0x00,0x78,0x56,0x34,0x12,0xaf]
1929
1930v_sub_nc_u32_e64 v5, v1, v2
1931// GFX12: v_sub_nc_u32_e64 v5, v1, v2             ; encoding: [0x05,0x00,0x26,0xd5,0x01,0x05,0x02,0x00]
1932
1933v_sub_nc_u32_e64 v5, v255, v255
1934// GFX12: v_sub_nc_u32_e64 v5, v255, v255         ; encoding: [0x05,0x00,0x26,0xd5,0xff,0xff,0x03,0x00]
1935
1936v_sub_nc_u32_e64 v5, s1, s2
1937// GFX12: v_sub_nc_u32_e64 v5, s1, s2             ; encoding: [0x05,0x00,0x26,0xd5,0x01,0x04,0x00,0x00]
1938
1939v_sub_nc_u32_e64 v5, s105, s105
1940// GFX12: v_sub_nc_u32_e64 v5, s105, s105         ; encoding: [0x05,0x00,0x26,0xd5,0x69,0xd2,0x00,0x00]
1941
1942v_sub_nc_u32_e64 v5, vcc_lo, ttmp15
1943// GFX12: v_sub_nc_u32_e64 v5, vcc_lo, ttmp15     ; encoding: [0x05,0x00,0x26,0xd5,0x6a,0xf6,0x00,0x00]
1944
1945v_sub_nc_u32_e64 v5, vcc_hi, 0xaf123456
1946// GFX12: v_sub_nc_u32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x26,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
1947
1948v_sub_nc_u32_e64 v5, ttmp15, src_scc
1949// GFX12: v_sub_nc_u32_e64 v5, ttmp15, src_scc    ; encoding: [0x05,0x00,0x26,0xd5,0x7b,0xfa,0x01,0x00]
1950
1951v_sub_nc_u32_e64 v5, m0, 0.5
1952// GFX12: v_sub_nc_u32_e64 v5, m0, 0.5            ; encoding: [0x05,0x00,0x26,0xd5,0x7d,0xe0,0x01,0x00]
1953
1954v_sub_nc_u32_e64 v5, exec_lo, -1
1955// GFX12: v_sub_nc_u32_e64 v5, exec_lo, -1        ; encoding: [0x05,0x00,0x26,0xd5,0x7e,0x82,0x01,0x00]
1956
1957v_sub_nc_u32_e64 v5, exec_hi, null
1958// GFX12: v_sub_nc_u32_e64 v5, exec_hi, null      ; encoding: [0x05,0x00,0x26,0xd5,0x7f,0xf8,0x00,0x00]
1959
1960v_sub_nc_u32_e64 v5, null, exec_lo
1961// GFX12: v_sub_nc_u32_e64 v5, null, exec_lo      ; encoding: [0x05,0x00,0x26,0xd5,0x7c,0xfc,0x00,0x00]
1962
1963v_sub_nc_u32_e64 v5, -1, exec_hi
1964// GFX12: v_sub_nc_u32_e64 v5, -1, exec_hi        ; encoding: [0x05,0x00,0x26,0xd5,0xc1,0xfe,0x00,0x00]
1965
1966v_sub_nc_u32_e64 v5, 0.5, m0
1967// GFX12: v_sub_nc_u32_e64 v5, 0.5, m0            ; encoding: [0x05,0x00,0x26,0xd5,0xf0,0xfa,0x00,0x00]
1968
1969v_sub_nc_u32_e64 v5, src_scc, vcc_lo
1970// GFX12: v_sub_nc_u32_e64 v5, src_scc, vcc_lo    ; encoding: [0x05,0x00,0x26,0xd5,0xfd,0xd4,0x00,0x00]
1971
1972v_sub_nc_u32_e64 v255, 0xaf123456, vcc_hi clamp
1973// GFX12: v_sub_nc_u32_e64 v255, 0xaf123456, vcc_hi clamp ; encoding: [0xff,0x80,0x26,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
1974
1975v_subrev_co_ci_u32_e64 v5, s6, v1, 0xaf123456, s3
1976// W32: v_subrev_co_ci_u32_e64 v5, s6, v1, 0xaf123456, s3 ; encoding: [0x05,0x06,0x22,0xd5,0x01,0xff,0x0d,0x00,0x56,0x34,0x12,0xaf]
1977// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
1978
1979v_subrev_co_ci_u32_e64 v5, s6, v255, src_scc, s3
1980// W32: v_subrev_co_ci_u32_e64 v5, s6, v255, src_scc, s3 ; encoding: [0x05,0x06,0x22,0xd5,0xff,0xfb,0x0d,0x00]
1981// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
1982
1983v_subrev_co_ci_u32_e64 v5, s6, s105, s105, s3
1984// W32: v_subrev_co_ci_u32_e64 v5, s6, s105, s105, s3 ; encoding: [0x05,0x06,0x22,0xd5,0x69,0xd2,0x0c,0x00]
1985// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
1986
1987v_subrev_co_ci_u32_e64 v5, s6, vcc_lo, v2, s3
1988// W32: v_subrev_co_ci_u32_e64 v5, s6, vcc_lo, v2, s3 ; encoding: [0x05,0x06,0x22,0xd5,0x6a,0x04,0x0e,0x00]
1989// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
1990
1991v_subrev_co_ci_u32_e64 v5, s6, vcc_hi, v255, s3
1992// W32: v_subrev_co_ci_u32_e64 v5, s6, vcc_hi, v255, s3 ; encoding: [0x05,0x06,0x22,0xd5,0x6b,0xfe,0x0f,0x00]
1993// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
1994
1995v_subrev_co_ci_u32_e64 v5, s6, ttmp15, ttmp15, s3
1996// W32: v_subrev_co_ci_u32_e64 v5, s6, ttmp15, ttmp15, s3 ; encoding: [0x05,0x06,0x22,0xd5,0x7b,0xf6,0x0c,0x00]
1997// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
1998
1999v_subrev_co_ci_u32_e64 v5, s6, m0, 0.5, s3
2000// W32: v_subrev_co_ci_u32_e64 v5, s6, m0, 0.5, s3 ; encoding: [0x05,0x06,0x22,0xd5,0x7d,0xe0,0x0d,0x00]
2001// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2002
2003v_subrev_co_ci_u32_e64 v5, s6, exec_lo, exec_lo, s3
2004// W32: v_subrev_co_ci_u32_e64 v5, s6, exec_lo, exec_lo, s3 ; encoding: [0x05,0x06,0x22,0xd5,0x7e,0xfc,0x0c,0x00]
2005// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2006
2007v_subrev_co_ci_u32_e64 v5, s6, exec_hi, -1, s3
2008// W32: v_subrev_co_ci_u32_e64 v5, s6, exec_hi, -1, s3 ; encoding: [0x05,0x06,0x22,0xd5,0x7f,0x82,0x0d,0x00]
2009// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2010
2011v_subrev_co_ci_u32_e64 v5, s105, null, exec_hi, s105
2012// W32: v_subrev_co_ci_u32_e64 v5, s105, null, exec_hi, s105 ; encoding: [0x05,0x69,0x22,0xd5,0x7c,0xfe,0xa4,0x01]
2013// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2014
2015v_subrev_co_ci_u32_e64 v5, vcc_lo, -1, m0, vcc_lo
2016// W32: v_subrev_co_ci_u32_e64 v5, vcc_lo, -1, m0, vcc_lo ; encoding: [0x05,0x6a,0x22,0xd5,0xc1,0xfa,0xa8,0x01]
2017// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2018
2019v_subrev_co_ci_u32_e64 v5, vcc_hi, 0.5, vcc_lo, vcc_hi
2020// W32: v_subrev_co_ci_u32_e64 v5, vcc_hi, 0.5, vcc_lo, vcc_hi ; encoding: [0x05,0x6b,0x22,0xd5,0xf0,0xd4,0xac,0x01]
2021// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2022
2023v_subrev_co_ci_u32_e64 v5, ttmp15, src_scc, null, ttmp15
2024// W32: v_subrev_co_ci_u32_e64 v5, ttmp15, src_scc, null, ttmp15 ; encoding: [0x05,0x7b,0x22,0xd5,0xfd,0xf8,0xec,0x01]
2025// W64-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2026
2027v_subrev_co_ci_u32_e64 v5, s[12:13], v1, 0xaf123456, s[6:7]
2028// W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v1, 0xaf123456, s[6:7] ; encoding: [0x05,0x0c,0x22,0xd5,0x01,0xff,0x19,0x00,0x56,0x34,0x12,0xaf]
2029// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2030
2031v_subrev_co_ci_u32_e64 v5, s[12:13], v255, src_scc, s[6:7]
2032// W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v255, src_scc, s[6:7] ; encoding: [0x05,0x0c,0x22,0xd5,0xff,0xfb,0x19,0x00]
2033// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2034
2035v_subrev_co_ci_u32_e64 v5, s[12:13], s105, s105, s[6:7]
2036// W64: v_subrev_co_ci_u32_e64 v5, s[12:13], s105, s105, s[6:7] ; encoding: [0x05,0x0c,0x22,0xd5,0x69,0xd2,0x18,0x00]
2037// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2038
2039v_subrev_co_ci_u32_e64 v5, s[12:13], vcc_lo, v2, s[6:7]
2040// W64: v_subrev_co_ci_u32_e64 v5, s[12:13], vcc_lo, v2, s[6:7] ; encoding: [0x05,0x0c,0x22,0xd5,0x6a,0x04,0x1a,0x00]
2041// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2042
2043v_subrev_co_ci_u32_e64 v5, s[12:13], vcc_hi, v255, s[6:7]
2044// W64: v_subrev_co_ci_u32_e64 v5, s[12:13], vcc_hi, v255, s[6:7] ; encoding: [0x05,0x0c,0x22,0xd5,0x6b,0xfe,0x1b,0x00]
2045// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2046
2047v_subrev_co_ci_u32_e64 v5, s[12:13], ttmp15, ttmp15, s[6:7]
2048// W64: v_subrev_co_ci_u32_e64 v5, s[12:13], ttmp15, ttmp15, s[6:7] ; encoding: [0x05,0x0c,0x22,0xd5,0x7b,0xf6,0x18,0x00]
2049// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2050
2051v_subrev_co_ci_u32_e64 v5, s[12:13], m0, 0.5, s[6:7]
2052// W64: v_subrev_co_ci_u32_e64 v5, s[12:13], m0, 0.5, s[6:7] ; encoding: [0x05,0x0c,0x22,0xd5,0x7d,0xe0,0x19,0x00]
2053// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2054
2055v_subrev_co_ci_u32_e64 v5, s[12:13], exec_lo, exec_lo, s[6:7]
2056// W64: v_subrev_co_ci_u32_e64 v5, s[12:13], exec_lo, exec_lo, s[6:7] ; encoding: [0x05,0x0c,0x22,0xd5,0x7e,0xfc,0x18,0x00]
2057// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2058
2059v_subrev_co_ci_u32_e64 v5, s[12:13], exec_hi, -1, s[6:7]
2060// W64: v_subrev_co_ci_u32_e64 v5, s[12:13], exec_hi, -1, s[6:7] ; encoding: [0x05,0x0c,0x22,0xd5,0x7f,0x82,0x19,0x00]
2061// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2062
2063v_subrev_co_ci_u32_e64 v5, s[12:13], null, exec_hi, s[6:7]
2064// W64: v_subrev_co_ci_u32_e64 v5, s[12:13], null, exec_hi, s[6:7] ; encoding: [0x05,0x0c,0x22,0xd5,0x7c,0xfe,0x18,0x00]
2065// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2066
2067v_subrev_co_ci_u32_e64 v5, s[104:105], -1, m0, s[104:105]
2068// W64: v_subrev_co_ci_u32_e64 v5, s[104:105], -1, m0, s[104:105] ; encoding: [0x05,0x68,0x22,0xd5,0xc1,0xfa,0xa0,0x01]
2069// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2070
2071v_subrev_co_ci_u32_e64 v5, vcc, 0.5, vcc_lo, vcc
2072// W64: v_subrev_co_ci_u32_e64 v5, vcc, 0.5, vcc_lo, vcc ; encoding: [0x05,0x6a,0x22,0xd5,0xf0,0xd4,0xa8,0x01]
2073// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2074
2075v_subrev_co_ci_u32_e64 v5, ttmp[14:15], src_scc, null, ttmp[14:15]
2076// W64: v_subrev_co_ci_u32_e64 v5, ttmp[14:15], src_scc, null, ttmp[14:15] ; encoding: [0x05,0x7a,0x22,0xd5,0xfd,0xf8,0xe8,0x01]
2077// W32-ERR: :[[@LINE-2]]:28: error: invalid operand for instruction
2078
2079v_subrev_co_ci_u32_e64 v255, null, 0xaf123456, vcc_hi, null clamp
2080// GFX12: v_subrev_co_ci_u32_e64 v255, null, 0xaf123456, vcc_hi, null clamp ; encoding: [0xff,0xfc,0x22,0xd5,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
2081
2082v_subrev_f16_e64 v5.l, v1.l, v2.l
2083// GFX12: v_subrev_f16_e64 v5.l, v1.l, v2.l       ; encoding: [0x05,0x00,0x34,0xd5,0x01,0x05,0x02,0x00]
2084
2085v_subrev_f16_e64 v5.l, v255.l, v255.l
2086// GFX12: v_subrev_f16_e64 v5.l, v255.l, v255.l   ; encoding: [0x05,0x00,0x34,0xd5,0xff,0xff,0x03,0x00]
2087
2088v_subrev_f16_e64 v5.l, s1, s2
2089// GFX12: v_subrev_f16_e64 v5.l, s1, s2           ; encoding: [0x05,0x00,0x34,0xd5,0x01,0x04,0x00,0x00]
2090
2091v_subrev_f16_e64 v5.l, s105, s105
2092// GFX12: v_subrev_f16_e64 v5.l, s105, s105       ; encoding: [0x05,0x00,0x34,0xd5,0x69,0xd2,0x00,0x00]
2093
2094v_subrev_f16_e64 v5.l, vcc_lo, ttmp15
2095// GFX12: v_subrev_f16_e64 v5.l, vcc_lo, ttmp15   ; encoding: [0x05,0x00,0x34,0xd5,0x6a,0xf6,0x00,0x00]
2096
2097v_subrev_f16_e64 v5.l, vcc_hi, 0xfe0b
2098// GFX12: v_subrev_f16_e64 v5.l, vcc_hi, 0xfe0b   ; encoding: [0x05,0x00,0x34,0xd5,0x6b,0xfe,0x01,0x00,0x0b,0xfe,0x00,0x00]
2099
2100v_subrev_f16_e64 v5.l, ttmp15, src_scc
2101// GFX12: v_subrev_f16_e64 v5.l, ttmp15, src_scc  ; encoding: [0x05,0x00,0x34,0xd5,0x7b,0xfa,0x01,0x00]
2102
2103v_subrev_f16_e64 v5.l, m0, 0.5
2104// GFX12: v_subrev_f16_e64 v5.l, m0, 0.5          ; encoding: [0x05,0x00,0x34,0xd5,0x7d,0xe0,0x01,0x00]
2105
2106v_subrev_f16_e64 v5.l, exec_lo, -1
2107// GFX12: v_subrev_f16_e64 v5.l, exec_lo, -1      ; encoding: [0x05,0x00,0x34,0xd5,0x7e,0x82,0x01,0x00]
2108
2109v_subrev_f16_e64 v5.l, |exec_hi|, null
2110// GFX12: v_subrev_f16_e64 v5.l, |exec_hi|, null  ; encoding: [0x05,0x01,0x34,0xd5,0x7f,0xf8,0x00,0x00]
2111
2112v_subrev_f16_e64 v5.l, null, exec_lo
2113// GFX12: v_subrev_f16_e64 v5.l, null, exec_lo    ; encoding: [0x05,0x00,0x34,0xd5,0x7c,0xfc,0x00,0x00]
2114
2115v_subrev_f16_e64 v5.l, -1, exec_hi
2116// GFX12: v_subrev_f16_e64 v5.l, -1, exec_hi      ; encoding: [0x05,0x00,0x34,0xd5,0xc1,0xfe,0x00,0x00]
2117
2118v_subrev_f16_e64 v5.l, 0.5, -m0 mul:2
2119// GFX12: v_subrev_f16_e64 v5.l, 0.5, -m0 mul:2   ; encoding: [0x05,0x00,0x34,0xd5,0xf0,0xfa,0x00,0x48]
2120
2121v_subrev_f16_e64 v5.l, -src_scc, |vcc_lo| mul:4
2122// GFX12: v_subrev_f16_e64 v5.l, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x34,0xd5,0xfd,0xd4,0x00,0x30]
2123
2124v_subrev_f16_e64 v255.l, -|0xfe0b|, -|vcc_hi| clamp div:2
2125// GFX12: v_subrev_f16_e64 v255.l, -|0xfe0b|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x34,0xd5,0xff,0xd6,0x00,0x78,0x0b,0xfe,0x00,0x00]
2126
2127v_subrev_f16_e64 v5.l, v1.h, v2.l
2128// GFX12: v_subrev_f16_e64 v5.l, v1.h, v2.l op_sel:[1,0,0] ; encoding: [0x05,0x08,0x34,0xd5,0x01,0x05,0x02,0x00]
2129
2130v_subrev_f16_e64 v5.l, v255.l, v255.h
2131// GFX12: v_subrev_f16_e64 v5.l, v255.l, v255.h op_sel:[0,1,0] ; encoding: [0x05,0x10,0x34,0xd5,0xff,0xff,0x03,0x00]
2132
2133v_subrev_f16_e64 v255.h, -|0xfe0b|, -|vcc_hi| clamp div:2
2134// GFX12: v_subrev_f16_e64 v255.h, -|0xfe0b|, -|vcc_hi| op_sel:[0,0,1] clamp div:2 ; encoding: [0xff,0xc3,0x34,0xd5,0xff,0xd6,0x00,0x78,0x0b,0xfe,0x00,0x00]
2135
2136v_subrev_f32_e64 v5, v1, v2
2137// GFX12: v_subrev_f32_e64 v5, v1, v2             ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x00]
2138
2139v_subrev_f32_e64 v5, v255, v255
2140// GFX12: v_subrev_f32_e64 v5, v255, v255         ; encoding: [0x05,0x00,0x05,0xd5,0xff,0xff,0x03,0x00]
2141
2142v_subrev_f32_e64 v5, s1, s2
2143// GFX12: v_subrev_f32_e64 v5, s1, s2             ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x04,0x00,0x00]
2144
2145v_subrev_f32_e64 v5, s105, s105
2146// GFX12: v_subrev_f32_e64 v5, s105, s105         ; encoding: [0x05,0x00,0x05,0xd5,0x69,0xd2,0x00,0x00]
2147
2148v_subrev_f32_e64 v5, vcc_lo, ttmp15
2149// GFX12: v_subrev_f32_e64 v5, vcc_lo, ttmp15     ; encoding: [0x05,0x00,0x05,0xd5,0x6a,0xf6,0x00,0x00]
2150
2151v_subrev_f32_e64 v5, vcc_hi, 0xaf123456
2152// GFX12: v_subrev_f32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x05,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
2153
2154v_subrev_f32_e64 v5, ttmp15, src_scc
2155// GFX12: v_subrev_f32_e64 v5, ttmp15, src_scc    ; encoding: [0x05,0x00,0x05,0xd5,0x7b,0xfa,0x01,0x00]
2156
2157v_subrev_f32_e64 v5, m0, 0.5
2158// GFX12: v_subrev_f32_e64 v5, m0, 0.5            ; encoding: [0x05,0x00,0x05,0xd5,0x7d,0xe0,0x01,0x00]
2159
2160v_subrev_f32_e64 v5, exec_lo, -1
2161// GFX12: v_subrev_f32_e64 v5, exec_lo, -1        ; encoding: [0x05,0x00,0x05,0xd5,0x7e,0x82,0x01,0x00]
2162
2163v_subrev_f32_e64 v5, |exec_hi|, null
2164// GFX12: v_subrev_f32_e64 v5, |exec_hi|, null    ; encoding: [0x05,0x01,0x05,0xd5,0x7f,0xf8,0x00,0x00]
2165
2166v_subrev_f32_e64 v5, null, exec_lo
2167// GFX12: v_subrev_f32_e64 v5, null, exec_lo      ; encoding: [0x05,0x00,0x05,0xd5,0x7c,0xfc,0x00,0x00]
2168
2169v_subrev_f32_e64 v5, -1, exec_hi
2170// GFX12: v_subrev_f32_e64 v5, -1, exec_hi        ; encoding: [0x05,0x00,0x05,0xd5,0xc1,0xfe,0x00,0x00]
2171
2172v_subrev_f32_e64 v5, 0.5, -m0 mul:2
2173// GFX12: v_subrev_f32_e64 v5, 0.5, -m0 mul:2     ; encoding: [0x05,0x00,0x05,0xd5,0xf0,0xfa,0x00,0x48]
2174
2175v_subrev_f32_e64 v5, -src_scc, |vcc_lo| mul:4
2176// GFX12: v_subrev_f32_e64 v5, -src_scc, |vcc_lo| mul:4 ; encoding: [0x05,0x02,0x05,0xd5,0xfd,0xd4,0x00,0x30]
2177
2178v_subrev_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2
2179// GFX12: v_subrev_f32_e64 v255, -|0xaf123456|, -|vcc_hi| clamp div:2 ; encoding: [0xff,0x83,0x05,0xd5,0xff,0xd6,0x00,0x78,0x56,0x34,0x12,0xaf]
2180
2181v_subrev_nc_u32_e64 v5, v1, v2
2182// GFX12: v_subrev_nc_u32_e64 v5, v1, v2          ; encoding: [0x05,0x00,0x27,0xd5,0x01,0x05,0x02,0x00]
2183
2184v_subrev_nc_u32_e64 v5, v255, v255
2185// GFX12: v_subrev_nc_u32_e64 v5, v255, v255      ; encoding: [0x05,0x00,0x27,0xd5,0xff,0xff,0x03,0x00]
2186
2187v_subrev_nc_u32_e64 v5, s1, s2
2188// GFX12: v_subrev_nc_u32_e64 v5, s1, s2          ; encoding: [0x05,0x00,0x27,0xd5,0x01,0x04,0x00,0x00]
2189
2190v_subrev_nc_u32_e64 v5, s105, s105
2191// GFX12: v_subrev_nc_u32_e64 v5, s105, s105      ; encoding: [0x05,0x00,0x27,0xd5,0x69,0xd2,0x00,0x00]
2192
2193v_subrev_nc_u32_e64 v5, vcc_lo, ttmp15
2194// GFX12: v_subrev_nc_u32_e64 v5, vcc_lo, ttmp15  ; encoding: [0x05,0x00,0x27,0xd5,0x6a,0xf6,0x00,0x00]
2195
2196v_subrev_nc_u32_e64 v5, vcc_hi, 0xaf123456
2197// GFX12: v_subrev_nc_u32_e64 v5, vcc_hi, 0xaf123456 ; encoding: [0x05,0x00,0x27,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
2198
2199v_subrev_nc_u32_e64 v5, ttmp15, src_scc
2200// GFX12: v_subrev_nc_u32_e64 v5, ttmp15, src_scc ; encoding: [0x05,0x00,0x27,0xd5,0x7b,0xfa,0x01,0x00]
2201
2202v_subrev_nc_u32_e64 v5, m0, 0.5
2203// GFX12: v_subrev_nc_u32_e64 v5, m0, 0.5         ; encoding: [0x05,0x00,0x27,0xd5,0x7d,0xe0,0x01,0x00]
2204
2205v_subrev_nc_u32_e64 v5, exec_lo, -1
2206// GFX12: v_subrev_nc_u32_e64 v5, exec_lo, -1     ; encoding: [0x05,0x00,0x27,0xd5,0x7e,0x82,0x01,0x00]
2207
2208v_subrev_nc_u32_e64 v5, exec_hi, null
2209// GFX12: v_subrev_nc_u32_e64 v5, exec_hi, null   ; encoding: [0x05,0x00,0x27,0xd5,0x7f,0xf8,0x00,0x00]
2210
2211v_subrev_nc_u32_e64 v5, null, exec_lo
2212// GFX12: v_subrev_nc_u32_e64 v5, null, exec_lo   ; encoding: [0x05,0x00,0x27,0xd5,0x7c,0xfc,0x00,0x00]
2213
2214v_subrev_nc_u32_e64 v5, -1, exec_hi
2215// GFX12: v_subrev_nc_u32_e64 v5, -1, exec_hi     ; encoding: [0x05,0x00,0x27,0xd5,0xc1,0xfe,0x00,0x00]
2216
2217v_subrev_nc_u32_e64 v5, 0.5, m0
2218// GFX12: v_subrev_nc_u32_e64 v5, 0.5, m0         ; encoding: [0x05,0x00,0x27,0xd5,0xf0,0xfa,0x00,0x00]
2219
2220v_subrev_nc_u32_e64 v5, src_scc, vcc_lo
2221// GFX12: v_subrev_nc_u32_e64 v5, src_scc, vcc_lo ; encoding: [0x05,0x00,0x27,0xd5,0xfd,0xd4,0x00,0x00]
2222
2223v_subrev_nc_u32_e64 v255, 0xaf123456, vcc_hi clamp
2224// GFX12: v_subrev_nc_u32_e64 v255, 0xaf123456, vcc_hi clamp ; encoding: [0xff,0x80,0x27,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
2225
2226v_xnor_b32_e64 v5, v1, v2
2227// GFX12: v_xnor_b32_e64 v5, v1, v2               ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0x05,0x02,0x00]
2228
2229v_xnor_b32_e64 v5, v255, v255
2230// GFX12: v_xnor_b32_e64 v5, v255, v255           ; encoding: [0x05,0x00,0x1e,0xd5,0xff,0xff,0x03,0x00]
2231
2232v_xnor_b32_e64 v5, s1, s2
2233// GFX12: v_xnor_b32_e64 v5, s1, s2               ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0x04,0x00,0x00]
2234
2235v_xnor_b32_e64 v5, s105, s105
2236// GFX12: v_xnor_b32_e64 v5, s105, s105           ; encoding: [0x05,0x00,0x1e,0xd5,0x69,0xd2,0x00,0x00]
2237
2238v_xnor_b32_e64 v5, vcc_lo, ttmp15
2239// GFX12: v_xnor_b32_e64 v5, vcc_lo, ttmp15       ; encoding: [0x05,0x00,0x1e,0xd5,0x6a,0xf6,0x00,0x00]
2240
2241v_xnor_b32_e64 v5, vcc_hi, 0xaf123456
2242// GFX12: v_xnor_b32_e64 v5, vcc_hi, 0xaf123456   ; encoding: [0x05,0x00,0x1e,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
2243
2244v_xnor_b32_e64 v5, ttmp15, src_scc
2245// GFX12: v_xnor_b32_e64 v5, ttmp15, src_scc      ; encoding: [0x05,0x00,0x1e,0xd5,0x7b,0xfa,0x01,0x00]
2246
2247v_xnor_b32_e64 v5, m0, 0.5
2248// GFX12: v_xnor_b32_e64 v5, m0, 0.5              ; encoding: [0x05,0x00,0x1e,0xd5,0x7d,0xe0,0x01,0x00]
2249
2250v_xnor_b32_e64 v5, exec_lo, -1
2251// GFX12: v_xnor_b32_e64 v5, exec_lo, -1          ; encoding: [0x05,0x00,0x1e,0xd5,0x7e,0x82,0x01,0x00]
2252
2253v_xnor_b32_e64 v5, exec_hi, null
2254// GFX12: v_xnor_b32_e64 v5, exec_hi, null        ; encoding: [0x05,0x00,0x1e,0xd5,0x7f,0xf8,0x00,0x00]
2255
2256v_xnor_b32_e64 v5, null, exec_lo
2257// GFX12: v_xnor_b32_e64 v5, null, exec_lo        ; encoding: [0x05,0x00,0x1e,0xd5,0x7c,0xfc,0x00,0x00]
2258
2259v_xnor_b32_e64 v5, -1, exec_hi
2260// GFX12: v_xnor_b32_e64 v5, -1, exec_hi          ; encoding: [0x05,0x00,0x1e,0xd5,0xc1,0xfe,0x00,0x00]
2261
2262v_xnor_b32_e64 v5, 0.5, m0
2263// GFX12: v_xnor_b32_e64 v5, 0.5, m0              ; encoding: [0x05,0x00,0x1e,0xd5,0xf0,0xfa,0x00,0x00]
2264
2265v_xnor_b32_e64 v5, src_scc, vcc_lo
2266// GFX12: v_xnor_b32_e64 v5, src_scc, vcc_lo      ; encoding: [0x05,0x00,0x1e,0xd5,0xfd,0xd4,0x00,0x00]
2267
2268v_xnor_b32_e64 v255, 0xaf123456, vcc_hi
2269// GFX12: v_xnor_b32_e64 v255, 0xaf123456, vcc_hi ; encoding: [0xff,0x00,0x1e,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
2270
2271v_xor_b32_e64 v5, v1, v2
2272// GFX12: v_xor_b32_e64 v5, v1, v2                ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0x05,0x02,0x00]
2273
2274v_xor_b32_e64 v5, v255, v255
2275// GFX12: v_xor_b32_e64 v5, v255, v255            ; encoding: [0x05,0x00,0x1d,0xd5,0xff,0xff,0x03,0x00]
2276
2277v_xor_b32_e64 v5, s1, s2
2278// GFX12: v_xor_b32_e64 v5, s1, s2                ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0x04,0x00,0x00]
2279
2280v_xor_b32_e64 v5, s105, s105
2281// GFX12: v_xor_b32_e64 v5, s105, s105            ; encoding: [0x05,0x00,0x1d,0xd5,0x69,0xd2,0x00,0x00]
2282
2283v_xor_b32_e64 v5, vcc_lo, ttmp15
2284// GFX12: v_xor_b32_e64 v5, vcc_lo, ttmp15        ; encoding: [0x05,0x00,0x1d,0xd5,0x6a,0xf6,0x00,0x00]
2285
2286v_xor_b32_e64 v5, vcc_hi, 0xaf123456
2287// GFX12: v_xor_b32_e64 v5, vcc_hi, 0xaf123456    ; encoding: [0x05,0x00,0x1d,0xd5,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
2288
2289v_xor_b32_e64 v5, ttmp15, src_scc
2290// GFX12: v_xor_b32_e64 v5, ttmp15, src_scc       ; encoding: [0x05,0x00,0x1d,0xd5,0x7b,0xfa,0x01,0x00]
2291
2292v_xor_b32_e64 v5, m0, 0.5
2293// GFX12: v_xor_b32_e64 v5, m0, 0.5               ; encoding: [0x05,0x00,0x1d,0xd5,0x7d,0xe0,0x01,0x00]
2294
2295v_xor_b32_e64 v5, exec_lo, -1
2296// GFX12: v_xor_b32_e64 v5, exec_lo, -1           ; encoding: [0x05,0x00,0x1d,0xd5,0x7e,0x82,0x01,0x00]
2297
2298v_xor_b32_e64 v5, exec_hi, null
2299// GFX12: v_xor_b32_e64 v5, exec_hi, null         ; encoding: [0x05,0x00,0x1d,0xd5,0x7f,0xf8,0x00,0x00]
2300
2301v_xor_b32_e64 v5, null, exec_lo
2302// GFX12: v_xor_b32_e64 v5, null, exec_lo         ; encoding: [0x05,0x00,0x1d,0xd5,0x7c,0xfc,0x00,0x00]
2303
2304v_xor_b32_e64 v5, -1, exec_hi
2305// GFX12: v_xor_b32_e64 v5, -1, exec_hi           ; encoding: [0x05,0x00,0x1d,0xd5,0xc1,0xfe,0x00,0x00]
2306
2307v_xor_b32_e64 v5, 0.5, m0
2308// GFX12: v_xor_b32_e64 v5, 0.5, m0               ; encoding: [0x05,0x00,0x1d,0xd5,0xf0,0xfa,0x00,0x00]
2309
2310v_xor_b32_e64 v5, src_scc, vcc_lo
2311// GFX12: v_xor_b32_e64 v5, src_scc, vcc_lo       ; encoding: [0x05,0x00,0x1d,0xd5,0xfd,0xd4,0x00,0x00]
2312
2313v_xor_b32_e64 v255, 0xaf123456, vcc_hi
2314// GFX12: v_xor_b32_e64 v255, 0xaf123456, vcc_hi  ; encoding: [0xff,0x00,0x1d,0xd5,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
2315