[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx12_asm_vdsdir.s
blobada18da8e388e87b6ff1073b31109bb74dfbe7e3
1 // RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -show-encoding %s | FileCheck --strict-whitespace -check-prefix=GFX12 %s
3 ds_direct_load v1 wait_va_vdst:15
4 // GFX12: ds_direct_load v1 wait_va_vdst:15 wait_vm_vsrc:0 ; encoding: [0x01,0x00,0x1f,0xce]
6 ds_direct_load v2 wait_va_vdst:14
7 // GFX12: ds_direct_load v2 wait_va_vdst:14 wait_vm_vsrc:0 ; encoding: [0x02,0x00,0x1e,0xce]
9 ds_direct_load v3 wait_va_vdst:13
10 // GFX12: ds_direct_load v3 wait_va_vdst:13 wait_vm_vsrc:0 ; encoding: [0x03,0x00,0x1d,0xce]
12 ds_direct_load v4 wait_va_vdst:12
13 // GFX12: ds_direct_load v4 wait_va_vdst:12 wait_vm_vsrc:0 ; encoding: [0x04,0x00,0x1c,0xce]
15 ds_direct_load v5 wait_va_vdst:11
16 // GFX12: ds_direct_load v5 wait_va_vdst:11 wait_vm_vsrc:0 ; encoding: [0x05,0x00,0x1b,0xce]
18 ds_direct_load v6 wait_va_vdst:10
19 // GFX12: ds_direct_load v6 wait_va_vdst:10 wait_vm_vsrc:0 ; encoding: [0x06,0x00,0x1a,0xce]
21 ds_direct_load v7 wait_va_vdst:9
22 // GFX12: ds_direct_load v7 wait_va_vdst:9 wait_vm_vsrc:0 ; encoding: [0x07,0x00,0x19,0xce]
24 ds_direct_load v8 wait_va_vdst:8
25 // GFX12: ds_direct_load v8 wait_va_vdst:8 wait_vm_vsrc:0 ; encoding: [0x08,0x00,0x18,0xce]
27 ds_direct_load v9 wait_va_vdst:7
28 // GFX12: ds_direct_load v9 wait_va_vdst:7 wait_vm_vsrc:0 ; encoding: [0x09,0x00,0x17,0xce]
30 ds_direct_load v10 wait_va_vdst:6
31 // GFX12: ds_direct_load v10 wait_va_vdst:6 wait_vm_vsrc:0 ; encoding: [0x0a,0x00,0x16,0xce]
33 ds_direct_load v11 wait_va_vdst:5
34 // GFX12: ds_direct_load v11 wait_va_vdst:5 wait_vm_vsrc:0 ; encoding: [0x0b,0x00,0x15,0xce]
36 ds_direct_load v12 wait_va_vdst:4
37 // GFX12: ds_direct_load v12 wait_va_vdst:4 wait_vm_vsrc:0 ; encoding: [0x0c,0x00,0x14,0xce]
39 ds_direct_load v13 wait_va_vdst:3
40 // GFX12: ds_direct_load v13 wait_va_vdst:3 wait_vm_vsrc:0 ; encoding: [0x0d,0x00,0x13,0xce]
42 ds_direct_load v14 wait_va_vdst:2
43 // GFX12: ds_direct_load v14 wait_va_vdst:2 wait_vm_vsrc:0 ; encoding: [0x0e,0x00,0x12,0xce]
45 ds_direct_load v15 wait_va_vdst:1
46 // GFX12: ds_direct_load v15 wait_va_vdst:1 wait_vm_vsrc:0 ; encoding: [0x0f,0x00,0x11,0xce]
48 ds_direct_load v16 wait_va_vdst:0
49 // GFX12: ds_direct_load v16 wait_va_vdst:0 wait_vm_vsrc:0 ; encoding: [0x10,0x00,0x10,0xce]
51 ds_direct_load v17
52 // GFX12: ds_direct_load v17 wait_va_vdst:0 wait_vm_vsrc:0 ; encoding: [0x11,0x00,0x10,0xce]
54 ds_param_load v1, attr0.x wait_va_vdst:15
55 // GFX12: ds_param_load v1, attr0.x wait_va_vdst:15 wait_vm_vsrc:0 ; encoding: [0x01,0x00,0x0f,0xce]
57 ds_param_load v2, attr0.y wait_va_vdst:14
58 // GFX12: ds_param_load v2, attr0.y wait_va_vdst:14 wait_vm_vsrc:0 ; encoding: [0x02,0x01,0x0e,0xce]
60 ds_param_load v3, attr0.z wait_va_vdst:13
61 // GFX12: ds_param_load v3, attr0.z wait_va_vdst:13 wait_vm_vsrc:0 ; encoding: [0x03,0x02,0x0d,0xce]
63 ds_param_load v4, attr0.w wait_va_vdst:12
64 // GFX12: ds_param_load v4, attr0.w wait_va_vdst:12 wait_vm_vsrc:0 ; encoding: [0x04,0x03,0x0c,0xce]
66 ds_param_load v5, attr0.x wait_va_vdst:11
67 // GFX12: ds_param_load v5, attr0.x wait_va_vdst:11 wait_vm_vsrc:0 ; encoding: [0x05,0x00,0x0b,0xce]
69 ds_param_load v6, attr1.x wait_va_vdst:10
70 // GFX12: ds_param_load v6, attr1.x wait_va_vdst:10 wait_vm_vsrc:0 ; encoding: [0x06,0x04,0x0a,0xce]
72 ds_param_load v7, attr2.y wait_va_vdst:9
73 // GFX12: ds_param_load v7, attr2.y wait_va_vdst:9 wait_vm_vsrc:0 ; encoding: [0x07,0x09,0x09,0xce]
75 ds_param_load v8, attr3.z wait_va_vdst:8
76 // GFX12: ds_param_load v8, attr3.z wait_va_vdst:8 wait_vm_vsrc:0 ; encoding: [0x08,0x0e,0x08,0xce]
78 ds_param_load v9, attr4.w wait_va_vdst:7
79 // GFX12: ds_param_load v9, attr4.w wait_va_vdst:7 wait_vm_vsrc:0 ; encoding: [0x09,0x13,0x07,0xce]
81 ds_param_load v10, attr11.x wait_va_vdst:6
82 // GFX12: ds_param_load v10, attr11.x wait_va_vdst:6 wait_vm_vsrc:0 ; encoding: [0x0a,0x2c,0x06,0xce]
84 ds_param_load v11, attr22.y wait_va_vdst:5
85 // GFX12: ds_param_load v11, attr22.y wait_va_vdst:5 wait_vm_vsrc:0 ; encoding: [0x0b,0x59,0x05,0xce]
87 ds_param_load v13, attr32.x wait_va_vdst:3
88 // GFX12: ds_param_load v13, attr32.x wait_va_vdst:3 wait_vm_vsrc:0 ; encoding: [0x0d,0x80,0x03,0xce]
90 ds_param_load v14, attr32.y wait_va_vdst:2
91 // GFX12: ds_param_load v14, attr32.y wait_va_vdst:2 wait_vm_vsrc:0 ; encoding: [0x0e,0x81,0x02,0xce]
93 ds_param_load v15, attr32.z wait_va_vdst:1
94 // GFX12: ds_param_load v15, attr32.z wait_va_vdst:1 wait_vm_vsrc:0 ; encoding: [0x0f,0x82,0x01,0xce]
96 ds_param_load v16, attr32.w wait_va_vdst:0
97 // GFX12: ds_param_load v16, attr32.w wait_va_vdst:0 wait_vm_vsrc:0 ; encoding: [0x10,0x83,0x00,0xce]
99 ds_param_load v17, attr32.w
100 // GFX12: ds_param_load v17, attr32.w wait_va_vdst:0 wait_vm_vsrc:0 ; encoding: [0x11,0x83,0x00,0xce]
102 ds_direct_load v1 wait_va_vdst:15 wait_vm_vsrc:1
103 // GFX12: ds_direct_load v1 wait_va_vdst:15 wait_vm_vsrc:1 ; encoding: [0x01,0x00,0x9f,0xce]
105 ds_direct_load v2 wait_va_vdst:14 wait_vm_vsrc:1
106 // GFX12: ds_direct_load v2 wait_va_vdst:14 wait_vm_vsrc:1 ; encoding: [0x02,0x00,0x9e,0xce]
108 ds_direct_load v3 wait_va_vdst:13 wait_vm_vsrc:1
109 // GFX12: ds_direct_load v3 wait_va_vdst:13 wait_vm_vsrc:1 ; encoding: [0x03,0x00,0x9d,0xce]
111 ds_direct_load v4 wait_va_vdst:12 wait_vm_vsrc:1
112 // GFX12: ds_direct_load v4 wait_va_vdst:12 wait_vm_vsrc:1 ; encoding: [0x04,0x00,0x9c,0xce]
114 ds_direct_load v5 wait_va_vdst:11 wait_vm_vsrc:1
115 // GFX12: ds_direct_load v5 wait_va_vdst:11 wait_vm_vsrc:1 ; encoding: [0x05,0x00,0x9b,0xce]
117 ds_direct_load v6 wait_va_vdst:10 wait_vm_vsrc:1
118 // GFX12: ds_direct_load v6 wait_va_vdst:10 wait_vm_vsrc:1 ; encoding: [0x06,0x00,0x9a,0xce]
120 ds_direct_load v7 wait_va_vdst:9 wait_vm_vsrc:1
121 // GFX12: ds_direct_load v7 wait_va_vdst:9 wait_vm_vsrc:1 ; encoding: [0x07,0x00,0x99,0xce]
123 ds_direct_load v8 wait_va_vdst:8 wait_vm_vsrc:1
124 // GFX12: ds_direct_load v8 wait_va_vdst:8 wait_vm_vsrc:1 ; encoding: [0x08,0x00,0x98,0xce]
126 ds_direct_load v9 wait_va_vdst:7 wait_vm_vsrc:1
127 // GFX12: ds_direct_load v9 wait_va_vdst:7 wait_vm_vsrc:1 ; encoding: [0x09,0x00,0x97,0xce]
129 ds_direct_load v10 wait_va_vdst:6 wait_vm_vsrc:1
130 // GFX12: ds_direct_load v10 wait_va_vdst:6 wait_vm_vsrc:1 ; encoding: [0x0a,0x00,0x96,0xce]
132 ds_direct_load v11 wait_va_vdst:5 wait_vm_vsrc:1
133 // GFX12: ds_direct_load v11 wait_va_vdst:5 wait_vm_vsrc:1 ; encoding: [0x0b,0x00,0x95,0xce]
135 ds_direct_load v12 wait_va_vdst:4 wait_vm_vsrc:1
136 // GFX12: ds_direct_load v12 wait_va_vdst:4 wait_vm_vsrc:1 ; encoding: [0x0c,0x00,0x94,0xce]
138 ds_direct_load v13 wait_va_vdst:3 wait_vm_vsrc:1
139 // GFX12: ds_direct_load v13 wait_va_vdst:3 wait_vm_vsrc:1 ; encoding: [0x0d,0x00,0x93,0xce]
141 ds_direct_load v14 wait_va_vdst:2 wait_vm_vsrc:1
142 // GFX12: ds_direct_load v14 wait_va_vdst:2 wait_vm_vsrc:1 ; encoding: [0x0e,0x00,0x92,0xce]
144 ds_direct_load v15 wait_va_vdst:1 wait_vm_vsrc:1
145 // GFX12: ds_direct_load v15 wait_va_vdst:1 wait_vm_vsrc:1 ; encoding: [0x0f,0x00,0x91,0xce]
147 ds_direct_load v16 wait_va_vdst:0 wait_vm_vsrc:1
148 // GFX12: ds_direct_load v16 wait_va_vdst:0 wait_vm_vsrc:1 ; encoding: [0x10,0x00,0x90,0xce]
150 ds_direct_load v17 wait_vm_vsrc:1
151 // GFX12: ds_direct_load v17 wait_va_vdst:0 wait_vm_vsrc:1 ; encoding: [0x11,0x00,0x90,0xce]
153 ds_param_load v1, attr0.x wait_va_vdst:15 wait_vm_vsrc:1
154 // GFX12: ds_param_load v1, attr0.x wait_va_vdst:15 wait_vm_vsrc:1 ; encoding: [0x01,0x00,0x8f,0xce]
156 ds_param_load v2, attr0.y wait_va_vdst:14 wait_vm_vsrc:1
157 // GFX12: ds_param_load v2, attr0.y wait_va_vdst:14 wait_vm_vsrc:1 ; encoding: [0x02,0x01,0x8e,0xce]
159 ds_param_load v3, attr0.z wait_va_vdst:13 wait_vm_vsrc:1
160 // GFX12: ds_param_load v3, attr0.z wait_va_vdst:13 wait_vm_vsrc:1 ; encoding: [0x03,0x02,0x8d,0xce]
162 ds_param_load v4, attr0.w wait_va_vdst:12 wait_vm_vsrc:1
163 // GFX12: ds_param_load v4, attr0.w wait_va_vdst:12 wait_vm_vsrc:1 ; encoding: [0x04,0x03,0x8c,0xce]
165 ds_param_load v5, attr0.x wait_va_vdst:11 wait_vm_vsrc:1
166 // GFX12: ds_param_load v5, attr0.x wait_va_vdst:11 wait_vm_vsrc:1 ; encoding: [0x05,0x00,0x8b,0xce]
168 ds_param_load v6, attr1.x wait_va_vdst:10 wait_vm_vsrc:1
169 // GFX12: ds_param_load v6, attr1.x wait_va_vdst:10 wait_vm_vsrc:1 ; encoding: [0x06,0x04,0x8a,0xce]
171 ds_param_load v7, attr2.y wait_va_vdst:9 wait_vm_vsrc:1
172 // GFX12: ds_param_load v7, attr2.y wait_va_vdst:9 wait_vm_vsrc:1 ; encoding: [0x07,0x09,0x89,0xce]
174 ds_param_load v8, attr3.z wait_va_vdst:8 wait_vm_vsrc:1
175 // GFX12: ds_param_load v8, attr3.z wait_va_vdst:8 wait_vm_vsrc:1 ; encoding: [0x08,0x0e,0x88,0xce]
177 ds_param_load v9, attr4.w wait_va_vdst:7 wait_vm_vsrc:1
178 // GFX12: ds_param_load v9, attr4.w wait_va_vdst:7 wait_vm_vsrc:1 ; encoding: [0x09,0x13,0x87,0xce]
180 ds_param_load v10, attr11.x wait_va_vdst:6 wait_vm_vsrc:1
181 // GFX12: ds_param_load v10, attr11.x wait_va_vdst:6 wait_vm_vsrc:1 ; encoding: [0x0a,0x2c,0x86,0xce]
183 ds_param_load v11, attr22.y wait_va_vdst:5 wait_vm_vsrc:1
184 // GFX12: ds_param_load v11, attr22.y wait_va_vdst:5 wait_vm_vsrc:1 ; encoding: [0x0b,0x59,0x85,0xce]
186 ds_param_load v13, attr32.x wait_va_vdst:3 wait_vm_vsrc:1
187 // GFX12: ds_param_load v13, attr32.x wait_va_vdst:3 wait_vm_vsrc:1 ; encoding: [0x0d,0x80,0x83,0xce]
189 ds_param_load v14, attr32.y wait_va_vdst:2 wait_vm_vsrc:1
190 // GFX12: ds_param_load v14, attr32.y wait_va_vdst:2 wait_vm_vsrc:1 ; encoding: [0x0e,0x81,0x82,0xce]
192 ds_param_load v15, attr32.z wait_va_vdst:1 wait_vm_vsrc:1
193 // GFX12: ds_param_load v15, attr32.z wait_va_vdst:1 wait_vm_vsrc:1 ; encoding: [0x0f,0x82,0x81,0xce]
195 ds_param_load v16, attr32.w wait_va_vdst:0 wait_vm_vsrc:1
196 // GFX12: ds_param_load v16, attr32.w wait_va_vdst:0 wait_vm_vsrc:1 ; encoding: [0x10,0x83,0x80,0xce]
198 ds_param_load v17, attr32.w wait_vm_vsrc:1
199 // GFX12: ds_param_load v17, attr32.w wait_va_vdst:0 wait_vm_vsrc:1 ; encoding: [0x11,0x83,0x80,0xce]