Lines Matching refs:GCN

1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN
2 …rch=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=VI -check-prefix=GCN %s
9 ; GCN-LABEL: {{^}}madak_f32:
10 ; GCN: buffer_load_dword [[VA:v[0-9]+]]
11 ; GCN: buffer_load_dword [[VB:v[0-9]+]]
12 ; GCN: v_madak_f32_e32 {{v[0-9]+}}, [[VA]], [[VB]], 0x41200000
32 ; GCN-LABEL: {{^}}madak_2_use_f32:
33 ; GCN-DAG: buffer_load_dword [[VA:v[0-9]+]], {{v\[[0-9]+:[0-9]+\]}}, {{s\[[0-9]+:[0-9]+\]}}, 0 addr…
34 ; GCN-DAG: buffer_load_dword [[VB:v[0-9]+]], {{v\[[0-9]+:[0-9]+\]}}, {{s\[[0-9]+:[0-9]+\]}}, 0 addr…
35 ; GCN-DAG: buffer_load_dword [[VC:v[0-9]+]], {{v\[[0-9]+:[0-9]+\]}}, {{s\[[0-9]+:[0-9]+\]}}, 0 addr…
36 ; GCN-DAG: v_mov_b32_e32 [[VK:v[0-9]+]], 0x41200000
37 ; GCN-DAG: v_mad_f32 {{v[0-9]+}}, [[VB]], [[VA]], [[VK]]
38 ; GCN-DAG: v_mac_f32_e32 [[VK]], [[VC]], [[VA]]
39 ; GCN: s_endpgm
64 ; GCN-LABEL: {{^}}madak_m_inline_imm_f32:
65 ; GCN: buffer_load_dword [[VA:v[0-9]+]]
66 ; GCN: v_madak_f32_e32 {{v[0-9]+}}, 4.0, [[VA]], 0x41200000
83 ; GCN-LABEL: {{^}}madak_inline_imm_f32:
84 ; GCN: buffer_load_dword [[VA:v[0-9]+]]
85 ; GCN: buffer_load_dword [[VB:v[0-9]+]]
86 ; GCN: v_mad_f32 {{v[0-9]+}}, [[VA]], [[VB]], 4.0
103 ; GCN-LABEL: {{^}}s_v_madak_f32:
104 ; GCN: s_load_dword [[SB:s[0-9]+]]
105 ; GCN-DAG: v_mov_b32_e32 [[VK:v[0-9]+]], 0x41200000
106 ; GCN-DAG: buffer_load_dword [[VA:v[0-9]+]]
107 ; GCN-NOT: v_madak_f32
108 ; GCN: v_mac_f32_e32 [[VK]], [[SB]], [[VA]]
122 ; GCN-LABEL: @v_s_madak_f32
123 ; GCN-DAG: s_load_dword [[SB:s[0-9]+]]
124 ; GCN-DAG: v_mov_b32_e32 [[VK:v[0-9]+]], 0x41200000
125 ; GCN-DAG: buffer_load_dword [[VA:v[0-9]+]]
126 ; GCN-NOT: v_madak_f32
127 ; GCN: v_mac_f32_e32 [[VK]], [[SB]], [[VA]]
141 ; GCN-LABEL: {{^}}s_s_madak_f32:
142 ; GCN-NOT: v_madak_f32
143 ; GCN: v_mac_f32_e32 {{v[0-9]+}}, {{s[0-9]+}}, {{v[0-9]+}}
151 ; GCN-LABEL: {{^}}no_madak_src0_modifier_f32:
152 ; GCN: buffer_load_dword [[VA:v[0-9]+]]
153 ; GCN: buffer_load_dword [[VB:v[0-9]+]]
154 ; GCN: v_mad_f32 {{v[0-9]+}}, |{{v[0-9]+}}|, {{v[0-9]+}}, {{[sv][0-9]+}}
155 ; GCN: s_endpgm
173 ; GCN-LABEL: {{^}}no_madak_src1_modifier_f32:
174 ; GCN: buffer_load_dword [[VA:v[0-9]+]]
175 ; GCN: buffer_load_dword [[VB:v[0-9]+]]
176 ; GCN: v_mad_f32 {{v[0-9]+}}, {{v[0-9]+}}, |{{v[0-9]+}}|, {{[sv][0-9]+}}
177 ; GCN: s_endpgm