Home
last modified time | relevance | path

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

/third_party/mesa3d/src/intel/compiler/
Dgfx6_gs_visitor.cpp289 gfx6_gs_visitor::emit_snb_gs_urb_write_opcode(bool complete, int base_mrf, in emit_snb_gs_urb_write_opcode() argument
309 inst->dst = dst_reg(MRF, base_mrf); in emit_snb_gs_urb_write_opcode()
313 inst->base_mrf = base_mrf; in emit_snb_gs_urb_write_opcode()
314 inst->mlen = align_interleaved_urb_mlen(last_mrf - base_mrf); in emit_snb_gs_urb_write_opcode()
343 int base_mrf = 1; in emit_thread_end() local
368 inst->base_mrf = base_mrf; in emit_thread_end()
387 emit_urb_write_header(base_mrf); in emit_thread_end()
393 int mrf = base_mrf + 1; in emit_thread_end()
427 align_interleaved_urb_mlen(mrf - base_mrf + 1) > BRW_MAX_MSG_LENGTH) { in emit_thread_end()
434 emit_snb_gs_urb_write_opcode(complete, base_mrf, mrf, urb_offset); in emit_thread_end()
[all …]
Dbrw_vec4_generator.cpp40 inst->base_mrf, in generate_math1_gfx4()
96 brw_MOV(p, retype(brw_message_reg(inst->base_mrf + 1), op1.type), op1); in generate_math2_gfx4()
102 inst->base_mrf, in generate_math2_gfx4()
219 retype(brw_message_reg(inst->base_mrf), BRW_REGISTER_TYPE_UD); in generate_tex()
281 inst->base_mrf, in generate_tex()
316 if (inst->base_mrf != -1) in generate_tex()
317 gfx6_resolve_implied_move(p, &src, inst->base_mrf); in generate_tex()
342 inst->base_mrf, /* starting mrf reg nr */ in generate_vs_urb_write()
354 struct brw_reg src = brw_message_reg(inst->base_mrf); in generate_gs_urb_write()
357 inst->base_mrf, /* starting mrf reg nr */ in generate_gs_urb_write()
[all …]
Dbrw_vec4_gs_visitor.cpp216 int base_mrf = 1; in emit_thread_end() local
219 dst_reg mrf_reg(MRF, base_mrf); in emit_thread_end()
225 inst->base_mrf = base_mrf; in emit_thread_end()
332 int base_mrf = 1; in emit_control_data_bits() local
333 dst_reg mrf_reg(MRF, base_mrf); in emit_control_data_bits()
371 dst_reg mrf_reg2(MRF, base_mrf + 1); in emit_control_data_bits()
376 inst->base_mrf = base_mrf; in emit_control_data_bits()
Dbrw_schedule_instructions.cpp1194 if (inst->base_mrf != -1) { in calculate_deps()
1200 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps()
1262 if (inst->mlen > 0 && inst->base_mrf != -1) { in calculate_deps()
1264 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps()
1265 last_mrf_write[inst->base_mrf + i] = n; in calculate_deps()
1323 if (inst->base_mrf != -1) { in calculate_deps()
1329 add_dep(n, last_mrf_write[inst->base_mrf + i], 2); in calculate_deps()
1385 if (inst->mlen > 0 && inst->base_mrf != -1) { in calculate_deps()
1387 last_mrf_write[inst->base_mrf + i] = n; in calculate_deps()
1456 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->ver) + 1; in SCRATCH_READ()
276 inst->base_mrf = FIRST_SPILL_MRF(devinfo->ver); in SCRATCH_WRITE()
348 math->base_mrf = 1; in emit_math()
766 pull->base_mrf = FIRST_PULL_LOAD_MRF(devinfo->ver) + 1; in emit_pull_constant_load_reg()
1009 int base_mrf = 1; in emit_vertex() local
1010 int mrf = base_mrf; in emit_vertex()
1021 assert ((max_usable_mrf - base_mrf) % 2 == 0); in emit_vertex()
1043 mrf = base_mrf + 1; in emit_vertex()
1052 align_interleaved_urb_mlen(devinfo, mrf - base_mrf + 1) > BRW_MAX_MSG_LENGTH) { in emit_vertex()
[all …]
Dbrw_vec4_tcs.cpp146 inst->base_mrf = 14; in emit_thread_end()
172 inst->base_mrf = -1; in emit_input_urb_read()
204 read->base_mrf = -1; in emit_output_urb_read()
236 inst->base_mrf = -1; in emit_urb_write()
Dbrw_fs_generator.cpp409 if (inst->base_mrf >= 0) in generate_fb_write()
410 payload = brw_message_reg(inst->base_mrf); in generate_fb_write()
978 inst->base_mrf, in generate_get_buffer_size()
1174 assert(inst->base_mrf != -1); in generate_tex()
1175 struct brw_reg header_reg = brw_message_reg(inst->base_mrf); in generate_tex()
1203 inst->base_mrf, in generate_tex()
1411 brw_MOV(p, brw_uvec_mrf(lower_size, inst->base_mrf + 1, 0), in generate_scratch_write()
1415 brw_oword_block_write_scratch(p, brw_message_reg(inst->base_mrf), in generate_scratch_write()
1429 brw_oword_block_read_scratch(p, dst, brw_message_reg(inst->base_mrf), in generate_scratch_read()
1528 brw_oword_block_read(p, dst, brw_message_reg(inst->base_mrf), in generate_uniform_pull_constant_load()
[all …]
Dbrw_ir_performance.cpp1364 if (is_send(inst) && inst->base_mrf != -1) { in issue_fs_inst()
1368 devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_fs_inst()
1422 if (is_send(inst) && inst->base_mrf != -1) { in issue_fs_inst()
1425 reg_dependency_id(devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_fs_inst()
1486 if (inst->base_mrf != -1) { in issue_vec4_instruction()
1490 devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_vec4_instruction()
1528 if (inst->base_mrf != -1) { in issue_vec4_instruction()
1531 reg_dependency_id(devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_vec4_instruction()
Dgfx6_gs_visitor.h64 int base_mrf,
Dbrw_fs_scoreboard.cpp1023 if (is_send(inst) && inst->base_mrf != -1) { in update_inst_scoreboard()
1027 sb.set(brw_uvec_mrf(8, inst->base_mrf + j, 0), rd_dep); in update_inst_scoreboard()
1152 if (is_send(inst) && inst->base_mrf != -1) { in gather_inst_dependencies()
1155 sb.get(brw_uvec_mrf(8, inst->base_mrf + j, 0)))); in gather_inst_dependencies()
1184 if (is_send(inst) && inst->base_mrf != -1) { in gather_inst_dependencies()
1187 sb.get(brw_uvec_mrf(8, inst->base_mrf + j, 0)))); in gather_inst_dependencies()
Dbrw_vec4_cse.cpp154 a->base_mrf == b->base_mrf && in instructions_match()
Dbrw_ir.h157 int8_t base_mrf; /**< First MRF in the SEND message, if mlen is nonzero. */ member
Dbrw_fs_cse.cpp192 a->base_mrf == b->base_mrf && in instructions_match()
Dbrw_fs_reg_allocate.cpp426 mrf_used[inst->base_mrf + i] = true; in get_used_mrfs()
804 unspill_inst->base_mrf = spill_base_mrf(bld.shader); in emit_unspill()
866 spill_inst->base_mrf = spill_base_mrf(bld.shader); in emit_spill()
Dbrw_vec4_nir.cpp438 inst->base_mrf = 2; in nir_emit_intrinsic()
444 int param_base = inst->base_mrf; in nir_emit_intrinsic()
2141 inst->base_mrf = 2; in nir_emit_texture()
2150 int param_base = inst->base_mrf + inst->header_size; in nir_emit_texture()
2297 inst->base_mrf = 2; in emit_mcs_fetch()
2302 const int param_base = inst->base_mrf; in emit_mcs_fetch()
Dbrw_lower_logical_sends.cpp405 inst->base_mrf = 1; in lower_fb_write_logical_send()
568 inst->base_mrf = msg_begin.nr; in lower_sampler_logical_send_gfx4()
662 inst->base_mrf = message.nr; in lower_sampler_logical_send_gfx5()
2379 inst->base_mrf = payload.nr; in lower_varying_pull_constant_logical_send()
2390 inst->base_mrf = 2; in lower_math_logical_send()
2411 bld.MOV(fs_reg(MRF, inst->base_mrf + 1, src1.type), src1); in lower_math_logical_send()
Dbrw_fs.cpp65 this->base_mrf = -1; in init()
894 if (base_mrf >= 0) in size_read()
1071 if (base_mrf == -1) in implied_mrf_writes()
3209 if (scan_inst->mlen > 0 && scan_inst->base_mrf != -1 && in compute_to_mrf()
3210 regions_overlap(fs_reg(MRF, scan_inst->base_mrf), scan_inst->mlen * REG_SIZE, in compute_to_mrf()
3345 int base_mrf = 0; in emit_repclear_shader() local
3346 int color_mrf = base_mrf + 2; in emit_repclear_shader()
3367 write->base_mrf = color_mrf; in emit_repclear_shader()
3375 retype(brw_message_reg(base_mrf), BRW_REGISTER_TYPE_UD); in emit_repclear_shader()
3387 write->base_mrf = base_mrf; in emit_repclear_shader()
[all …]
Dbrw_vec4_builder.h624 inst->base_mrf = 1; in fix_math_instruction()
Dbrw_fs_visitor.cpp81 write->base_mrf = 2; in emit_dummy_fs()
85 write->base_mrf = 0; in emit_dummy_fs()
Dbrw_fs_bank_conflicts.cpp585 const unsigned reg = GFX7_MRF_HACK_START + inst->base_mrf + i; in shader_reg_constraints()
Dbrw_vec4.cpp1122 unsigned start = scan_inst->base_mrf; in opt_register_coalesce()
1123 unsigned end = scan_inst->base_mrf + scan_inst->mlen; in opt_register_coalesce()
Dbrw_inst.h841 FC(base_mrf, /* 4+ */ 27, 24, /* 12+ */ -1, -1, devinfo->ver < 6);