Home
last modified time | relevance | path

Searched refs:num_opcodes (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_ir.cpp617 info->ordered = aco_opcode::num_opcodes; in get_cmp_info()
618 info->unordered = aco_opcode::num_opcodes; in get_cmp_info()
619 info->swapped = aco_opcode::num_opcodes; in get_cmp_info()
620 info->inverse = aco_opcode::num_opcodes; in get_cmp_info()
621 info->f32 = aco_opcode::num_opcodes; in get_cmp_info()
710 return get_cmp_info(op, &info) ? info.ordered : aco_opcode::num_opcodes; in get_ordered()
717 return get_cmp_info(op, &info) ? info.unordered : aco_opcode::num_opcodes; in get_unordered()
724 return get_cmp_info(op, &info) ? info.inverse : aco_opcode::num_opcodes; in get_inverse()
731 return get_cmp_info(op, &info) ? info.f32 : aco_opcode::num_opcodes; in get_f32_cmp()
738 return get_cmp_info(op, &info) ? info.vcmpx : aco_opcode::num_opcodes; in get_vcmpx()
[all …]
Daco_ir.h2298 const int16_t opcode_gfx7[static_cast<int>(aco_opcode::num_opcodes)];
2299 const int16_t opcode_gfx9[static_cast<int>(aco_opcode::num_opcodes)];
2300 const int16_t opcode_gfx10[static_cast<int>(aco_opcode::num_opcodes)];
2301 const std::bitset<static_cast<int>(aco_opcode::num_opcodes)> can_use_input_modifiers;
2302 const std::bitset<static_cast<int>(aco_opcode::num_opcodes)> can_use_output_modifiers;
2303 const std::bitset<static_cast<int>(aco_opcode::num_opcodes)> is_atomic;
2304 const char* name[static_cast<int>(aco_opcode::num_opcodes)];
2305 const aco::Format format[static_cast<int>(aco_opcode::num_opcodes)];
2307 const unsigned operand_size[static_cast<int>(aco_opcode::num_opcodes)];
2308 const instr_class classes[static_cast<int>(aco_opcode::num_opcodes)];
Daco_lower_to_hw_instr.cpp161 case iadd64: return aco_opcode::num_opcodes; in get_reduce_opcode()
162 case imul64: return aco_opcode::num_opcodes; in get_reduce_opcode()
165 case imin64: return aco_opcode::num_opcodes; in get_reduce_opcode()
166 case imax64: return aco_opcode::num_opcodes; in get_reduce_opcode()
167 case umin64: return aco_opcode::num_opcodes; in get_reduce_opcode()
168 case umax64: return aco_opcode::num_opcodes; in get_reduce_opcode()
171 case iand64: return aco_opcode::num_opcodes; in get_reduce_opcode()
172 case ior64: return aco_opcode::num_opcodes; in get_reduce_opcode()
173 case ixor64: return aco_opcode::num_opcodes; in get_reduce_opcode()
174 default: return aco_opcode::num_opcodes; in get_reduce_opcode()
[all …]
Daco_optimizer.cpp2161 aco_opcode new_op = aco_opcode::num_opcodes; in combine_ordering_test()
2405 if (new_opcode == aco_opcode::num_opcodes) in combine_inverse_comparison()
4624 default: return aco_opcode::num_opcodes; in sopk_opcode_for_sopc()
4660 default: return aco_opcode::num_opcodes; in sopc_32_swapped()
4668 if (sopk_opcode_for_sopc(instr->opcode) == aco_opcode::num_opcodes) in try_convert_sopc_to_sopk()
Daco_instruction_selection.cpp1087 aco_opcode v32_op, aco_opcode v64_op, aco_opcode s32_op = aco_opcode::num_opcodes, in emit_comparison()
1088 aco_opcode s64_op = aco_opcode::num_opcodes) in emit_comparison()
1092 : aco_opcode::num_opcodes; in emit_comparison()
1096 bool use_valu = s_op == aco_opcode::num_opcodes || nir_dest_is_divergent(instr->dest.dest) || in emit_comparison()
1100 assert(op != aco_opcode::num_opcodes); in emit_comparison()
3856 ctx->program->gfx_level >= GFX8 ? aco_opcode::s_cmp_eq_u64 : aco_opcode::num_opcodes); in visit_alu_instr()
3866 ctx->program->gfx_level >= GFX8 ? aco_opcode::s_cmp_lg_u64 : aco_opcode::num_opcodes); in visit_alu_instr()
4845 opcodes[write_count] = aco_opcode::num_opcodes; in store_lds()
4857 aco_opcode op = aco_opcode::num_opcodes; in store_lds()
4893 if (op == aco_opcode::num_opcodes) in store_lds()
[all …]
/third_party/mesa3d/src/broadcom/qpu/
Dqpu_pack.c601 size_t num_opcodes, uint32_t opcode, in lookup_opcode_from_packed() argument
604 for (int i = 0; i < num_opcodes; i++) { in lookup_opcode_from_packed()
969 const struct opcode_desc *opcodes, size_t num_opcodes, in lookup_opcode_from_instr() argument
972 for (int i = 0; i < num_opcodes; i++) { in lookup_opcode_from_instr()
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_optimizer.cpp872 configs.push_back({flush, op, aco_opcode::num_opcodes, aco_opcode::num_opcodes});
876 configs.push_back({flush, op, aco_opcode::num_opcodes, dest});
881 configs.push_back({flush, op, src, aco_opcode::num_opcodes});
/third_party/mesa3d/docs/relnotes/
D20.2.0.rst3827 - aco: use num_opcodes instead of last_opcode