Home
last modified time | relevance | path

Searched refs:base_mrf (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dgen6_gs_visitor.cpp290 gen6_gs_visitor::emit_urb_write_opcode(bool complete, int base_mrf, in emit_urb_write_opcode() argument
310 inst->dst = dst_reg(MRF, base_mrf); in emit_urb_write_opcode()
314 inst->base_mrf = base_mrf; in emit_urb_write_opcode()
315 inst->mlen = align_interleaved_urb_mlen(last_mrf - base_mrf); in emit_urb_write_opcode()
344 int base_mrf = 1; in emit_thread_end() local
369 inst->base_mrf = base_mrf; in emit_thread_end()
388 emit_urb_write_header(base_mrf); in emit_thread_end()
394 int mrf = base_mrf + 1; in emit_thread_end()
428 align_interleaved_urb_mlen(mrf - base_mrf + 1) > BRW_MAX_MSG_LENGTH) { in emit_thread_end()
435 emit_urb_write_opcode(complete, base_mrf, mrf, urb_offset); in emit_thread_end()
[all …]
Dbrw_vec4_generator.cpp40 inst->base_mrf, in generate_math1_gen4()
96 brw_MOV(p, retype(brw_message_reg(inst->base_mrf + 1), op1.type), op1); in generate_math2_gen4()
102 inst->base_mrf, in generate_math2_gen4()
219 retype(brw_message_reg(inst->base_mrf), BRW_REGISTER_TYPE_UD); in generate_tex()
286 inst->base_mrf, in generate_tex()
323 if (inst->base_mrf != -1) in generate_tex()
324 gen6_resolve_implied_move(p, &src, inst->base_mrf); in generate_tex()
349 inst->base_mrf, /* starting mrf reg nr */ in generate_vs_urb_write()
361 struct brw_reg src = brw_message_reg(inst->base_mrf); in generate_gs_urb_write()
364 inst->base_mrf, /* starting mrf reg nr */ in generate_gs_urb_write()
[all …]
Dbrw_vec4_gs_visitor.cpp215 int base_mrf = 1; in emit_thread_end() local
218 dst_reg mrf_reg(MRF, base_mrf); in emit_thread_end()
226 inst->base_mrf = base_mrf; in emit_thread_end()
333 int base_mrf = 1; in emit_control_data_bits() local
334 dst_reg mrf_reg(MRF, base_mrf); in emit_control_data_bits()
372 dst_reg mrf_reg2(MRF, base_mrf + 1); in emit_control_data_bits()
377 inst->base_mrf = base_mrf; in emit_control_data_bits()
Dbrw_schedule_instructions.cpp1138 if (inst->base_mrf != -1) { in calculate_deps()
1144 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps()
1203 if (inst->mlen > 0 && inst->base_mrf != -1) { in calculate_deps()
1205 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps()
1206 last_mrf_write[inst->base_mrf + i] = n; in calculate_deps()
1264 if (inst->base_mrf != -1) { in calculate_deps()
1270 add_dep(n, last_mrf_write[inst->base_mrf + i], 2); in calculate_deps()
1326 if (inst->mlen > 0 && inst->base_mrf != -1) { in calculate_deps()
1328 last_mrf_write[inst->base_mrf + i] = n; in calculate_deps()
1397 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps()
[all …]
Dbrw_vec4_visitor.cpp56 this->base_mrf = 0; in vec4_instruction()
262 inst->base_mrf = FIRST_SPILL_MRF(devinfo->gen) + 1; in SCRATCH_READ()
276 inst->base_mrf = FIRST_SPILL_MRF(devinfo->gen); in SCRATCH_WRITE()
348 math->base_mrf = 1; in emit_math()
765 pull->base_mrf = FIRST_PULL_LOAD_MRF(devinfo->gen) + 1; in emit_pull_constant_load_reg()
797 inst->base_mrf = 2; in emit_mcs_fetch()
802 const int param_base = inst->base_mrf; in emit_mcs_fetch()
886 inst->base_mrf = 2; in emit_texture()
895 int param_base = inst->base_mrf + inst->header_size; in emit_texture()
1279 int base_mrf = 1; in emit_vertex() local
[all …]
Dbrw_vec4_tcs.cpp150 inst->base_mrf = 14; in emit_thread_end()
176 inst->base_mrf = -1; in emit_input_urb_read()
208 read->base_mrf = -1; in emit_output_urb_read()
240 inst->base_mrf = -1; in emit_urb_write()
Dbrw_fs_scoreboard.cpp814 if (is_send(inst) && inst->base_mrf != -1) { in update_inst_scoreboard()
818 sb.set(brw_uvec_mrf(8, inst->base_mrf + j, 0), rd_dep); in update_inst_scoreboard()
922 if (is_send(inst) && inst->base_mrf != -1) { in gather_inst_dependencies()
925 sb.get(brw_uvec_mrf(8, inst->base_mrf + j, 0)))); in gather_inst_dependencies()
940 if (is_send(inst) && inst->base_mrf != -1) { in gather_inst_dependencies()
943 sb.get(brw_uvec_mrf(8, inst->base_mrf + j, 0)))); in gather_inst_dependencies()
Dbrw_ir_performance.cpp1295 if (is_send(inst) && inst->base_mrf != -1) { in issue_fs_inst()
1299 devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_fs_inst()
1353 if (is_send(inst) && inst->base_mrf != -1) { in issue_fs_inst()
1356 reg_dependency_id(devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_fs_inst()
1416 if (inst->base_mrf != -1) { in issue_vec4_instruction()
1420 devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_vec4_instruction()
1458 if (inst->base_mrf != -1) { in issue_vec4_instruction()
1461 reg_dependency_id(devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_vec4_instruction()
Dbrw_fs_generator.cpp407 if (inst->base_mrf >= 0) in generate_fb_write()
408 payload = brw_message_reg(inst->base_mrf); in generate_fb_write()
1048 inst->base_mrf, in generate_get_buffer_size()
1244 assert(inst->base_mrf != -1); in generate_tex()
1245 struct brw_reg header_reg = brw_message_reg(inst->base_mrf); in generate_tex()
1283 inst->base_mrf, in generate_tex()
1491 brw_MOV(p, brw_uvec_mrf(lower_size, inst->base_mrf + 1, 0), in generate_scratch_write()
1495 brw_oword_block_write_scratch(p, brw_message_reg(inst->base_mrf), in generate_scratch_write()
1509 brw_oword_block_read_scratch(p, dst, brw_message_reg(inst->base_mrf), in generate_scratch_read()
1608 brw_oword_block_read(p, dst, brw_message_reg(inst->base_mrf), in generate_uniform_pull_constant_load()
[all …]
Dgen6_gs_visitor.h60 int base_mrf,
Dbrw_vec4_cse.cpp154 a->base_mrf == b->base_mrf && in instructions_match()
Dbrw_ir.h151 int8_t base_mrf; /**< First MRF in the SEND message, if mlen is nonzero. */ member
Dbrw_fs_cse.cpp191 a->base_mrf == b->base_mrf && in instructions_match()
Dbrw_fs_reg_allocate.cpp544 mrf_used[inst->base_mrf + i] = true; in get_used_mrfs()
919 unspill_inst->base_mrf = spill_base_mrf(bld.shader); in emit_unspill()
969 spill_inst->base_mrf = spill_base_mrf(bld.shader); in emit_spill()
Dbrw_fs.cpp64 this->base_mrf = -1; in init()
964 if (base_mrf >= 0) in size_read()
1142 if (base_mrf == -1) in implied_mrf_writes()
3188 if (scan_inst->mlen > 0 && scan_inst->base_mrf != -1 && in compute_to_mrf()
3189 regions_overlap(fs_reg(MRF, scan_inst->base_mrf), scan_inst->mlen * REG_SIZE, in compute_to_mrf()
3323 int base_mrf = 0; in emit_repclear_shader() local
3324 int color_mrf = base_mrf + 2; in emit_repclear_shader()
3345 write->base_mrf = color_mrf; in emit_repclear_shader()
3353 retype(brw_message_reg(base_mrf), BRW_REGISTER_TYPE_UD); in emit_repclear_shader()
3365 write->base_mrf = base_mrf; in emit_repclear_shader()
[all …]
Dbrw_fs_visitor.cpp110 write->base_mrf = 2; in emit_dummy_fs()
114 write->base_mrf = 0; in emit_dummy_fs()
Dbrw_vec4_builder.h600 inst->base_mrf = 1; in fix_math_instruction()
Dbrw_fs_bank_conflicts.cpp585 const unsigned reg = GEN7_MRF_HACK_START + inst->base_mrf + i; in shader_reg_constraints()
Dbrw_vec4_nir.cpp448 inst->base_mrf = 2; in nir_emit_intrinsic()
454 int param_base = inst->base_mrf; in nir_emit_intrinsic()
Dbrw_vec4.cpp1402 unsigned start = scan_inst->base_mrf; in opt_register_coalesce()
1403 unsigned end = scan_inst->base_mrf + scan_inst->mlen; in opt_register_coalesce()
Dbrw_inst.h838 FC(base_mrf, /* 4+ */ 27, 24, /* 12+ */ -1, -1, devinfo->gen < 6);
/external/igt-gpu-tools/assembler/
Dbrw_eu_emit.c2594 int base_mrf, in brw_shader_time_add() argument
2612 base_mrf, 0)); in brw_shader_time_add()