Home
last modified time | relevance | path

Searched refs:retype (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_gs_emit.c63 c->reg.R0 = retype(brw_vec8_grf(i, 0), BRW_REGISTER_TYPE_UD); i++; in brw_gs_alloc_regs()
67 c->reg.SVBI = retype(brw_vec8_grf(i++, 0), BRW_REGISTER_TYPE_UD); in brw_gs_alloc_regs()
76 c->reg.header = retype(brw_vec8_grf(i++, 0), BRW_REGISTER_TYPE_UD); in brw_gs_alloc_regs()
77 c->reg.temp = retype(brw_vec8_grf(i++, 0), BRW_REGISTER_TYPE_UD); in brw_gs_alloc_regs()
81 retype(brw_vec4_grf(i++, 0), BRW_REGISTER_TYPE_UD); in brw_gs_alloc_regs()
185 : retype(brw_null_reg(), BRW_REGISTER_TYPE_UD), in brw_gs_emit_vue()
212 retype(brw_null_reg(), BRW_REGISTER_TYPE_UD), /* dest */ in brw_gs_terminate()
363 vec8(retype(c->reg.destination_indices, BRW_REGISTER_TYPE_UW)); in gen6_sol_program()
454 retype(vertex_slot, BRW_REGISTER_TYPE_UD)); in gen6_sol_program()
513 brw_AND(p, retype(brw_null_reg(), BRW_REGISTER_TYPE_UD), in gen6_sol_program()
[all …]
Dbrw_fs_emit.cpp58 retype(brw_message_reg(inst->base_mrf), BRW_REGISTER_TYPE_UD), in generate_fb_write()
59 retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UD)); in generate_fb_write()
69 vec1(retype(brw_message_reg(inst->base_mrf), BRW_REGISTER_TYPE_UD)), in generate_fb_write()
70 vec1(retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UD)), in generate_fb_write()
76 brw_MOV(p, retype(brw_vec1_reg(BRW_MESSAGE_REGISTER_FILE, in generate_fb_write()
84 implied_header = retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UW); in generate_fb_write()
124 struct brw_reg g1_uw = retype(brw_vec1_grf(1, 0), BRW_REGISTER_TYPE_UW); in generate_pixel_xy()
399 brw_MOV(p, retype(brw_message_reg(inst->base_mrf), BRW_REGISTER_TYPE_UD), in generate_tex()
400 retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UD)); in generate_tex()
403 brw_MOV(p, retype(brw_vec1_reg(BRW_MESSAGE_REGISTER_FILE, in generate_tex()
[all …]
Dbrw_eu_emit.c77 brw_MOV(p, retype(brw_message_reg(msg_reg_nr), BRW_REGISTER_TYPE_UD), in gen6_resolve_implied_move()
78 retype(*src, BRW_REGISTER_TYPE_UD)); in gen6_resolve_implied_move()
994 brw_set_dest(p, insn, retype(brw_vec4_grf(0,0), BRW_REGISTER_TYPE_UD)); in brw_NOP()
995 brw_set_src0(p, insn, retype(brw_vec4_grf(0,0), BRW_REGISTER_TYPE_UD)); in brw_NOP()
1095 brw_set_src0(p, insn, vec1(retype(brw_null_reg(), BRW_REGISTER_TYPE_D))); in brw_IF()
1096 brw_set_src1(p, insn, vec1(retype(brw_null_reg(), BRW_REGISTER_TYPE_D))); in brw_IF()
1098 brw_set_dest(p, insn, vec1(retype(brw_null_reg(), BRW_REGISTER_TYPE_D))); in brw_IF()
1099 brw_set_src0(p, insn, vec1(retype(brw_null_reg(), BRW_REGISTER_TYPE_D))); in brw_IF()
1296 brw_set_src0(p, insn, retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); in brw_ELSE()
1297 brw_set_src1(p, insn, retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); in brw_ELSE()
[all …]
Dbrw_blorp_blit.cpp766 this->R0 = retype(brw_vec8_grf(reg++, 0), BRW_REGISTER_TYPE_UW); in alloc_regs()
767 this->R1 = retype(brw_vec8_grf(reg++, 0), BRW_REGISTER_TYPE_UW); in alloc_regs()
773 retype(vec16(brw_vec8_grf(reg, 0)), key->texture_data_type); in alloc_regs()
777 retype(brw_vec8_grf(reg, 0), BRW_REGISTER_TYPE_UD); reg += 8; in alloc_regs()
780 = vec16(retype(brw_vec8_grf(reg++, 0), BRW_REGISTER_TYPE_UW)); in alloc_regs()
782 = vec16(retype(brw_vec8_grf(reg++, 0), BRW_REGISTER_TYPE_UW)); in alloc_regs()
786 = vec16(retype(brw_vec8_grf(reg++, 0), BRW_REGISTER_TYPE_UW)); in alloc_regs()
787 this->t1 = vec16(retype(brw_vec8_grf(reg++, 0), BRW_REGISTER_TYPE_UW)); in alloc_regs()
788 this->t2 = vec16(retype(brw_vec8_grf(reg++, 0), BRW_REGISTER_TYPE_UW)); in alloc_regs()
886 struct brw_reg t1_ud1 = vec1(retype(t1, BRW_REGISTER_TYPE_UD)); in compute_frag_coords()
[all …]
Dbrw_wm_emit.c121 struct brw_reg r1_uw = retype(r1, BRW_REGISTER_TYPE_UW); in emit_pixel_xy()
128 dst0_uw = vec16(retype(dst[0], BRW_REGISTER_TYPE_UW)); in emit_pixel_xy()
129 dst1_uw = vec16(retype(dst[1], BRW_REGISTER_TYPE_UW)); in emit_pixel_xy()
131 dst0_uw = vec8(retype(dst[0], BRW_REGISTER_TYPE_UW)); in emit_pixel_xy()
132 dst1_uw = vec8(retype(dst[1], BRW_REGISTER_TYPE_UW)); in emit_pixel_xy()
181 retype(arg0[0], BRW_REGISTER_TYPE_UW), in emit_delta_xy()
185 retype(arg0[1], BRW_REGISTER_TYPE_UW), in emit_delta_xy()
195 retype(arg0[0], BRW_REGISTER_TYPE_UW), in emit_delta_xy()
199 retype(arg0[1], BRW_REGISTER_TYPE_UW), in emit_delta_xy()
213 struct brw_reg delta_x = retype(arg0[0], BRW_REGISTER_TYPE_W); in emit_wpos_xy()
[all …]
Dbrw_vec4_emit.cpp164 brw_reg = retype(brw_reg, dst.type); in get_dst()
170 brw_reg = retype(brw_reg, dst.type); in get_dst()
198 brw_reg = retype(brw_reg, src[i].type); in get_src()
228 brw_reg = retype(brw_reg, src[i].type); in get_src()
354 brw_MOV(p, retype(brw_message_reg(inst->base_mrf + 1), op1.type), op1); in generate_math2_gen4()
441 brw_MOV(p, retype(brw_message_reg(inst->base_mrf), BRW_REGISTER_TYPE_UD), in generate_tex()
442 retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UD)); in generate_tex()
447 retype(brw_vec1_reg(BRW_MESSAGE_REGISTER_FILE, inst->base_mrf, 2), in generate_tex()
513 m1 = retype(m1, BRW_REGISTER_TYPE_D); in generate_oword_dual_block_offsets()
598 retype(brw_message_reg(inst->base_mrf + 2), BRW_REGISTER_TYPE_D), in generate_scratch_write()
[all …]
Dbrw_clip_tri.c58 c->reg.R0 = retype(brw_vec8_grf(i, 0), BRW_REGISTER_TYPE_UD); i++; in brw_clip_tri_alloc_regs()
89 c->reg.loopcount = retype(brw_vec1_grf(i, 1), BRW_REGISTER_TYPE_D); in brw_clip_tri_alloc_regs()
90 c->reg.nr_verts = retype(brw_vec1_grf(i, 2), BRW_REGISTER_TYPE_UD); in brw_clip_tri_alloc_regs()
91 c->reg.planemask = retype(brw_vec1_grf(i, 3), BRW_REGISTER_TYPE_UD); in brw_clip_tri_alloc_regs()
123 c->reg.ff_sync = retype(brw_vec1_grf(i, 0), BRW_REGISTER_TYPE_UD); in brw_clip_tri_alloc_regs()
471 struct brw_reg t = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test()
472 struct brw_reg t1 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test()
473 struct brw_reg t2 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test()
474 struct brw_reg t3 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test()
Dbrw_eu.h310 static INLINE struct brw_reg retype( struct brw_reg reg, in retype() function
356 return suboffset(retype(brw_vec16_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr); in brw_uw16_reg()
364 return suboffset(retype(brw_vec8_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr); in brw_uw8_reg()
372 return suboffset(retype(brw_vec1_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr); in brw_uw1_reg()
658 return vec1(suboffset(retype(reg, BRW_REGISTER_TYPE_UD), elt)); in get_element_ud()
663 return vec1(suboffset(retype(reg, BRW_REGISTER_TYPE_D), elt)); in get_element_d()
752 return retype(deref_4f(ptr, offset), BRW_REGISTER_TYPE_B); in deref_4b()
757 return retype(deref_1f(ptr, offset), BRW_REGISTER_TYPE_UW); in deref_1uw()
762 return retype(deref_1f(ptr, offset), BRW_REGISTER_TYPE_D); in deref_1d()
767 return retype(deref_1f(ptr, offset), BRW_REGISTER_TYPE_UD); in deref_1ud()
Dbrw_clip_line.c53 c->reg.R0 = retype(brw_vec8_grf(i, 0), BRW_REGISTER_TYPE_UD); i++; in brw_clip_line_alloc_regs()
75 c->reg.planemask = retype(brw_vec1_grf(i, 3), BRW_REGISTER_TYPE_UD); in brw_clip_line_alloc_regs()
89 c->reg.ff_sync = retype(brw_vec1_grf(i, 0), BRW_REGISTER_TYPE_UD); in brw_clip_line_alloc_regs()
135 struct brw_reg v1_null_ud = retype(vec1(brw_null_reg()), BRW_REGISTER_TYPE_UD); in clip_and_emit_line()
Dbrw_vs_emit.c637 struct brw_reg dst_f = retype(dst, BRW_REGISTER_TYPE_F); in emit_arl()
826 struct brw_reg tmp_d = retype(tmp, BRW_REGISTER_TYPE_D); in emit_exp_noalias()
841 brw_SHL(p, brw_writemask(retype(dst, BRW_REGISTER_TYPE_D), WRITEMASK_X), in emit_exp_noalias()
880 struct brw_reg tmp_ud = retype(tmp, BRW_REGISTER_TYPE_UD); in emit_log_noalias()
881 struct brw_reg arg0_ud = retype(arg0, BRW_REGISTER_TYPE_UD); in emit_log_noalias()
887 tmp_ud = retype(tmp, BRW_REGISTER_TYPE_UD); in emit_log_noalias()
912 retype(tmp_ud, BRW_REGISTER_TYPE_D), /* does it matter? */ in emit_log_noalias()
1110 struct brw_reg byte_addr_reg = retype(get_tmp(c), BRW_REGISTER_TYPE_D); in get_reladdr_constant()
1173 struct brw_reg vp_address = retype(vec1(addr_reg), BRW_REGISTER_TYPE_D); in deref()
1176 struct brw_reg acc = retype(vec1(get_tmp(c)), BRW_REGISTER_TYPE_UW); in deref()
[all …]
Dbrw_clip_util.c237 allocate ? c->reg.R0 : retype(brw_null_reg(), BRW_REGISTER_TYPE_UD), in brw_clip_emit_vue()
261 retype(brw_null_reg(), BRW_REGISTER_TYPE_UD), in brw_clip_kill_thread()
351 struct brw_reg tmp = retype(vec1(get_tmp(c)), BRW_REGISTER_TYPE_UD); in brw_clip_init_clipmask()
Dbrw_sf_emit.c248 c->pv = retype(brw_vec1_grf(1, 1), BRW_REGISTER_TYPE_D); in alloc_regs()
723 struct brw_reg v1_null_ud = vec1(retype(brw_null_reg(), BRW_REGISTER_TYPE_UD)); in brw_emit_anyprim_setup()
730 primmask = retype(get_element(c->tmp, 0), BRW_REGISTER_TYPE_UD); in brw_emit_anyprim_setup()
Dbrw_clip_unfilled.c305 …brw_ADD(p, get_addr_reg(v1ptr), get_addr_reg(v0ptr), retype(c->reg.nr_verts, BRW_REGISTER_TYPE_UW)… in emit_lines()
306 …brw_ADD(p, get_addr_reg(v1ptr), get_addr_reg(v1ptr), retype(c->reg.nr_verts, BRW_REGISTER_TYPE_UW)… in emit_lines()
Dbrw_vec4_visitor.cpp1129 struct brw_reg acc = retype(brw_acc_reg(), BRW_REGISTER_TYPE_D); in visit()
2181 emit(MOV(retype(reg, BRW_REGISTER_TYPE_UD), src_reg(header1))); in emit_psiz_and_flags()
2183 emit(MOV(retype(reg, BRW_REGISTER_TYPE_UD), 0u)); in emit_psiz_and_flags()
2185 emit(MOV(retype(reg, BRW_REGISTER_TYPE_D), src_reg(0))); in emit_psiz_and_flags()
Dbrw_vec4.h215 return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); in dst_null_d()
Dbrw_fs.cpp768 fs_reg(retype(brw_vec1_grf(0, 0), BRW_REGISTER_TYPE_D)), in emit_frontfacing_interpolation()
773 struct brw_reg r1_6ud = retype(brw_vec1_grf(1, 6), BRW_REGISTER_TYPE_UD); in emit_frontfacing_interpolation()
933 inst->src[i].fixed_hw_reg = retype(brw_reg, inst->src[i].type); in assign_curb_setup()
Dbrw_fs_visitor.cpp374 struct brw_reg acc = retype(brw_acc_reg(), BRW_REGISTER_TYPE_D); in visit()
1916 struct brw_reg g1_uw = retype(brw_vec1_grf(1, 0), BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gen6()