/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instr_mem.cpp | 199 shader.emit_instruction(new AluInstr(op1_mov, temp_src_val, src_val, AluInstr::last_write)); in emit_atomic_op2() 219 shader.emit_instruction(new AluInstr(op1_mov, tmp[0], vf.literal(4 * offset), AluInstr::write)); in emit_atomic_op2() 220 shader.emit_instruction(new AluInstr(op1_mov, tmp[1], src_val, AluInstr::last_write)); in emit_atomic_op2() 247 shader.emit_instruction(new AluInstr(op1_mov, tmp[0], vf.literal(4 * offset), AluInstr::write)); in emit_atomic_read() 279 shader.emit_instruction(new AluInstr(op1_mov, tmp[0], vf.literal(4 * offset), AluInstr::write)); in emit_atomic_inc() 281 shader.emit_instruction(new AluInstr(op1_mov, tmp[1], shader.atomic_update(), AluInstr::last_write)); in emit_atomic_inc() 309 shader.emit_instruction(new AluInstr(op1_mov, tmp[0], vf.literal(4 * offset), AluInstr::write)); in emit_atomic_pre_dec() 311 shader.emit_instruction(new AluInstr(op1_mov, tmp[1], shader.atomic_update(), AluInstr::last_write)); in emit_atomic_pre_dec() 575 shader.emit_instruction(new AluInstr(op1_mov, addr_vec[0], addr_base, AluInstr::last_write)); in emit_ssbo_store() 583 shader.emit_instruction(new AluInstr(op1_mov, in emit_ssbo_store() [all...] |
H A D | sfn_shader_tess.cpp | 120 emit_instruction(new AluInstr(op1_mov, value0[0], value_factory().src(instr->src[0], 0), in store_tess_factor() 122 emit_instruction(new AluInstr(op1_mov, value0[1], value_factory().src(instr->src[0], 1), in store_tess_factor() 128 emit_instruction(new AluInstr(op1_mov, value1[0], value_factory().src(instr->src[0], 2), in store_tess_factor() 130 emit_instruction(new AluInstr(op1_mov, value1[1], value_factory().src(instr->src[0], 3), in store_tess_factor()
|
H A D | sfn_instrfactory.cpp | 147 shader.emit_instruction(new AluInstr(op1_mov, dest0, src0, {alu_write})); in load_const() 151 shader.emit_instruction(new AluInstr(op1_mov, dest1, src1, AluInstr::last_write)); in load_const() 168 ir = new AluInstr(op1_mov, dest, src, {alu_write}); in load_const() 206 shader.emit_instruction(new AluInstr(op1_mov, dest, in process_undef()
|
H A D | sfn_shader.cpp | 381 auto alu = new AluInstr(op1_mov, m_atomic_update, in allocate_reserved_registers() 853 emit_instruction(new AluInstr(op1_mov, dest, src, AluInstr::last_write)); in emit_load_to_register() 895 emit_instruction(new AluInstr(op1_mov, uav_id, uav_id_val, 919 ir = new AluInstr(op1_mov, value[i], vf.src(intr->src[0], i), AluInstr::write); in emit_store_scratch() 952 auto load_addr = new AluInstr(op1_mov, addr_temp, address, AluInstr::last_write); in emit_store_scratch() 999 auto load_addr = new AluInstr(op1_mov, addr_temp, addr, AluInstr::last_write); in emit_load_scratch() 1120 ir = new AluInstr(op1_mov, value_factory().dest(intr->dest, i, pin), in load_uniform() 1139 emit_instruction(new AluInstr(op1_mov, tmp, addr, AluInstr::last_write)); in load_uniform_indirect() 1155 emit_instruction(new AluInstr(op1_mov, src, value_factory().zero(), in emit_load_tcs_param_base() 1173 group->add_instruction(new AluInstr(op1_mov, v in emit_shader_clock() [all...] |
H A D | sfn_instr_tex.cpp | 465 shader.emit_instruction(new AluInstr(op1_mov, src_coord[k], src.coord[i],AluInstr::write)); in emit_tex_txf() 469 shader.emit_instruction(new AluInstr(op1_mov, src_coord[3], src.lod, AluInstr::last_write)); in emit_tex_txf() 552 shader.emit_instruction(new AluInstr(op1_mov, temp2[k], in emit_tex_tex_ms_direct() 556 shader.emit_instruction(new AluInstr(op1_mov, temp2[3], src.ms_index, in emit_tex_tex_ms_direct() 598 shader.emit_instruction(new AluInstr(op1_mov, temp1[k], in emit_tex_tex_ms() 602 shader.emit_instruction(new AluInstr(op1_mov, temp1[3], in emit_tex_tex_ms() 641 shader.emit_instruction(new AluInstr(op1_mov, temp2[k], in emit_tex_tex_ms() 727 ir = new AluInstr(tex->is_array && i == array_coord ? op1_rndne : op1_mov, in emit_tex_txd() 734 ir = new AluInstr(op1_mov, src_coord[3], src.comperator, AluInstr::last_write); in emit_tex_txd() 776 shader.emit_instruction(new AluInstr(op1_mov, des in emit_tex_txs() [all...] |
H A D | sfn_shader_cs.cpp | 94 emit_instruction(new AluInstr(op1_mov, zero, value_factory().inline_const(ALU_SRC_0, 0), in emit_load_num_workgroups() 116 emit_instruction(new AluInstr(op1_mov, dest, src[i], i == 2 ? AluInstr::last_write : AluInstr::write)); in emit_load_3vec()
|
H A D | sfn_shader_vs.cpp | 154 m_parent->emit_instruction(new AluInstr(op1_mov, primid[0], m_parent->primitive_id(), AluInstr::last_write)); in finalize() 217 m_parent->emit_instruction(new AluInstr(op1_mov, clamped, src, {alu_write, alu_dst_clamp, alu_last_instr})); in emit_varying_pos() 280 alu = new AluInstr(op1_mov, value[i], m_parent->value_factory().src(intr.src[0], swizzle[i]), in emit_varying_param() 356 alu = new AluInstr(op1_mov, tmp[i][j], (*so_gpr[i])[j + sc], {alu_write}); in emit_stream() 491 ir = new AluInstr(op1_mov, vf.dest(intr->dest, i, pin_none), src, {alu_write}); in load_input() 619 ir = new AluInstr(op1_mov, value[i], in do_store_output()
|
H A D | sfn_shader_gs.cpp | 177 emit_instruction(new AluInstr(op1_mov, m_export_base[i], zero, AluInstr::last_write)); in do_allocate_reserved_registers() 274 ir = new AluInstr(op1_mov, tmp[i + shift], out_value[i + shift], AluInstr::write); 276 ir = new AluInstr(op1_mov, tmp[i + shift], value[i], AluInstr::write); 302 ir = new AluInstr(op1_mov, tmp[i], out_value[i], AluInstr::write);
|
H A D | sfn_instr_alu.cpp | 346 if (m_opcode != op1_mov) in can_copy_propagate() 1281 case nir_op_b2b1: return emit_alu_op1(*alu, op1_mov, shader); in from_nir() 1282 case nir_op_b2b32: return emit_alu_op1(*alu, op1_mov, shader); in from_nir() 1307 case nir_op_fabs: return emit_alu_op1(*alu, op1_mov, shader, {1 << alu_src0_abs}); in from_nir() 1338 case nir_op_fneg: return emit_alu_op1(*alu, op1_mov, shader, {1 << alu_src0_neg}); in from_nir() 1343 case nir_op_fsat: return emit_alu_op1(*alu, op1_mov, shader, {1 << alu_dst_clamp}); in from_nir() 1396 case nir_op_mov: return emit_alu_op1(*alu, op1_mov, shader); in from_nir() 1464 ir = new AluInstr(op1_mov, in emit_alu_mov_64bit() 1488 ir = new AluInstr(op1_mov, in emit_alu_neg() 1508 shader.emit_instruction(new AluInstr(op1_mov, value_factor in emit_alu_abs64() [all...] |
H A D | sfn_instr_lds.cpp | 136 auto instr = new AluInstr(op1_mov, dest, in split() 286 auto read_instr = new AluInstr(op1_mov, m_dest, in split()
|
H A D | sfn_shader_fs.cpp | 88 ir = new AluInstr(op1_mov, in load_input() 325 emit_instruction(new AluInstr(op1_mov, m_helper_invocation, vf.literal(-1), AluInstr::last_write)); in emit_load_helper_invocation() 334 auto ir = new AluInstr(op1_mov, dst, m_helper_invocation, AluInstr::last_write); in emit_load_helper_invocation() 648 ir = new AluInstr(op1_mov, vf.dest(intr->dest, i, pin_none), in load_input_hw() 692 emit_instruction(new AluInstr(op1_mov, vf.dest(intr->dest, i, pin_chan), tmp, AluInstr::last_write)); in load_input_hw() 781 ir = new AluInstr(op1_mov, real_dst, dst[i + start_comp], AluInstr::write); in load_interpolated_input_hw()
|
H A D | sfn_peephole.cpp | 128 alu->set_op(op1_mov); in convert_to_mov()
|
H A D | sfn_alu_defines.h | 62 op1_mov = 25, enumerator
|
H A D | sfn_optimizer.cpp | 591 if (alu->opcode() != op1_mov) in visit()
|
H A D | sfn_alu_defines.cpp | 71 {op1_mov ,AluOp(1, 0, AluOp::a, AluOp::a, AluOp::a, "MOV")},
|
H A D | sfn_assembler.cpp | 1237 {op1_mov, ALU_OP1_MOV},
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/ |
H A D | sfn_shaderfromstring_test.cpp | 60 expect.push_back(new AluInstr(op1_mov, in TEST_F() 65 expect.push_back(new AluInstr(op1_mov, in TEST_F() 70 expect.push_back(new AluInstr(op1_mov, in TEST_F() 75 expect.push_back(new AluInstr(op1_mov, in TEST_F()
|
H A D | sfn_instr_test.cpp | 45 AluInstr alu(op1_mov, in TEST_F() 57 EXPECT_EQ(alu.opcode(), op1_mov); in TEST_F() 199 AluInstr alu1(op1_mov, r128z, r129x, {alu_write}); in TEST_F() 200 EXPECT_NE(alu1, AluInstr(op1_mov, r128y, r129x, {alu_write})); in TEST_F() 201 EXPECT_NE(alu1, AluInstr(op1_mov, r128z, r129xc, {alu_write})); in TEST_F() 202 EXPECT_NE(alu1, AluInstr(op1_mov, r128z, r129y, {alu_write})); in TEST_F() 203 EXPECT_NE(alu1, AluInstr(op1_mov, r128z, r130x, {alu_write})); in TEST_F() 204 EXPECT_NE(alu1, AluInstr(op1_mov, r128z, r129x, {alu_write, alu_last_instr})); in TEST_F() 206 EXPECT_NE(alu1, AluInstr(op1_mov, r128zc, r129x, {alu_write})); in TEST_F() 273 AluInstr alu(op1_mov, R130 in TEST_F() [all...] |
H A D | sfn_instrfromstring_test.cpp | 42 AluInstr expect(op1_mov, in TEST_F() 63 AluInstr expect(op1_mov, in TEST_F() 75 AluInstr expect(op1_mov, in TEST_F() 86 AluInstr expect(op1_mov, in TEST_F() 97 AluInstr expect(op1_mov, in TEST_F() 241 AluInstr expect(op1_mov, in TEST_F() 284 AluInstr expect(op1_mov, in TEST_F() 330 AluInstr expect(op1_mov, in TEST_F()
|