Lines Matching refs:GCN

1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=SI …
2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -chec…
4 ; GCN-LABEL: {{^}}s_sext_i1_to_i32:
5 ; GCN: v_cndmask_b32_e64
6 ; GCN: s_endpgm
14 ; GCN-LABEL: {{^}}test_s_sext_i32_to_i64:
15 ; GCN: s_ashr_i32
16 ; GCN: s_endpg
26 ; GCN-LABEL: {{^}}s_sext_i1_to_i64:
27 ; GCN: v_cndmask_b32_e64 v[[LOREG:[0-9]+]], 0, -1, vcc
28 ; GCN: v_mov_b32_e32 v[[HIREG:[0-9]+]], v[[LOREG]]
29 ; GCN: buffer_store_dwordx2 v{{\[}}[[LOREG]]:[[HIREG]]{{\]}}
30 ; GCN: s_endpgm
38 ; GCN-LABEL: {{^}}s_sext_i32_to_i64:
39 ; GCN: s_ashr_i32
40 ; GCN: s_endpgm
47 ; GCN-LABEL: {{^}}v_sext_i32_to_i64:
48 ; GCN: v_ashr
49 ; GCN: s_endpgm
57 ; GCN-LABEL: {{^}}s_sext_i16_to_i64:
58 ; GCN: s_endpgm
65 ; GCN-LABEL: {{^}}s_sext_v4i8_to_v4i32:
66 ; GCN: s_load_dword [[VAL:s[0-9]+]]
67 ; GCN-DAG: s_sext_i32_i8 [[EXT0:s[0-9]+]], [[VAL]]
68 ; GCN-DAG: s_bfe_i32 [[EXT1:s[0-9]+]], [[VAL]], 0x80008
69 ; GCN-DAG: s_bfe_i32 [[EXT2:s[0-9]+]], [[VAL]], 0x80010
70 ; GCN-DAG: s_ashr_i32 [[EXT3:s[0-9]+]], [[VAL]], 24
72 ; GCN-DAG: v_mov_b32_e32 [[VEXT0:v[0-9]+]], [[EXT0]]
73 ; GCN-DAG: v_mov_b32_e32 [[VEXT1:v[0-9]+]], [[EXT1]]
74 ; GCN-DAG: v_mov_b32_e32 [[VEXT2:v[0-9]+]], [[EXT2]]
75 ; GCN-DAG: v_mov_b32_e32 [[VEXT3:v[0-9]+]], [[EXT3]]
77 ; GCN-DAG: buffer_store_dword [[VEXT0]]
78 ; GCN-DAG: buffer_store_dword [[VEXT1]]
79 ; GCN-DAG: buffer_store_dword [[VEXT2]]
80 ; GCN-DAG: buffer_store_dword [[VEXT3]]
82 ; GCN: s_endpgm
97 ; GCN-LABEL: {{^}}v_sext_v4i8_to_v4i32:
98 ; GCN: buffer_load_dword [[VAL:v[0-9]+]]
99 ; GCN-DAG: v_bfe_i32 [[EXT0:v[0-9]+]], [[VAL]], 0, 8
100 ; GCN-DAG: v_bfe_i32 [[EXT1:v[0-9]+]], [[VAL]], 8, 8
101 ; GCN-DAG: v_bfe_i32 [[EXT2:v[0-9]+]], [[VAL]], 16, 8
102 ; GCN-DAG: v_ashrrev_i32_e32 [[EXT3:v[0-9]+]], 24, [[VAL]]
104 ; GCN: buffer_store_dword [[EXT0]]
105 ; GCN: buffer_store_dword [[EXT1]]
106 ; GCN: buffer_store_dword [[EXT2]]
107 ; GCN: buffer_store_dword [[EXT3]]
124 ; GCN-LABEL: {{^}}s_sext_v4i16_to_v4i32:
125 ; GCN-DAG: s_ashr_i64 s{{\[[0-9]+:[0-9]+\]}}, s{{\[[0-9]+:[0-9]+\]}}, 48
126 ; GCN-DAG: s_ashr_i32 s{{[0-9]+}}, s{{[0-9]+}}, 16
127 ; GCN-DAG: s_sext_i32_i16
128 ; GCN-DAG: s_sext_i32_i16
129 ; GCN: s_endpgm
144 ; GCN-LABEL: {{^}}v_sext_v4i16_to_v4i32:
147 ; GCN-DAG: v_ashrrev_i32_e32 v{{[0-9]+}}, 16, v{{[0-9]+}}
148 ; GCN-DAG: v_ashrrev_i32_e32 v{{[0-9]+}}, 16, v{{[0-9]+}}
149 ; GCN-DAG: v_bfe_i32 v{{[0-9]+}}, v{{[0-9]+}}, 0, 16
150 ; GCN-DAG: v_bfe_i32 v{{[0-9]+}}, v{{[0-9]+}}, 0, 16
151 ; GCN: s_endpgm