Home
last modified time | relevance | path

Searched refs:exec_size (Results 1 – 25 of 52) sorted by relevance

123

/third_party/mesa3d/src/intel/compiler/
Dbrw_eu.h52 unsigned exec_size:3; member
631 unsigned exec_size, /**< 0 for SIMD4x2 */ in brw_dp_untyped_atomic_desc() argument
635 assert(exec_size <= 8 || exec_size == 16); in brw_dp_untyped_atomic_desc()
639 if (exec_size > 0) { in brw_dp_untyped_atomic_desc()
650 SET_BITS(0 < exec_size && exec_size <= 8, 4, 4) | in brw_dp_untyped_atomic_desc()
658 unsigned exec_size, in brw_dp_untyped_atomic_float_desc() argument
662 assert(exec_size <= 8 || exec_size == 16); in brw_dp_untyped_atomic_float_desc()
665 assert(exec_size > 0); in brw_dp_untyped_atomic_float_desc()
670 SET_BITS(exec_size <= 8, 4, 4) | in brw_dp_untyped_atomic_float_desc()
692 unsigned exec_size, /**< 0 for SIMD4x2 */ in brw_dp_untyped_surface_rw_desc() argument
[all …]
Dbrw_eu_validate.c699 unsigned exec_size = 1 << brw_inst_exec_size(devinfo, inst); in general_restrictions_based_on_operand_types() local
722 if (exec_size == 1) in general_restrictions_based_on_operand_types()
750 if (is_packed(exec_size * dst_stride, exec_size, dst_stride)) { in general_restrictions_based_on_operand_types()
931 unsigned exec_size = 1 << brw_inst_exec_size(devinfo, inst); in general_restrictions_on_region_parameters() local
1013 ERROR_IF(exec_size < width, "ExecSize must be greater than or equal " in general_restrictions_on_region_parameters()
1019 if (exec_size == width && hstride != 0) { in general_restrictions_on_region_parameters()
1035 if (exec_size == 1 && width == 1) { in general_restrictions_on_region_parameters()
1056 for (int y = 0; y < exec_size / width; y++) { in general_restrictions_on_region_parameters()
1097 unsigned exec_size = 1 << brw_inst_exec_size(devinfo, inst); in special_restrictions_for_mixed_float_mode() local
1106 bool dst_is_packed = is_packed(exec_size * dst_stride, exec_size, dst_stride); in special_restrictions_for_mixed_float_mode()
[all …]
Dbrw_fs_generator.cpp85 const unsigned phys_width = compressed ? inst->exec_size / 2 : in brw_reg_from_fs_reg()
86 inst->exec_size; in brw_reg_from_fs_reg()
483 assert(inst->exec_size <= 8 || devinfo->ver >= 8); in generate_mov_indirect()
492 inst->exec_size == dispatch_width; in generate_mov_indirect()
620 8 : MIN2(16, inst->exec_size); in generate_shuffle()
623 for (unsigned group = 0; group < inst->exec_size; group += lower_width) { in generate_shuffle()
761 assert(inst->exec_size >= 4); in generate_quad_swizzle()
770 assert(inst->exec_size == 8); in generate_quad_swizzle()
798 assert(inst->exec_size == 4); in generate_quad_swizzle()
804 brw_set_default_exec_size(p, cvt(inst->exec_size / 4) - 1); in generate_quad_swizzle()
[all …]
Dbrw_fs.cpp51 fs_inst::init(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in init() argument
63 this->exec_size = exec_size; in init()
68 assert(this->exec_size != 0); in init()
79 this->size_written = dst.component_size(exec_size); in init()
97 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size) in fs_inst() argument
99 init(opcode, exec_size, reg_undef, NULL, 0); in fs_inst()
102 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst) in fs_inst() argument
104 init(opcode, exec_size, dst, NULL, 0); in fs_inst()
107 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst() argument
111 init(opcode, exec_size, dst, src, 1); in fs_inst()
[all …]
Dbrw_vec4_cse.cpp160 a->exec_size == b->exec_size && in instructions_match()
213 const unsigned width = entry->generator->exec_size; in opt_cse_local()
221 copy->exec_size = width; in opt_cse_local()
234 const unsigned width = inst->exec_size; in opt_cse_local()
242 copy->exec_size = inst->exec_size; in opt_cse_local()
Dbrw_fs_cmod_propagation.cpp63 scan_inst->exec_size == inst->exec_size) { in cmod_propagate_cmp_to_add()
189 scan_inst->exec_size != inst->exec_size) in cmod_propagate_not()
303 scan_inst->exec_size != inst->exec_size) in opt_cmod_propagation_local()
Dtest_eu_validate.cpp195 enum brw_execution_size exec_size; in TEST_P() member
212 brw_inst_set_exec_size(&devinfo, last_inst, test_case[i].exec_size); in TEST_P()
216 if (test_case[i].exec_size == BRW_EXECUTE_1) { in TEST_P()
1494 unsigned exec_size; in TEST_P() member
1501 #define INST(exec_size, dst_type, src0_type, src1_type, \ in TEST_P() argument
1504 BRW_EXECUTE_##exec_size, \ in TEST_P()
1535 brw_inst_set_exec_size(&devinfo, last_inst, inst[i].exec_size); in TEST_P()
1618 unsigned exec_size; in TEST_P() member
1628 #define INST(exec_size, opcode, dst_type, src0_type, src1_type, \ in TEST_P() argument
1632 BRW_EXECUTE_##exec_size, \ in TEST_P()
[all …]
Dbrw_vec4_cmod_propagation.cpp118 if (scan_inst->exec_size != inst->exec_size || in opt_cmod_propagation_local()
149 scan_inst->exec_size != inst->exec_size || in opt_cmod_propagation_local()
Dbrw_ir_fs.h338 fs_inst(enum opcode opcode, uint8_t exec_size);
339 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst);
340 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst,
342 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst,
344 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst,
346 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst,
Dbrw_fs_saturate_propagation.cpp69 if (scan_inst->exec_size == inst->exec_size && in opt_saturate_propagation_local()
Dbrw_fs_sel_peephole.cpp168 then_mov[i]->exec_size != else_mov[i]->exec_size || in opt_peephole_sel()
Dbrw_fs_lower_regioning.cpp351 assert(inst->size_written == inst->dst.component_size(inst->exec_size)); in lower_dst_modifiers()
353 inst->size_written = inst->dst.component_size(inst->exec_size); in lower_dst_modifiers()
454 assert(inst->size_written == inst->dst.component_size(inst->exec_size)); in lower_dst_region()
456 inst->size_written = inst->dst.component_size(inst->exec_size); in lower_dst_region()
Dbrw_ir_performance.cpp142 sx = DIV_ROUND_UP(inst->exec_size * type_sz(tx), REG_SIZE); in instruction_info()
165 sx = DIV_ROUND_UP(inst->exec_size * type_sz(tx), REG_SIZE); in instruction_info()
1352 inst->exec_size - 1); j++) in issue_fs_inst()
1382 inst->exec_size - 1); j++) in issue_fs_inst()
1432 inst->exec_size - 1); j++) in issue_fs_inst()
1473 inst->exec_size - 1); j++) in issue_vec4_instruction()
1499 inst->exec_size - 1); j++) in issue_vec4_instruction()
1537 inst->exec_size - 1); j++) in issue_vec4_instruction()
Dbrw_fs_cse.cpp177 a->exec_size == b->exec_size && in instructions_match()
208 DIV_ROUND_UP(inst->dst.component_size(inst->exec_size), REG_SIZE); in create_copy_instr()
Dbrw_vec4_builder.h70 _dispatch_width(inst->exec_size), _group(inst->group), in vec4_builder()
313 inst->exec_size = dispatch_width(); in emit()
316 inst->size_written = inst->exec_size * type_sz(inst->dst.type); in emit()
Dbrw_eu_emit.c617 brw_inst_set_exec_size(devinfo, insn, state->exec_size); in brw_inst_set_state()
2391 const unsigned exec_size = 1 << brw_get_default_exec_size(p); in brw_oword_block_read() local
2438 brw_message_desc(devinfo, 1, DIV_ROUND_UP(exec_size, 8), true) | in brw_oword_block_read()
2440 BRW_DATAPORT_OWORD_BLOCK_DWORDS(exec_size), in brw_oword_block_read()
3118 unsigned exec_size /**< 0 for SIMD4x2 */) in brw_surface_payload_size() argument
3120 if (exec_size == 0) in brw_surface_payload_size()
3122 else if (exec_size <= 8) in brw_surface_payload_size()
3145 const unsigned exec_size = align1 ? 1 << brw_get_default_exec_size(p) : in brw_untyped_atomic() local
3148 brw_surface_payload_size(response_expected, exec_size); in brw_untyped_atomic()
3151 brw_dp_untyped_atomic_desc(devinfo, exec_size, atomic_op, in brw_untyped_atomic()
[all …]
Dbrw_vec4.cpp234 return exec_size * type_sz(src[arg].type); in size_read()
1608 inst->exec_size); in dump_instruction()
1783 if (inst->exec_size != 8) in dump_instruction()
2138 if (is_align1_df(inst) && (cvt(inst->exec_size) - 1) == src.width) in convert_to_hw_regs()
2223 return inst->exec_size; in get_lowered_simd_width()
2228 unsigned lowered_width = MIN2(16, inst->exec_size); in get_lowered_simd_width()
2313 assert(lowered_width <= inst->exec_size); in lower_simd_width()
2314 if (lowered_width == inst->exec_size) in lower_simd_width()
2330 for (unsigned n = 0; n < inst->exec_size / lowered_width; n++) { in lower_simd_width()
2340 linst->exec_size = lowered_width; in lower_simd_width()
[all …]
Dbrw_fs_bank_conflicts.cpp660 const unsigned exec_size = inst->dst.component_size(inst->exec_size); in shader_conflict_weight_matrix() local
661 const unsigned cycle_scale = block_scale * DIV_ROUND_UP(exec_size, in shader_conflict_weight_matrix()
Dbrw_ir.h143 uint8_t exec_size; member
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_gem.c43 uint32_t exec_size = uniforms_offset + args->uniforms_size; in vc4_get_bcl() local
44 uint32_t temp_size = exec_size + (sizeof(struct vc4_shader_state) * in vc4_get_bcl()
48 exec_size < uniforms_offset || in vc4_get_bcl()
51 temp_size < exec_size) { in vc4_get_bcl()
73 exec->shader_state = temp + exec_size; in vc4_get_bcl()
100 exec->exec_bo = drm_gem_cma_create(dev, exec_size); in vc4_get_bcl()
/third_party/mesa3d/src/amd/compiler/
Daco_print_asm.cpp152 disasm_instr(chip_class chip, LLVMDisasmContextRef disasm, uint32_t* binary, unsigned exec_size, in disasm_instr() argument
162 LLVMDisasmInstruction(disasm, (uint8_t*)&binary[pos], (exec_size - pos) * sizeof(uint32_t), in disasm_instr()
199 print_asm_llvm(Program* program, std::vector<uint32_t>& binary, unsigned exec_size, FILE* output) in print_asm_llvm() argument
237 while (pos < exec_size) { in print_asm_llvm()
240 if (pos + prev_size <= exec_size && prev_pos != pos && !new_block && in print_asm_llvm()
259 exec_size, pos, outline, sizeof(outline)); in print_asm_llvm()
318 print_asm(Program* program, std::vector<uint32_t>& binary, unsigned exec_size, FILE* output) in print_asm() argument
322 return print_asm_llvm(program, binary, exec_size, output); in print_asm()
Daco_interface.cpp190 unsigned exec_size = aco::emit_program(program.get(), code); in aco_compile_shader() local
207 aco::print_asm(program.get(), code, exec_size / 4u, memf); in aco_compile_shader()
248 legacy_binary->exec_size = exec_size; in aco_compile_shader()
292 unsigned exec_size = aco::emit_program(program.get(), code); in aco_compile_vs_prolog() local
295 aco::print_asm(program.get(), code, exec_size / 4u, stderr); in aco_compile_vs_prolog()
/third_party/mesa3d/src/amd/common/
Dac_rtld.h65 uint64_t exec_size; member
Dac_rtld.c268 uint64_t exec_size = 0; in ac_rtld_open() local
367 exec_size += shdr->sh_size; in ac_rtld_open()
437 binary->exec_size = exec_size; in ac_rtld_open()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_instance.c377 const size_t exec_size = vn_sizeof_vkExecuteCommandStreamsMESA( in vn_instance_submission_get_cs() local
380 if (exec_size > sizeof(submit->indirect.data)) { in vn_instance_submission_get_cs()
381 exec_data = malloc(exec_size); in vn_instance_submission_get_cs()
391 VN_CS_ENCODER_INITIALIZER(&submit->indirect.buffer, exec_size); in vn_instance_submission_get_cs()

123