Lines Matching refs:GCN

1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
6 ; GCN-LABEL: {{^}}v_test_canonicalize_var_f32:
7 ; GCN: v_mul_f32_e32 [[REG:v[0-9]+]], 1.0, {{v[0-9]+}}
8 ; GCN: buffer_store_dword [[REG]]
16 ; GCN-LABEL: {{^}}s_test_canonicalize_var_f32:
17 ; GCN: v_mul_f32_e64 [[REG:v[0-9]+]], 1.0, {{s[0-9]+}}
18 ; GCN: buffer_store_dword [[REG]]
25 ; GCN-LABEL: {{^}}test_fold_canonicalize_p0_f32:
26 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0{{$}}
27 ; GCN: buffer_store_dword [[REG]]
34 ; GCN-LABEL: {{^}}test_fold_canonicalize_n0_f32:
35 ; GCN: v_bfrev_b32_e32 [[REG:v[0-9]+]], 1{{$}}
36 ; GCN: buffer_store_dword [[REG]]
43 ; GCN-LABEL: {{^}}test_fold_canonicalize_p1_f32:
44 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 1.0{{$}}
45 ; GCN: buffer_store_dword [[REG]]
52 ; GCN-LABEL: {{^}}test_fold_canonicalize_n1_f32:
53 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], -1.0{{$}}
54 ; GCN: buffer_store_dword [[REG]]
61 ; GCN-LABEL: {{^}}test_fold_canonicalize_literal_f32:
62 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0x41800000{{$}}
63 ; GCN: buffer_store_dword [[REG]]
70 ; GCN-LABEL: {{^}}test_no_denormals_fold_canonicalize_denormal0_f32:
71 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0{{$}}
72 ; GCN: buffer_store_dword [[REG]]
79 ; GCN-LABEL: {{^}}test_denormals_fold_canonicalize_denormal0_f32:
80 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0x7fffff{{$}}
81 ; GCN: buffer_store_dword [[REG]]
88 ; GCN-LABEL: {{^}}test_no_denormals_fold_canonicalize_denormal1_f32:
89 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0{{$}}
90 ; GCN: buffer_store_dword [[REG]]
97 ; GCN-LABEL: {{^}}test_denormals_fold_canonicalize_denormal1_f32:
98 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0x807fffff{{$}}
99 ; GCN: buffer_store_dword [[REG]]
106 ; GCN-LABEL: {{^}}test_fold_canonicalize_qnan_f32:
107 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0x7fc00000{{$}}
108 ; GCN: buffer_store_dword [[REG]]
115 ; GCN-LABEL: {{^}}test_fold_canonicalize_qnan_value_neg1_f32:
116 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0x7fc00000{{$}}
117 ; GCN: buffer_store_dword [[REG]]
124 ; GCN-LABEL: {{^}}test_fold_canonicalize_qnan_value_neg2_f32:
125 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0x7fc00000{{$}}
126 ; GCN: buffer_store_dword [[REG]]
133 ; GCN-LABEL: {{^}}test_fold_canonicalize_snan0_value_f32:
134 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0x7fc00000{{$}}
135 ; GCN: buffer_store_dword [[REG]]
142 ; GCN-LABEL: {{^}}test_fold_canonicalize_snan1_value_f32:
143 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0x7fc00000{{$}}
144 ; GCN: buffer_store_dword [[REG]]
151 ; GCN-LABEL: {{^}}test_fold_canonicalize_snan2_value_f32:
152 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0x7fc00000{{$}}
153 ; GCN: buffer_store_dword [[REG]]
160 ; GCN-LABEL: {{^}}test_fold_canonicalize_snan3_value_f32:
161 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0x7fc00000{{$}}
162 ; GCN: buffer_store_dword [[REG]]
169 ; GCN-LABEL: {{^}}v_test_canonicalize_var_f64:
170 ; GCN: v_mul_f64 [[REG:v\[[0-9]+:[0-9]+\]]], 1.0, {{v\[[0-9]+:[0-9]+\]}}
171 ; GCN: buffer_store_dwordx2 [[REG]]
179 ; GCN-LABEL: {{^}}s_test_canonicalize_var_f64:
180 ; GCN: v_mul_f64 [[REG:v\[[0-9]+:[0-9]+\]]], 1.0, {{s\[[0-9]+:[0-9]+\]}}
181 ; GCN: buffer_store_dwordx2 [[REG]]
188 ; GCN-LABEL: {{^}}test_fold_canonicalize_p0_f64:
189 ; GCN: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
190 ; GCN: v_mov_b32_e32 v[[HI:[0-9]+]], v[[LO]]{{$}}
191 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
198 ; GCN-LABEL: {{^}}test_fold_canonicalize_n0_f64:
199 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
200 ; GCN-DAG: v_bfrev_b32_e32 v[[HI:[0-9]+]], 1{{$}}
201 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
208 ; GCN-LABEL: {{^}}test_fold_canonicalize_p1_f64:
209 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
210 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0x3ff00000{{$}}
211 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
218 ; GCN-LABEL: {{^}}test_fold_canonicalize_n1_f64:
219 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
220 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0xbff00000{{$}}
221 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
228 ; GCN-LABEL: {{^}}test_fold_canonicalize_literal_f64:
229 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
230 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0x40300000{{$}}
231 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
238 ; GCN-LABEL: {{^}}test_no_denormals_fold_canonicalize_denormal0_f64:
239 ; GCN: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
240 ; GCN: v_mov_b32_e32 v[[HI:[0-9]+]], v[[LO]]{{$}}
241 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
248 ; GCN-LABEL: {{^}}test_denormals_fold_canonicalize_denormal0_f64:
249 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], -1{{$}}
250 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0xfffff{{$}}
251 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
258 ; GCN-LABEL: {{^}}test_no_denormals_fold_canonicalize_denormal1_f64:
259 ; GCN: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
260 ; GCN: v_mov_b32_e32 v[[HI:[0-9]+]], v[[LO]]{{$}}
261 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
268 ; GCN-LABEL: {{^}}test_denormals_fold_canonicalize_denormal1_f64:
269 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], -1{{$}}
270 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0x800fffff{{$}}
271 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
278 ; GCN-LABEL: {{^}}test_fold_canonicalize_qnan_f64:
279 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0x7ff80000{{$}}
280 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
281 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
288 ; GCN-LABEL: {{^}}test_fold_canonicalize_qnan_value_neg1_f64:
289 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0x7ff80000{{$}}
290 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
291 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
298 ; GCN-LABEL: {{^}}test_fold_canonicalize_qnan_value_neg2_f64:
299 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0x7ff80000{{$}}
300 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
301 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
308 ; GCN-LABEL: {{^}}test_fold_canonicalize_snan0_value_f64:
309 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0x7ff80000{{$}}
310 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
311 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
318 ; GCN-LABEL: {{^}}test_fold_canonicalize_snan1_value_f64:
319 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0x7ff80000{{$}}
320 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
321 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
328 ; GCN-LABEL: {{^}}test_fold_canonicalize_snan2_value_f64:
329 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0x7ff80000{{$}}
330 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
331 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
338 ; GCN-LABEL: {{^}}test_fold_canonicalize_snan3_value_f64:
339 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0x7ff80000{{$}}
340 ; GCN-DAG: v_mov_b32_e32 v[[LO:[0-9]+]], 0{{$}}
341 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}