Home
last modified time | relevance | path

Searched refs:subnr (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_reg.h225 unsigned subnr:5; /* :1 in align16 */ member
346 unsigned subnr, in brw_reg() argument
372 reg.subnr = subnr * type_sz(type); in brw_reg()
393 brw_vec16_reg(enum brw_reg_file file, unsigned nr, unsigned subnr) in brw_vec16_reg() argument
397 subnr, in brw_vec16_reg()
410 brw_vec8_reg(enum brw_reg_file file, unsigned nr, unsigned subnr) in brw_vec8_reg() argument
414 subnr, in brw_vec8_reg()
427 brw_vec4_reg(enum brw_reg_file file, unsigned nr, unsigned subnr) in brw_vec4_reg() argument
431 subnr, in brw_vec4_reg()
444 brw_vec2_reg(enum brw_reg_file file, unsigned nr, unsigned subnr) in brw_vec2_reg() argument
[all …]
Dbrw_ir_vec4.h85 const unsigned suboffset = reg->subnr + bytes; in add_byte_offset()
87 reg->subnr = suboffset % REG_SIZE; in add_byte_offset()
88 assert(reg->subnr % 16 == 0); in add_byte_offset()
235 (r.file == ARF || r.file == FIXED_GRF ? r.subnr : 0); in reg_offset()
Dbrw_ir_fs.h90 const unsigned suboffset = reg.subnr + delta; in byte_offset()
92 reg.subnr = suboffset % REG_SIZE; in byte_offset()
184 (r.file == ARF || r.file == FIXED_GRF ? r.subnr : 0); in reg_offset()
Dbrw_eu_emit.c106 brw_inst_set_dst_da1_subreg_nr(devinfo, inst, dest.subnr); in brw_set_dest()
111 brw_inst_set_dst_da16_subreg_nr(devinfo, inst, dest.subnr / 16); in brw_set_dest()
124 brw_inst_set_dst_ia_subreg_nr(devinfo, inst, dest.subnr); in brw_set_dest()
214 brw_inst_set_src0_da1_subreg_nr(devinfo, inst, reg.subnr); in brw_set_src0()
216 brw_inst_set_src0_da16_subreg_nr(devinfo, inst, reg.subnr / 16); in brw_set_src0()
219 brw_inst_set_src0_ia_subreg_nr(devinfo, inst, reg.subnr); in brw_set_src0()
313 brw_inst_set_src1_da1_subreg_nr(devinfo, inst, reg.subnr); in brw_set_src1()
315 brw_inst_set_src1_da16_subreg_nr(devinfo, inst, reg.subnr / 16); in brw_set_src1()
673 return reg.subnr / 4; in get_3src_subreg_nr()
743 brw_inst_set_3src_a1_dst_subreg_nr(devinfo, inst, dest.subnr / 8); in brw_alu3()
[all …]
Dbrw_vec4_tes.cpp80 if (is_64bit && grf.subnr > 0) { in setup_payload()
87 grf.subnr = 0; in setup_payload()
Dbrw_vec4.cpp680 assert(inst->src[0].subnr == 0); in pack_uniform_registers()
1585 fprintf(file, "a0.%d", inst->dst.subnr); in dump_instruction()
1588 fprintf(file, "acc%d", inst->dst.subnr); in dump_instruction()
1591 fprintf(file, "f%d.%d", inst->dst.nr & 0xf, inst->dst.subnr); in dump_instruction()
1594 fprintf(file, "arf%d.%d", inst->dst.nr & 0xf, inst->dst.subnr); in dump_instruction()
1639 fprintf(file, "g%d.%d", inst->src[i].nr, inst->src[i].subnr); in dump_instruction()
1679 fprintf(file, "a0.%d", inst->src[i].subnr); in dump_instruction()
1682 fprintf(file, "acc%d", inst->src[i].subnr); in dump_instruction()
1685 fprintf(file, "f%d.%d", inst->src[i].nr & 0xf, inst->src[i].subnr); in dump_instruction()
1688 fprintf(file, "arf%d.%d", inst->src[i].nr & 0xf, inst->src[i].subnr); in dump_instruction()
[all …]
Dbrw_vec4_generator.cpp1437 unsigned imm_byte_offset = reg.nr * REG_SIZE + reg.subnr * (REG_SIZE / 2); in generate_mov_indirect()
1446 reg.subnr = (imm_byte_offset / (REG_SIZE / 2)) % 2; in generate_mov_indirect()
1464 indirect.subnr = (indirect.subnr * 4 + BRW_GET_SWZ(indirect.swizzle, 0)); in generate_mov_indirect()
1470 indirect.subnr *= 2; in generate_mov_indirect()
2067 dst.subnr = offset * 4; in generate_code()
2073 src[0].subnr = 16; in generate_code()
2074 dst.subnr = 16 + offset * 4; in generate_code()
Dbrw_shader.h77 using brw_reg::subnr;
Dbrw_fs_generator.cpp449 unsigned imm_byte_offset = reg.nr * REG_SIZE + reg.subnr; in generate_mov_indirect()
455 reg.subnr = imm_byte_offset % REG_SIZE; in generate_mov_indirect()
1573 src_w.subnr += 2; in generate_unpack_half_2x16_split()
1946 src[0].subnr = 0 * type_sz(src[0].type); in generate_code()
1951 src[0].subnr = 4 * type_sz(src[0].type); in generate_code()
Dbrw_fs.cpp900 const unsigned start = (r.nr - BRW_ARF_FLAG) * 4 + r.subnr; in flag_mask()
5549 fprintf(file, "a0.%d", inst->dst.subnr); in dump_instruction()
5552 fprintf(file, "acc%d", inst->dst.subnr); in dump_instruction()
5555 fprintf(file, "f%d.%d", inst->dst.nr & 0xf, inst->dst.subnr); in dump_instruction()
5558 fprintf(file, "arf%d.%d", inst->dst.nr & 0xf, inst->dst.subnr); in dump_instruction()
5636 fprintf(file, "a0.%d", inst->src[i].subnr); in dump_instruction()
5639 fprintf(file, "acc%d", inst->src[i].subnr); in dump_instruction()
5642 fprintf(file, "f%d.%d", inst->src[i].nr & 0xf, inst->src[i].subnr); in dump_instruction()
5645 fprintf(file, "arf%d.%d", inst->src[i].nr & 0xf, inst->src[i].subnr); in dump_instruction()
Dtest_eu_validate.cpp861 unsigned subnr; in TEST_P() member
885 brw_inst_set_dst_da1_subreg_nr(&devinfo, last_inst, move[i].subnr); in TEST_P()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_ff_gs_emit.c439 vertex_slot.subnr = (slot % 2) * 16; in gen6_sol_program()