Lines Matching refs:sel
163 struct r600_pipe_shader_selector *sel = shader->selector; in r600_pipe_shader_create() local
166 tgsi_get_processor_type(sel->tokens)); in r600_pipe_shader_create()
175 tgsi_dump(sel->tokens, 0); in r600_pipe_shader_create()
177 if (sel->so.num_outputs) { in r600_pipe_shader_create()
178 r600_dump_streamout(&sel->so); in r600_pipe_shader_create()
303 unsigned sel; member
499 alu.dst.sel = ctx->shader->input[input].gpr; in evergreen_interp_alu()
505 alu.src[0].sel = gpr; in evergreen_interp_alu()
508 alu.src[1].sel = V_SQ_ALU_SRC_PARAM_BASE + ctx->shader->input[input].lds_pos; in evergreen_interp_alu()
530 alu.dst.sel = ctx->shader->input[input].gpr; in evergreen_interp_flat()
535 alu.src[0].sel = V_SQ_ALU_SRC_PARAM_BASE + ctx->shader->input[input].lds_pos; in evergreen_interp_flat()
680 alu.dst.sel = gpr_front; in select_twoside_color()
681 alu.src[0].sel = ctx->face_gpr; in select_twoside_color()
682 alu.src[1].sel = gpr_front; in select_twoside_color()
683 alu.src[2].sel = gpr_back; in select_twoside_color()
710 alu.src[0].sel = src0_sel; in single_alu_op2()
715 alu.src[1].sel = src1_sel; in single_alu_op2()
720 alu.dst.sel = dst_sel; in single_alu_op2()
733 alu.src[0].sel = src0_sel; in single_alu_op2()
738 alu.src[1].sel = src1_sel; in single_alu_op2()
743 alu.dst.sel = dst_sel; in single_alu_op2()
767 alu.src[0].sel = src0_sel; in single_alu_op3()
772 alu.src[1].sel = src1_sel; in single_alu_op3()
777 alu.src[2].sel = src2_sel; in single_alu_op3()
782 alu.dst.sel = dst_sel; in single_alu_op3()
984 alu.src[0].sel = 0; in tgsi_declaration()
987 alu.dst.sel = 0; in tgsi_declaration()
1027 alu.src[0].sel = 0; in tgsi_declaration()
1029 alu.dst.sel = 1; in tgsi_declaration()
1040 alu.src[0].sel = V_SQ_ALU_SRC_1; in tgsi_declaration()
1041 alu.src[1].sel = 1; in tgsi_declaration()
1044 alu.dst.sel = 1; in tgsi_declaration()
1053 alu.src[0].sel = 1; in tgsi_declaration()
1055 alu.src[1].sel = 1; in tgsi_declaration()
1058 alu.dst.sel = 1; in tgsi_declaration()
1258 alu.dst.sel = t1; in load_sample_position()
1308 …r600_bytecode_special_constants(ctx->literals[index], &r600_src->sel, &r600_src->neg, r600_src->ab… in tgsi_src()
1309 if (r600_src->sel != V_SQ_ALU_SRC_LITERAL) in tgsi_src()
1313 r600_src->sel = V_SQ_ALU_SRC_LITERAL; in tgsi_src()
1321 r600_src->sel = ctx->face_gpr; in tgsi_src()
1327 r600_src->sel = ctx->fixed_pt_position_gpr; in tgsi_src()
1333 r600_src->sel = load_sample_position(ctx, NULL, -1); in tgsi_src()
1339 r600_src->sel = 0; in tgsi_src()
1345 r600_src->sel = 0; in tgsi_src()
1351 r600_src->sel = 1; in tgsi_src()
1357 r600_src->sel = 0; in tgsi_src()
1359 r600_src->sel = 1; in tgsi_src()
1361 r600_src->sel = 3; in tgsi_src()
1363 r600_src->sel = 2; in tgsi_src()
1366 r600_src->sel = ctx->tess_input_info; in tgsi_src()
1372 r600_src->sel = ctx->tess_input_info; in tgsi_src()
1379 r600_src->sel = 0; in tgsi_src()
1385 r600_src->sel = 0; in tgsi_src()
1394 r600_src->sel = tgsi_src->Register.Index; in tgsi_src()
1395 r600_src->sel += ctx->file_offset[tgsi_src->Register.File]; in tgsi_src()
1421 alu.src[0].sel = ctx->bc->ar_reg; in tgsi_fetch_rel_const()
1424 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_fetch_rel_const()
1427 alu.dst.sel = dst_reg; in tgsi_fetch_rel_const()
1507 alu.src[0].sel = 0; in fetch_gs_input()
1509 alu.dst.sel = treg[i]; in fetch_gs_input()
1519 alu.src[0].sel = treg[0]; in fetch_gs_input()
1521 alu.dst.sel = t2; in fetch_gs_input()
1591 ctx->src[i].sel = 0; in tgsi_split_gs_inputs()
1599 ctx->src[i].sel = treg; in tgsi_split_gs_inputs()
1654 int sel, chan; in r600_get_byte_address() local
1661 sel = addr_reg; in r600_get_byte_address()
1664 sel = V_SQ_ALU_SRC_LITERAL; in r600_get_byte_address()
1671 sel, chan, in r600_get_byte_address()
1750 alu.src[0].sel = temp_reg; in do_lds_fetch_values()
1752 alu.src[1].sel = V_SQ_ALU_SRC_0; in do_lds_fetch_values()
1753 alu.src[2].sel = V_SQ_ALU_SRC_0; in do_lds_fetch_values()
1766 alu.src[0].sel = EG_V_SQ_ALU_SRC_LDS_OQ_A_POP; in do_lds_fetch_values()
1768 alu.dst.sel = dst_reg; in do_lds_fetch_values()
1860 ctx->src[i].sel = treg; in tgsi_split_lds_inputs()
1866 ctx->src[i].sel = treg; in tgsi_split_lds_inputs()
1872 ctx->src[i].sel = treg; in tgsi_split_lds_inputs()
1899 …if ((r = tgsi_fetch_rel_const(ctx, ctx->src[i].kc_bank, ctx->src[i].kc_rel, ctx->src[i].sel - 512,… in tgsi_split_constant()
1904 ctx->src[i].sel = treg; in tgsi_split_constant()
1912 alu.src[0].sel = ctx->src[i].sel; in tgsi_split_constant()
1917 alu.dst.sel = treg; in tgsi_split_constant()
1926 ctx->src[i].sel = treg; in tgsi_split_constant()
1942 if (ctx->src[i].sel == V_SQ_ALU_SRC_LITERAL) { in tgsi_split_literal_constant()
1947 if (j > 0 && ctx->src[i].sel == V_SQ_ALU_SRC_LITERAL) { in tgsi_split_literal_constant()
1952 alu.src[0].sel = ctx->src[i].sel; in tgsi_split_literal_constant()
1955 alu.dst.sel = treg; in tgsi_split_literal_constant()
1964 ctx->src[i].sel = treg; in tgsi_split_literal_constant()
2025 alu.src[0].sel = so_gpr[i]; in emit_streamout()
2028 alu.dst.sel = tmp; in emit_streamout()
2119 alu.src[0].sel = reg; in convert_edgeflag_to_int()
2120 alu.dst.sel = reg; in convert_edgeflag_to_int()
2128 alu.src[0].sel = reg; in convert_edgeflag_to_int()
2129 alu.dst.sel = reg; in convert_edgeflag_to_int()
2175 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in generate_gs_copy_shader()
2183 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in generate_gs_copy_shader()
2248 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in generate_gs_copy_shader()
2451 alu.src[0].sel = ctx->gs_export_gpr_tregs[idx]; in emit_inc_ring_offset()
2452 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in emit_inc_ring_offset()
2454 alu.dst.sel = ctx->gs_export_gpr_tregs[idx]; in emit_inc_ring_offset()
2653 alu.src[0].sel = temp_reg; in emit_lds_vs_writes()
2655 alu.src[1].sel = ctx->shader->output[i].gpr; in emit_lds_vs_writes()
2657 alu.src[2].sel = ctx->shader->output[i].gpr; in emit_lds_vs_writes()
2715 alu.src[0].sel = temp_reg; in r600_store_tcs_output()
2718 alu.src[1].sel = dst->Register.Index; in r600_store_tcs_output()
2719 alu.src[1].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
2722 alu.src[2].sel = dst->Register.Index; in r600_store_tcs_output()
2723 alu.src[2].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
2737 alu.src[0].sel = temp_reg; in r600_store_tcs_output()
2740 alu.src[1].sel = dst->Register.Index; in r600_store_tcs_output()
2741 alu.src[1].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
2744 alu.src[2].sel = V_SQ_ALU_SRC_0; in r600_store_tcs_output()
2796 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in r600_emit_tess_factor()
3218 alu.src[0].sel = shader->input[ctx.fragcoord_input].gpr; in r600_shader_from_tgsi()
3221 alu.dst.sel = shader->input[ctx.fragcoord_input].gpr; in r600_shader_from_tgsi()
3232 alu.src[0].sel = shader->input[ctx.fragcoord_input].gpr; in r600_shader_from_tgsi()
3235 alu.dst.sel = shader->input[ctx.fragcoord_input].gpr; in r600_shader_from_tgsi()
3255 alu.src[0].sel = V_SQ_ALU_SRC_LITERAL; in r600_shader_from_tgsi()
3257 alu.dst.sel = ctx.gs_export_gpr_tregs[j]; in r600_shader_from_tgsi()
3354 alu.src[0].sel = shader->output[ctx.cv_output].gpr; in r600_shader_from_tgsi()
3357 alu.src[1].sel = 512 + i; in r600_shader_from_tgsi()
3361 alu.dst.sel = clipdist_temp[oreg]; in r600_shader_from_tgsi()
3700 bc_src->sel = shader_src->sel; in r600_bytecode_src()
3728 r600_dst->sel = tgsi_dst->Register.Index; in tgsi_dst()
3729 r600_dst->sel += ctx->file_offset[tgsi_dst->Register.File]; in tgsi_dst()
3783 alu.dst.sel = ctx->temp_reg; in tgsi_op2_64_params()
3833 alu.src[0].sel = ctx->temp_reg; in tgsi_op2_64_params()
3887 alu.dst.sel = tmp; in tgsi_op3_64()
3916 alu.dst.sel = ctx->temp_reg; in tgsi_op2_s()
3948 alu.src[0].sel = ctx->temp_reg; in tgsi_op2_s()
3989 alu.src[0].sel = V_SQ_ALU_SRC_0; in tgsi_ineg()
4049 alu.dst.sel = ctx->temp_reg; in tgsi_dfracexp()
4069 alu.src[0].sel = ctx->temp_reg; in tgsi_dfracexp()
4085 alu.src[0].sel = ctx->temp_reg; in tgsi_dfracexp()
4114 alu.dst.sel = ctx->temp_reg; in egcm_int_to_double()
4130 alu.src[0].sel = ctx->temp_reg; in egcm_int_to_double()
4132 alu.src[0].sel = V_SQ_ALU_SRC_LITERAL; in egcm_int_to_double()
4162 alu.dst.sel = ctx->temp_reg; in egcm_double_to_int()
4176 alu.src[0].sel = ctx->temp_reg; in egcm_double_to_int()
4209 alu.dst.sel = dst_reg; in cayman_emit_unary_double_raw()
4251 alu.src[0].sel = t1; in cayman_emit_double_instr()
4312 alu.dst.sel = t1; in cayman_mul_int_instr()
4328 alu.src[0].sel = t1; in cayman_mul_int_instr()
4364 alu.dst.sel = t1; in cayman_mul_double_instr()
4379 alu.src[0].sel = t1; in cayman_mul_double_instr()
4421 alu.src[1].sel = t1; in cayman_ddiv_instr()
4424 alu.dst.sel = t1; in cayman_ddiv_instr()
4437 alu.src[0].sel = t1; in cayman_ddiv_instr()
4465 alu.dst.sel = ctx->temp_reg; in tgsi_setup_trig()
4470 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_setup_trig()
4473 alu.src[2].sel = V_SQ_ALU_SRC_0_5; in tgsi_setup_trig()
4484 alu.dst.sel = ctx->temp_reg; in tgsi_setup_trig()
4487 alu.src[0].sel = ctx->temp_reg; in tgsi_setup_trig()
4499 alu.dst.sel = ctx->temp_reg; in tgsi_setup_trig()
4502 alu.src[0].sel = ctx->temp_reg; in tgsi_setup_trig()
4505 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_setup_trig()
4507 alu.src[2].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_setup_trig()
4514 alu.src[1].sel = V_SQ_ALU_SRC_1; in tgsi_setup_trig()
4515 alu.src[2].sel = V_SQ_ALU_SRC_0_5; in tgsi_setup_trig()
4546 alu.src[0].sel = ctx->temp_reg; in cayman_trig()
4571 alu.dst.sel = ctx->temp_reg; in tgsi_trig()
4574 alu.src[0].sel = ctx->temp_reg; in tgsi_trig()
4589 alu.src[0].sel = ctx->temp_reg; in tgsi_trig()
4627 alu.src[0].sel = ctx->temp_reg; in tgsi_scs()
4640 alu.src[0].sel = ctx->temp_reg; in tgsi_scs()
4660 alu.src[0].sel = ctx->temp_reg; in tgsi_scs()
4673 alu.src[0].sel = ctx->temp_reg; in tgsi_scs()
4690 alu.src[0].sel = V_SQ_ALU_SRC_0; in tgsi_scs()
4708 alu.src[0].sel = V_SQ_ALU_SRC_1; in tgsi_scs()
4733 alu.src[0].sel = V_SQ_ALU_SRC_0; in tgsi_kill()
4736 alu.src[1].sel = V_SQ_ALU_SRC_1; in tgsi_kill()
4765 alu.src[1].sel = V_SQ_ALU_SRC_0; /*0.0*/ in tgsi_lit()
4768 alu.dst.sel = ctx->temp_reg; in tgsi_lit()
4780 int sel; in tgsi_lit() local
4788 alu.src[0].sel = ctx->temp_reg; in tgsi_lit()
4790 alu.dst.sel = ctx->temp_reg; in tgsi_lit()
4806 alu.src[0].sel = ctx->temp_reg; in tgsi_lit()
4808 alu.dst.sel = ctx->temp_reg; in tgsi_lit()
4818 sel = alu.dst.sel; in tgsi_lit()
4823 alu.src[0].sel = sel; in tgsi_lit()
4827 alu.dst.sel = ctx->temp_reg; in tgsi_lit()
4841 alu.src[0].sel = ctx->temp_reg; in tgsi_lit()
4857 alu.src[0].sel = ctx->temp_reg; in tgsi_lit()
4870 alu.src[0].sel = V_SQ_ALU_SRC_1; /*1.0*/ in tgsi_lit()
4882 alu.src[1].sel = V_SQ_ALU_SRC_0; /*0.0*/ in tgsi_lit()
4893 alu.src[0].sel = V_SQ_ALU_SRC_1; in tgsi_lit()
4923 alu.dst.sel = ctx->temp_reg; in tgsi_rsq()
4941 alu.src[0].sel = ctx->temp_reg; in tgsi_helper_tempx_replicate()
4966 alu.dst.sel = ctx->temp_reg; in tgsi_trans_srcx_replicate()
4987 alu.dst.sel = ctx->temp_reg; in cayman_pow()
5001 alu.src[1].sel = ctx->temp_reg; in cayman_pow()
5002 alu.dst.sel = ctx->temp_reg; in cayman_pow()
5013 alu.src[0].sel = ctx->temp_reg; in cayman_pow()
5035 alu.dst.sel = ctx->temp_reg; in tgsi_pow()
5045 alu.src[1].sel = ctx->temp_reg; in tgsi_pow()
5046 alu.dst.sel = ctx->temp_reg; in tgsi_pow()
5055 alu.src[0].sel = ctx->temp_reg; in tgsi_pow()
5056 alu.dst.sel = ctx->temp_reg; in tgsi_pow()
5131 alu.dst.sel = tmp2; in tgsi_divmod()
5135 alu.src[0].sel = V_SQ_ALU_SRC_0; in tgsi_divmod()
5147 alu.dst.sel = tmp2; in tgsi_divmod()
5151 alu.src[0].sel = V_SQ_ALU_SRC_0; in tgsi_divmod()
5166 alu.dst.sel = tmp2; in tgsi_divmod()
5183 alu.dst.sel = tmp2; in tgsi_divmod()
5189 alu.src[2].sel = tmp2; in tgsi_divmod()
5201 alu.dst.sel = tmp2; in tgsi_divmod()
5207 alu.src[2].sel = tmp2; in tgsi_divmod()
5222 alu.dst.sel = tmp3; in tgsi_divmod()
5227 alu.src[0].sel = tmp2; in tgsi_divmod()
5242 alu.dst.sel = tmp0; in tgsi_divmod()
5246 alu.src[0].sel = tmp3; in tgsi_divmod()
5258 alu.src[0].sel = tmp0; in tgsi_divmod()
5261 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_divmod()
5264 alu.dst.sel = tmp3; in tgsi_divmod()
5274 alu.dst.sel = tmp0; in tgsi_divmod()
5278 alu.src[0].sel = tmp3; in tgsi_divmod()
5289 alu.dst.sel = tmp0; in tgsi_divmod()
5294 alu.src[0].sel = tmp2; in tgsi_divmod()
5311 alu.dst.sel = tmp0; in tgsi_divmod()
5315 alu.src[0].sel = tmp0; in tgsi_divmod()
5318 alu.src[1].sel = tmp2; in tgsi_divmod()
5332 alu.dst.sel = tmp0; in tgsi_divmod()
5336 alu.src[0].sel = tmp0; in tgsi_divmod()
5339 alu.src[1].sel = tmp2; in tgsi_divmod()
5354 alu.dst.sel = tmp0; in tgsi_divmod()
5358 alu.src[0].sel = V_SQ_ALU_SRC_0; in tgsi_divmod()
5359 alu.src[1].sel = tmp0; in tgsi_divmod()
5372 alu.dst.sel = tmp0; in tgsi_divmod()
5376 alu.src[0].sel = tmp0; in tgsi_divmod()
5380 alu.src[1].sel = tmp2; in tgsi_divmod()
5393 alu.dst.sel = tmp0; in tgsi_divmod()
5397 alu.src[0].sel = tmp0; in tgsi_divmod()
5401 alu.src[1].sel = tmp2; in tgsi_divmod()
5417 alu.dst.sel = tmp0; in tgsi_divmod()
5421 alu.src[0].sel = tmp0; in tgsi_divmod()
5423 alu.src[1].sel = tmp0; in tgsi_divmod()
5425 alu.src[2].sel = tmp0; in tgsi_divmod()
5438 alu.dst.sel = tmp0; in tgsi_divmod()
5442 alu.src[0].sel = tmp0; in tgsi_divmod()
5445 alu.src[1].sel = tmp0; in tgsi_divmod()
5456 alu.dst.sel = tmp0; in tgsi_divmod()
5460 alu.src[0].sel = tmp0; in tgsi_divmod()
5463 alu.src[1].sel = tmp0; in tgsi_divmod()
5475 alu.dst.sel = tmp1; in tgsi_divmod()
5479 alu.src[0].sel = tmp0; in tgsi_divmod()
5481 alu.src[1].sel = tmp0; in tgsi_divmod()
5492 alu.dst.sel = tmp1; in tgsi_divmod()
5496 alu.src[0].sel = tmp0; in tgsi_divmod()
5498 alu.src[1].sel = tmp0; in tgsi_divmod()
5510 alu.dst.sel = tmp0; in tgsi_divmod()
5514 alu.src[0].sel = tmp0; in tgsi_divmod()
5516 alu.src[1].sel = tmp1; in tgsi_divmod()
5518 alu.src[2].sel = tmp1; in tgsi_divmod()
5531 alu.dst.sel = tmp0; in tgsi_divmod()
5535 alu.src[0].sel = tmp0; in tgsi_divmod()
5539 alu.src[1].sel = tmp2; in tgsi_divmod()
5553 alu.dst.sel = tmp0; in tgsi_divmod()
5557 alu.src[0].sel = tmp0; in tgsi_divmod()
5561 alu.src[1].sel = tmp2; in tgsi_divmod()
5578 alu.dst.sel = tmp0; in tgsi_divmod()
5583 alu.src[0].sel = tmp2; in tgsi_divmod()
5589 alu.src[1].sel = tmp0; in tgsi_divmod()
5600 alu.dst.sel = tmp0; in tgsi_divmod()
5605 alu.src[0].sel = tmp2; in tgsi_divmod()
5611 alu.src[1].sel = tmp0; in tgsi_divmod()
5623 alu.dst.sel = tmp0; in tgsi_divmod()
5628 alu.src[0].sel = tmp2; in tgsi_divmod()
5634 alu.src[1].sel = tmp0; in tgsi_divmod()
5645 alu.dst.sel = tmp1; in tgsi_divmod()
5649 alu.src[0].sel = tmp0; in tgsi_divmod()
5652 alu.src[1].sel = tmp2; in tgsi_divmod()
5666 alu.dst.sel = tmp1; in tgsi_divmod()
5671 alu.src[0].sel = tmp2; in tgsi_divmod()
5677 alu.src[1].sel = tmp0; in tgsi_divmod()
5690 alu.dst.sel = tmp1; in tgsi_divmod()
5694 alu.src[0].sel = tmp0; in tgsi_divmod()
5698 alu.src[1].sel = tmp2; in tgsi_divmod()
5712 alu.dst.sel = tmp1; in tgsi_divmod()
5716 alu.src[0].sel = tmp0; in tgsi_divmod()
5719 alu.src[1].sel = tmp2; in tgsi_divmod()
5735 alu.dst.sel = tmp1; in tgsi_divmod()
5739 alu.src[0].sel = tmp0; in tgsi_divmod()
5741 alu.src[1].sel = V_SQ_ALU_SRC_1_INT; in tgsi_divmod()
5751 alu.dst.sel = tmp1; in tgsi_divmod()
5755 alu.src[0].sel = tmp0; in tgsi_divmod()
5757 alu.src[1].sel = V_SQ_ALU_SRC_M_1_INT; in tgsi_divmod()
5769 alu.dst.sel = tmp1; in tgsi_divmod()
5773 alu.src[0].sel = tmp1; in tgsi_divmod()
5775 alu.src[1].sel = tmp1; in tgsi_divmod()
5788 alu.dst.sel = tmp0; in tgsi_divmod()
5792 alu.src[0].sel = tmp1; in tgsi_divmod()
5794 alu.src[1].sel = tmp0; in tgsi_divmod()
5796 alu.src[2].sel = tmp1; in tgsi_divmod()
5809 alu.dst.sel = tmp0; in tgsi_divmod()
5816 alu.src[0].sel = tmp1; in tgsi_divmod()
5818 alu.src[1].sel = tmp1; in tgsi_divmod()
5820 alu.src[2].sel = tmp0; in tgsi_divmod()
5837 alu.dst.sel = tmp0; in tgsi_divmod()
5841 alu.src[0].sel = V_SQ_ALU_SRC_0; in tgsi_divmod()
5842 alu.src[1].sel = tmp0; in tgsi_divmod()
5858 alu.src[1].sel = tmp0; in tgsi_divmod()
5860 alu.src[2].sel = tmp0; in tgsi_divmod()
5873 alu.dst.sel = tmp0; in tgsi_divmod()
5877 alu.src[0].sel = V_SQ_ALU_SRC_0; in tgsi_divmod()
5878 alu.src[1].sel = tmp0; in tgsi_divmod()
5893 alu.src[0].sel = tmp2; in tgsi_divmod()
5895 alu.src[1].sel = tmp0; in tgsi_divmod()
5897 alu.src[2].sel = tmp0; in tgsi_divmod()
5945 alu.dst.sel = ctx->temp_reg; in tgsi_f2i()
5966 alu.src[0].sel = ctx->temp_reg; in tgsi_f2i()
5995 alu.dst.sel = ctx->temp_reg; in tgsi_iabs()
6000 alu.src[0].sel = V_SQ_ALU_SRC_0; in tgsi_iabs()
6023 alu.src[2].sel = ctx->temp_reg; in tgsi_iabs()
6052 alu.dst.sel = ctx->temp_reg; in tgsi_issg()
6058 alu.src[2].sel = V_SQ_ALU_SRC_M_1_INT; in tgsi_issg()
6079 alu.src[0].sel = ctx->temp_reg; in tgsi_issg()
6082 alu.src[1].sel = V_SQ_ALU_SRC_1_INT; in tgsi_issg()
6084 alu.src[2].sel = ctx->temp_reg; in tgsi_issg()
6110 alu.dst.sel = ctx->temp_reg; in tgsi_ssg()
6114 alu.src[1].sel = V_SQ_ALU_SRC_1; in tgsi_ssg()
6131 alu.src[0].sel = ctx->temp_reg; in tgsi_ssg()
6135 alu.src[1].sel = V_SQ_ALU_SRC_1; in tgsi_ssg()
6138 alu.src[2].sel = ctx->temp_reg; in tgsi_ssg()
6168 alu.dst.sel = t1; in tgsi_bfi()
6190 alu.dst.sel = t2; in tgsi_bfi()
6216 alu.src[0].sel = t1; in tgsi_bfi()
6218 alu.src[1].sel = t2; in tgsi_bfi()
6252 alu.dst.sel = t1; in tgsi_msb()
6273 alu.dst.sel = t2; in tgsi_msb()
6278 alu.src[0].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_msb()
6280 alu.src[1].sel = t1; in tgsi_msb()
6301 alu.src[0].sel = t1; in tgsi_msb()
6303 alu.src[1].sel = t2; in tgsi_msb()
6305 alu.src[2].sel = t1; in tgsi_msb()
6381 alu.src[0].sel = gradientsH; in tgsi_interp_egcm()
6384 alu.src[1].sel = sample_gpr; in tgsi_interp_egcm()
6390 alu.src[2].sel = interp_gpr; in tgsi_interp_egcm()
6392 alu.dst.sel = ctx->temp_reg; in tgsi_interp_egcm()
6405 alu.src[0].sel = gradientsV; in tgsi_interp_egcm()
6408 alu.src[1].sel = sample_gpr; in tgsi_interp_egcm()
6414 alu.src[2].sel = ctx->temp_reg; in tgsi_interp_egcm()
6416 alu.dst.sel = ctx->temp_reg; in tgsi_interp_egcm()
6431 alu.dst.sel = tmp; in tgsi_interp_egcm()
6442 alu.src[0].sel = ctx->temp_reg; in tgsi_interp_egcm()
6445 alu.src[0].sel = interp_gpr; in tgsi_interp_egcm()
6448 alu.src[1].sel = V_SQ_ALU_SRC_PARAM_BASE + ctx->shader->input[input].lds_pos; in tgsi_interp_egcm()
6467 alu.src[0].sel = tmp; in tgsi_interp_egcm()
6494 alu.src[0].sel = ctx->temp_reg; in tgsi_helper_copy()
6522 alu.dst.sel = temp; in tgsi_make_src_for_op3()
6533 bc_src->sel = temp; in tgsi_make_src_for_op3()
6598 alu.src[0].sel = alu.src[1].sel = V_SQ_ALU_SRC_0; in tgsi_dp()
6604 alu.src[0].sel = alu.src[1].sel = V_SQ_ALU_SRC_0; in tgsi_dp()
6610 alu.src[0].sel = V_SQ_ALU_SRC_1; in tgsi_dp()
6660 alu.dst.sel = ctx->temp_reg; in do_vtx_fetch_inst()
6700 alu.dst.sel = vtx.dst_gpr; in do_vtx_fetch_inst()
6703 alu.src[0].sel = vtx.dst_gpr; in do_vtx_fetch_inst()
6706 alu.src[1].sel = R600_SHADER_BUFFER_INFO_SEL; in do_vtx_fetch_inst()
6707 alu.src[1].sel += (id * 2); in do_vtx_fetch_inst()
6723 alu.dst.sel = vtx.dst_gpr; in do_vtx_fetch_inst()
6726 alu.src[0].sel = vtx.dst_gpr; in do_vtx_fetch_inst()
6729 alu.src[1].sel = R600_SHADER_BUFFER_INFO_SEL + (id * 2) + 1; in do_vtx_fetch_inst()
6750 alu.src[0].sel = R600_SHADER_BUFFER_INFO_SEL; in r600_do_buffer_txq()
6753 alu.src[0].sel += (id / 2); in r600_do_buffer_txq()
6757 alu.src[0].sel += (id * 2) + 1; in r600_do_buffer_txq()
6843 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
6860 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
6872 alu.src[0].sel = ctx->temp_reg; in tgsi_tex()
6875 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
6884 alu.src[0].sel = V_SQ_ALU_SRC_1; in tgsi_tex()
6886 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
6914 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
6929 alu.src[0].sel = ctx->temp_reg; in tgsi_tex()
6932 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
6945 alu.src[0].sel = ctx->temp_reg; in tgsi_tex()
6948 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
6965 alu.src[0].sel = ctx->temp_reg; in tgsi_tex()
6967 alu.src[1].sel = ctx->temp_reg; in tgsi_tex()
6970 alu.src[2].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_tex()
6974 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
6986 alu.src[0].sel = ctx->temp_reg; in tgsi_tex()
6988 alu.src[1].sel = ctx->temp_reg; in tgsi_tex()
6991 alu.src[2].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_tex()
6995 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
7014 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
7029 alu.src[0].sel = ctx->temp_reg; in tgsi_tex()
7031 alu.dst.sel = mytmp; in tgsi_tex()
7044 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_tex()
7047 alu.src[2].sel = mytmp; in tgsi_tex()
7049 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
7074 alu.dst.sel = tex.src_gpr; in tgsi_tex()
7101 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
7137 alu.dst.sel = treg; in tgsi_tex()
7182 alu.dst.sel = ctx->temp_reg; in tgsi_tex()
7208 alu.src[0].sel = src_gpr; in tgsi_tex()
7210 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_tex()
7212 alu.dst.sel = src_gpr; in tgsi_tex()
7229 alu.src[0].sel = src_gpr; in tgsi_tex()
7231 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_tex()
7233 alu.dst.sel = src_gpr; in tgsi_tex()
7248 alu.src[0].sel = src_gpr; in tgsi_tex()
7249 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_tex()
7251 alu.dst.sel = src_gpr; in tgsi_tex()
7328 alu.src[0].sel = src_gpr; in tgsi_tex()
7330 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_tex()
7332 alu.dst.sel = temp; in tgsi_tex()
7344 alu.src[0].sel = src_gpr; in tgsi_tex()
7346 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_tex()
7348 alu.dst.sel = temp; in tgsi_tex()
7360 alu.src[0].sel = temp; in tgsi_tex()
7362 alu.src[1].sel = temp; in tgsi_tex()
7364 alu.dst.sel = src_gpr; in tgsi_tex()
7375 alu.src[0].sel = src_gpr; in tgsi_tex()
7377 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_tex()
7379 alu.dst.sel = src_gpr; in tgsi_tex()
7391 alu.src[0].sel = src_gpr; in tgsi_tex()
7393 alu.dst.sel = ctx->file_offset[inst->Dst[0].Register.File] + inst->Dst[0].Register.Index; in tgsi_tex()
7412 alu.src[0].sel = R600_SHADER_BUFFER_INFO_SEL; in tgsi_tex()
7415 alu.src[0].sel += (id / 2); in tgsi_tex()
7419 alu.src[0].sel += (id * 2) + 1; in tgsi_tex()
7662 if (ctx->src[0].sel == V_SQ_ALU_SRC_0_5) { in tgsi_lrp()
7691 alu.src[0].sel = V_SQ_ALU_SRC_1; in tgsi_lrp()
7695 alu.dst.sel = ctx->temp_reg; in tgsi_lrp()
7713 alu.src[0].sel = ctx->temp_reg; in tgsi_lrp()
7716 alu.dst.sel = ctx->temp_reg; in tgsi_lrp()
7750 alu.src[2].sel = ctx->temp_reg; in tgsi_lrp()
7864 alu.src[0].sel = V_SQ_ALU_SRC_0; in tgsi_xpd()
7866 alu.src[1].sel = V_SQ_ALU_SRC_0; in tgsi_xpd()
7870 alu.dst.sel = ctx->temp_reg; in tgsi_xpd()
7889 alu.src[0].sel = V_SQ_ALU_SRC_0; in tgsi_xpd()
7891 alu.src[1].sel = V_SQ_ALU_SRC_0; in tgsi_xpd()
7895 alu.src[2].sel = ctx->temp_reg; in tgsi_xpd()
7900 alu.dst.sel = ctx->temp_reg; in tgsi_xpd()
7931 alu.dst.sel = ctx->temp_reg; in tgsi_exp()
7942 alu.src[0].sel = ctx->temp_reg; in tgsi_exp()
7945 alu.dst.sel = ctx->temp_reg; in tgsi_exp()
7955 alu.src[0].sel = ctx->temp_reg; in tgsi_exp()
7958 alu.dst.sel = ctx->temp_reg; in tgsi_exp()
7975 alu.dst.sel = ctx->temp_reg; in tgsi_exp()
7999 alu.dst.sel = ctx->temp_reg; in tgsi_exp()
8015 alu.dst.sel = ctx->temp_reg; in tgsi_exp()
8032 alu.src[0].sel = V_SQ_ALU_SRC_1; in tgsi_exp()
8035 alu.dst.sel = ctx->temp_reg; in tgsi_exp()
8063 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8081 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8091 alu.src[0].sel = ctx->temp_reg; in tgsi_log()
8094 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8115 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8133 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8146 alu.src[0].sel = ctx->temp_reg; in tgsi_log()
8149 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8162 alu.src[0].sel = ctx->temp_reg; in tgsi_log()
8165 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8179 alu.src[0].sel = ctx->temp_reg; in tgsi_log()
8182 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8196 alu.src[0].sel = ctx->temp_reg; in tgsi_log()
8199 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8213 alu.src[0].sel = ctx->temp_reg; in tgsi_log()
8216 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8233 alu.src[1].sel = ctx->temp_reg; in tgsi_log()
8236 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8256 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8274 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8290 alu.src[0].sel = V_SQ_ALU_SRC_1; in tgsi_log()
8293 alu.dst.sel = ctx->temp_reg; in tgsi_log()
8337 alu.dst.sel = reg; in tgsi_eg_arl()
8363 alu.dst.sel = ctx->bc->ar_reg; in tgsi_r600_arl()
8377 alu.src[0].sel = ctx->bc->ar_reg; in tgsi_r600_arl()
8378 alu.dst.sel = ctx->bc->ar_reg; in tgsi_r600_arl()
8392 alu.dst.sel = ctx->bc->ar_reg; in tgsi_r600_arl()
8408 alu.dst.sel = ctx->bc->ar_reg; in tgsi_r600_arl()
8442 alu.src[0].sel = V_SQ_ALU_SRC_1; in tgsi_opdst()
8448 alu.src[1].sel = V_SQ_ALU_SRC_1; in tgsi_opdst()
8471 alu.dst.sel = ctx->temp_reg; in emit_logic_pred()
8476 alu.src[1].sel = V_SQ_ALU_SRC_0; in emit_logic_pred()
8905 alu.dst.sel = ctx->temp_reg; in tgsi_umad()
8917 alu.dst.sel = ctx->temp_reg; in tgsi_umad()
8942 alu.src[0].sel = ctx->temp_reg; in tgsi_umad()
8967 alu.dst.sel = ctx->temp_reg; in tgsi_pk2h()
8990 alu.src[0].sel = ctx->temp_reg; in tgsi_pk2h()
8992 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_pk2h()
8994 alu.src[2].sel = ctx->temp_reg; in tgsi_pk2h()
9016 alu.dst.sel = ctx->temp_reg; in tgsi_up2h()
9027 alu.dst.sel = ctx->temp_reg; in tgsi_up2h()
9030 alu.src[1].sel = V_SQ_ALU_SRC_LITERAL; in tgsi_up2h()
9044 alu.src[0].sel = ctx->temp_reg; in tgsi_up2h()