• Home
  • Raw
  • Download

Lines Matching refs:WAIT_USE

113 #define WAIT_USE(res, cnt) BlockCycleEstimator::res, cnt  in get_perf_info()  macro
120 case instr_class::valu_fma: return {5, WAIT_USE(valu, 1)}; in get_perf_info()
121 case instr_class::valu64: return {6, WAIT_USE(valu, 2), WAIT_USE(valu_complex, 2)}; in get_perf_info()
123 return {8, WAIT_USE(valu, 4), WAIT_USE(valu_complex, 4)}; in get_perf_info()
125 return {10, WAIT_USE(valu, 1), WAIT_USE(valu_complex, 4)}; in get_perf_info()
126 case instr_class::valu_double: return {22, WAIT_USE(valu, 16), WAIT_USE(valu_complex, 16)}; in get_perf_info()
128 return {22, WAIT_USE(valu, 16), WAIT_USE(valu_complex, 16)}; in get_perf_info()
130 return {22, WAIT_USE(valu, 16), WAIT_USE(valu_complex, 16)}; in get_perf_info()
132 return {24, WAIT_USE(valu, 16), WAIT_USE(valu_complex, 16)}; in get_perf_info()
133 case instr_class::salu: return {2, WAIT_USE(scalar, 1)}; in get_perf_info()
134 case instr_class::smem: return {0, WAIT_USE(scalar, 1)}; in get_perf_info()
136 case instr_class::sendmsg: return {0, WAIT_USE(branch_sendmsg, 1)}; in get_perf_info()
138 return instr->ds().gds ? perf_info{0, WAIT_USE(export_gds, 1)} in get_perf_info()
139 : perf_info{0, WAIT_USE(lds, 1)}; in get_perf_info()
140 case instr_class::exp: return {0, WAIT_USE(export_gds, 1)}; in get_perf_info()
141 case instr_class::vmem: return {0, WAIT_USE(vmem, 1)}; in get_perf_info()
149 case instr_class::valu32: return {4, WAIT_USE(valu, 4)}; in get_perf_info()
150 case instr_class::valu_convert32: return {16, WAIT_USE(valu, 16)}; in get_perf_info()
151 case instr_class::valu64: return {8, WAIT_USE(valu, 8)}; in get_perf_info()
152 case instr_class::valu_quarter_rate32: return {16, WAIT_USE(valu, 16)}; in get_perf_info()
154 return program->dev.has_fast_fma32 ? perf_info{4, WAIT_USE(valu, 4)} in get_perf_info()
155 : perf_info{16, WAIT_USE(valu, 16)}; in get_perf_info()
156 case instr_class::valu_transcendental32: return {16, WAIT_USE(valu, 16)}; in get_perf_info()
157 case instr_class::valu_double: return {64, WAIT_USE(valu, 64)}; in get_perf_info()
158 case instr_class::valu_double_add: return {32, WAIT_USE(valu, 32)}; in get_perf_info()
159 case instr_class::valu_double_convert: return {16, WAIT_USE(valu, 16)}; in get_perf_info()
160 case instr_class::valu_double_transcendental: return {64, WAIT_USE(valu, 64)}; in get_perf_info()
161 case instr_class::salu: return {4, WAIT_USE(scalar, 4)}; in get_perf_info()
162 case instr_class::smem: return {4, WAIT_USE(scalar, 4)}; in get_perf_info()
164 return {8, WAIT_USE(branch_sendmsg, 8)}; in get_perf_info()
165 return {4, WAIT_USE(branch_sendmsg, 4)}; in get_perf_info()
167 return instr->ds().gds ? perf_info{4, WAIT_USE(export_gds, 4)} in get_perf_info()
168 : perf_info{4, WAIT_USE(lds, 4)}; in get_perf_info()
169 case instr_class::exp: return {16, WAIT_USE(export_gds, 16)}; in get_perf_info()
170 case instr_class::vmem: return {4, WAIT_USE(vmem, 4)}; in get_perf_info()
178 #undef WAIT_USE in get_perf_info()