Lines Matching refs:GCN
1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN …
2 …onga -verify-machineinstrs < %s | FileCheck -check-prefix=VI -check-prefix=GCN -check-prefix=FUNC …
6 ; GCN-NOT: v_cmp
7 ; GCN: v_cmp_ne_i32_e32 vcc,
8 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
9 ; GCN-NEXT:buffer_store_byte [[RESULT]]
10 ; GCN-NEXT: s_endpgm
23 ; GCN-NOT: v_cmp
24 ; GCN: v_cmp_ne_i32_e32 vcc,
25 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
26 ; GCN-NEXT: buffer_store_byte [[RESULT]]
27 ; GCN-NEXT: s_endpgm
40 ; GCN-NOT: v_cmp
41 ; GCN: v_cmp_eq_i32_e32 vcc,
42 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
43 ; GCN-NEXT: buffer_store_byte [[RESULT]]
44 ; GCN-NEXT: s_endpgm
54 ; GCN-NOT: v_cmp
55 ; GCN: v_cmp_eq_i32_e32 vcc,
56 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
57 ; GCN-NEXT: buffer_store_byte [[RESULT]]
58 ; GCN-NEXT: s_endpgm
68 ; GCN-NOT: v_cmp
69 ; GCN: v_cmp_ne_i32_e32 vcc,
70 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
71 ; GCN-NEXT: buffer_store_byte [[RESULT]]
72 ; GCN-NEXT: s_endpgm
82 ; GCN-NOT: v_cmp
83 ; GCN: v_cmp_ne_i32_e32 vcc,
84 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
85 ; GCN-NEXT: buffer_store_byte [[RESULT]]
86 ; GCN-NEXT: s_endpgm
96 ; GCN-NOT: v_cmp
97 ; GCN: v_cmp_eq_i32_e32 vcc,
98 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
99 ; GCN-NEXT: buffer_store_byte [[RESULT]]
100 ; GCN-NEXT: s_endpgm
110 ; GCN-NOT: v_cmp
111 ; GCN: v_cmp_eq_i32_e32 vcc,
112 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
113 ; GCN-NEXT: buffer_store_byte [[RESULT]]
124 ; GCN: v_mov_b32_e32 [[TMP:v[0-9]+]], 0{{$}}
125 ; GCN: buffer_store_byte [[TMP]]
126 ; GCN-NEXT: s_endpgm
137 ; GCN: v_mov_b32_e32 [[TMP:v[0-9]+]], 1{{$}}
138 ; GCN: buffer_store_byte [[TMP]]
139 ; GCN-NEXT: s_endpgm
151 ; GCN: s_movk_i32 [[K255:s[0-9]+]], 0xff
152 ; GCN-DAG: s_and_b32 [[B:s[0-9]+]], [[VALUE]], [[K255]]
153 ; GCN-DAG: v_mov_b32_e32 [[VK255:v[0-9]+]], [[K255]]
154 ; GCN: v_cmp_ne_i32_e32 vcc, [[B]], [[VK255]]
155 ; GCN: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
156 ; GCN: buffer_store_byte [[RESULT]]
157 ; GCN: s_endpgm
166 ; GCN: buffer_load_sbyte [[B:v[0-9]+]]
167 ; GCN: v_cmp_ne_i32_e32 vcc, -1, [[B]]{{$}}
168 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
169 ; GCN: buffer_store_byte [[RESULT]]
170 ; GCN: s_endpgm
180 ; GCN: s_load_dword [[B:s[0-9]+]]
181 ; GCN: v_cmp_ne_i32_e64 [[CMP:s\[[0-9]+:[0-9]+\]]], -1, [[B]]
182 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, [[CMP]]
183 ; GCN-NEXT: buffer_store_byte [[RESULT]]
184 ; GCN: s_endpgm
199 ; GCN: s_movk_i32 [[K:s[0-9]+]], 0xff
200 ; GCN-DAG: s_and_b32 [[B:s[0-9]+]], [[VAL]], [[K]]
201 ; GCN-DAG: v_mov_b32_e32 [[VK:v[0-9]+]], [[K]]
202 ; GCN: v_cmp_ne_i32_e32 vcc, [[B]], [[VK]]{{$}}
203 ; GCN: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
204 ; GCN: buffer_store_byte [[RESULT]]
205 ; GCN: s_endpgm
214 ; GCN: v_mov_b32_e32 [[RESULT:v[0-9]+]], 1{{$}}
215 ; GCN: buffer_store_byte [[RESULT]]
216 ; GCN: s_endpgm
225 ; GCN: v_mov_b32_e32 [[RESULT:v[0-9]+]], 1{{$}}
226 ; GCN: buffer_store_byte [[RESULT]]
227 ; GCN-NEXT: s_endpgm
237 ; GCN: v_mov_b32_e32 [[RESULT:v[0-9]+]], 0{{$}}
238 ; GCN: buffer_store_byte [[RESULT]]
239 ; GCN-NEXT: s_endpgm
253 ; GCN: v_mov_b32_e32 [[K:v[0-9]+]], 0{{$}}
254 ; GCN: buffer_store_byte [[K]]
264 ; GCN: v_mov_b32_e32 [[K:v[0-9]+]], 1{{$}}
265 ; GCN: buffer_store_byte [[K]]
275 ; GCN: v_mov_b32_e32 [[K:v[0-9]+]], 1{{$}}
276 ; GCN: buffer_store_byte [[K]]