Home
last modified time | relevance | path

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

12

/external/mesa3d/src/intel/compiler/
Dbrw_eu_validate.c403 unsigned exec_size = 1 << brw_inst_exec_size(devinfo, inst); in general_restrictions_based_on_operand_types() local
412 if (exec_size == 1) in general_restrictions_based_on_operand_types()
440 if (is_packed(exec_size * dst_stride, exec_size, dst_stride)) { in general_restrictions_based_on_operand_types()
504 unsigned exec_size = 1 << brw_inst_exec_size(devinfo, inst); in general_restrictions_on_region_parameters() local
580 ERROR_IF(exec_size < width, "ExecSize must be greater than or equal " in general_restrictions_on_region_parameters()
586 if (exec_size == width && hstride != 0) { in general_restrictions_on_region_parameters()
602 if (exec_size == 1 && width == 1) { in general_restrictions_on_region_parameters()
623 for (int y = 0; y < exec_size / width; y++) { in general_restrictions_on_region_parameters()
670 unsigned exec_size, unsigned element_size, unsigned subreg, in align1_access_mask() argument
677 for (int y = 0; y < exec_size / width; y++) { in align1_access_mask()
[all …]
Dbrw_fs_generator.cpp84 const unsigned phys_width = compressed ? inst->exec_size / 2 : in brw_reg_from_fs_reg()
85 inst->exec_size; in brw_reg_from_fs_reg()
281 } else if (inst->exec_size == 16) in fire_fb_write()
459 assert(inst->exec_size <= 8 || devinfo->gen >= 8); in generate_mov_indirect()
674 struct brw_reg delta_y = offset(src[0], inst->exec_size / 8); in generate_linterp()
698 switch (inst->exec_size) { in generate_get_buffer_size()
764 switch (inst->exec_size) { in generate_tex()
875 if (inst->exec_size == 8) { in generate_tex()
894 assert(inst->exec_size == 8); in generate_tex()
905 assert(inst->exec_size == 8); in generate_tex()
[all …]
Dbrw_fs_lower_conversions.cpp71 assert(inst->size_written == inst->dst.component_size(inst->exec_size)); in lower_conversions()
78 inst->size_written = inst->dst.component_size(inst->exec_size); in lower_conversions()
86 assert(inst->size_written == inst->dst.component_size(inst->exec_size)); in lower_conversions()
92 inst->size_written = inst->dst.component_size(inst->exec_size); in lower_conversions()
Dbrw_vec4_cse.cpp133 a->exec_size == b->exec_size && in instructions_match()
186 const unsigned width = entry->generator->exec_size; in opt_cse_local()
194 copy->exec_size = width; in opt_cse_local()
207 const unsigned width = inst->exec_size; in opt_cse_local()
215 copy->exec_size = inst->exec_size; in opt_cse_local()
Dbrw_fs.cpp49 fs_inst::init(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in init() argument
61 this->exec_size = exec_size; in init()
66 assert(this->exec_size != 0); in init()
77 this->size_written = dst.component_size(exec_size); in init()
95 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size) in fs_inst() argument
97 init(opcode, exec_size, reg_undef, NULL, 0); in fs_inst()
100 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst) in fs_inst() argument
102 init(opcode, exec_size, dst, NULL, 0); in fs_inst()
105 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst() argument
109 init(opcode, exec_size, dst, src, 1); in fs_inst()
[all …]
Dbrw_ir_fs.h327 fs_inst(enum opcode opcode, uint8_t exec_size);
328 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst);
329 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst,
331 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst,
333 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst,
335 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst,
Dtest_eu_validate.cpp862 unsigned exec_size; in TEST_P() member
886 brw_inst_set_exec_size(&devinfo, last_inst, move[i].exec_size); in TEST_P()
939 unsigned exec_size; in TEST_P() member
953 #define INST(opcode, exec_size, dst_type, dst_subreg, dst_stride, src_type, \ in TEST_P() argument
957 BRW_EXECUTE_##exec_size, \ in TEST_P()
1086 brw_inst_set_exec_size(&devinfo, last_inst, inst[i].exec_size); in TEST_P()
1111 unsigned exec_size; in TEST_P() member
1125 #define INST(opcode, exec_size, dst_type, dst_is_indirect, dst_stride, \ in TEST_P() argument
1130 BRW_EXECUTE_##exec_size, \ in TEST_P()
1206 brw_inst_set_exec_size(&devinfo, last_inst, inst[i].exec_size); in TEST_P()
[all …]
Dbrw_fs_cmod_propagation.cpp95 scan_inst->exec_size != inst->exec_size) in opt_cmod_propagation_local()
Dbrw_vec4_cmod_propagation.cpp80 scan_inst->exec_size != inst->exec_size || in opt_cmod_propagation_local()
Dbrw_fs_sel_peephole.cpp167 then_mov[i]->exec_size != else_mov[i]->exec_size || in opt_peephole_sel()
Dbrw_fs_cse.cpp178 a->exec_size == b->exec_size && in instructions_match()
204 DIV_ROUND_UP(inst->dst.component_size(inst->exec_size), REG_SIZE); in create_copy_instr()
Dbrw_fs_bank_conflicts.cpp639 const unsigned exec_size = inst->dst.component_size(inst->exec_size); in shader_conflict_weight_matrix() local
640 const unsigned cycle_scale = block_scale * DIV_ROUND_UP(exec_size, in shader_conflict_weight_matrix()
930 return DIV_ROUND_UP(inst->dst.component_size(inst->exec_size), REG_SIZE); in bank_conflict_cycles()
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_fs_builder.h73 _dispatch_width(inst->exec_size), in fs_builder()
359 assert(inst->exec_size <= 32); in emit()
360 assert(inst->exec_size == dispatch_width() || in emit()
Dbrw_vec4.cpp240 return exec_size * type_sz(src[arg].type); in size_read()
1555 inst->exec_size); in dump_instruction()
1729 if (inst->exec_size != 8) in dump_instruction()
2039 if (is_align1_df(inst) && (cvt(inst->exec_size) - 1) == src.width) in convert_to_hw_regs()
2124 return inst->exec_size; in get_lowered_simd_width()
2129 unsigned lowered_width = MIN2(16, inst->exec_size); in get_lowered_simd_width()
2214 assert(lowered_width <= inst->exec_size); in lower_simd_width()
2215 if (lowered_width == inst->exec_size) in lower_simd_width()
2231 for (unsigned n = 0; n < inst->exec_size / lowered_width; n++) { in lower_simd_width()
2241 linst->exec_size = lowered_width; in lower_simd_width()
[all …]
Dbrw_fs_dead_code_eliminate.cpp119 if (!inst->predicate && inst->exec_size >= 8) in dead_code_eliminate()
Dbrw_disasm.c171 static const char *const exec_size[8] = { variable
1414 int exec_size = 1 << brw_inst_exec_size(devinfo, inst); in qtr_ctrl() local
1418 if (exec_size < 8 || nib_ctl) { in qtr_ctrl()
1420 } else if (exec_size == 8) { in qtr_ctrl()
1435 } else if (exec_size == 16) { in qtr_ctrl()
1515 err |= control(file, "execution size", exec_size, in brw_disassemble_inst()
Dbrw_vec4_dead_code_eliminate.cpp124 if (inst->writes_flag() && !inst->predicate && inst->exec_size == 8) { in dead_code_eliminate()
Dbrw_shader.h143 uint8_t exec_size; member
Dbrw_vec4_reg_allocate.cpp420 if (type_sz(inst->src[i].type) == 8 && inst->exec_size != 8) in evaluate_spill_costs()
447 if (type_sz(inst->dst.type) == 8 && inst->exec_size != 8) in evaluate_spill_costs()
Dbrw_eu_emit.c2200 const unsigned exec_size = 1 << brw_inst_exec_size(devinfo, p->current); in brw_oword_block_read() local
2240 BRW_DATAPORT_OWORD_BLOCK_DWORDS(exec_size), in brw_oword_block_read()
2245 DIV_ROUND_UP(exec_size, 8)); /* response_length */ in brw_oword_block_read()
3332 const uint16_t exec_size = brw_inst_exec_size(devinfo, p->current); in brw_pixel_interpolator_query() local
3345 brw_inst_set_pi_simd_mode(devinfo, insn, exec_size == BRW_EXECUTE_16); in brw_pixel_interpolator_query()
3356 const unsigned exec_size = 1 << brw_inst_exec_size(devinfo, p->current); in brw_find_live_channel() local
3410 const unsigned lower_size = MIN2(16, exec_size); in brw_find_live_channel()
3411 for (unsigned i = 0; i < exec_size / lower_size; i++) { in brw_find_live_channel()
3425 const enum brw_reg_type type = brw_int_type(exec_size / 8, false); in brw_find_live_channel()
Dbrw_fs_register_coalesce.cpp57 inst->exec_size * dst.stride * in is_nop_mov()
Dbrw_fs_nir.cpp1749 inst->size_written = 2 * dst.component_size(inst->exec_size); in emit_pixel_interpolater_send()
2220 tmp.component_size(inst->exec_size); in emit_gs_input_load()
2229 tmp_dst.component_size(inst->exec_size); in emit_gs_input_load()
2244 tmp.component_size(inst->exec_size); in emit_gs_input_load()
2253 tmp_dst.component_size(inst->exec_size); in emit_gs_input_load()
2606 inst->dst.component_size(inst->exec_size); in nir_emit_tcs_intrinsic()
2955 inst->dst.component_size(inst->exec_size); in nir_emit_tes_intrinsic()
3129 inst->size_written = 4 * inst->dst.component_size(inst->exec_size); in emit_non_coherent_fb_read()
3144 inst->size_written = 4 * inst->dst.component_size(inst->exec_size); in emit_coherent_fb_read()
4790 inst->dst.component_size(inst->exec_size); in nir_emit_texture()
[all …]
/external/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()
/external/libdrm/intel/
Dintel_bufmgr_gem.c120 int exec_size; member
493 if (bufmgr_gem->exec_count == bufmgr_gem->exec_size) { in drm_intel_add_validate_buffer()
494 int new_size = bufmgr_gem->exec_size * 2; in drm_intel_add_validate_buffer()
505 bufmgr_gem->exec_size = new_size; in drm_intel_add_validate_buffer()
538 if (bufmgr_gem->exec_count == bufmgr_gem->exec_size) { in drm_intel_add_validate_buffer2()
539 int new_size = bufmgr_gem->exec_size * 2; in drm_intel_add_validate_buffer2()
550 bufmgr_gem->exec_size = new_size; in drm_intel_add_validate_buffer2()

12