Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/compiler/tests/
Dtest_assembler.cpp50 bld.sopp(aco_opcode::s_branch, Definition(PhysReg(0), s2), 1);
72 bld.sopp(aco_opcode::s_branch, Definition(PhysReg(0), s2), 2);
79 bld.sopp(aco_opcode::s_nop, -1, 0);
102 bld.sopp(aco_opcode::s_cbranch_scc0, Definition(PhysReg(0), s2), 2);
110 bld.sopp(aco_opcode::s_nop, -1, 0);
131 bld.sopp(aco_opcode::s_nop, -1, 0);
138 bld.sopp(aco_opcode::s_branch, Definition(PhysReg(0), s2), 0);
158 bld.sopp(aco_opcode::s_nop, -1, 0);
166 bld.sopp(aco_opcode::s_cbranch_execnz, Definition(PhysReg(0), s2), 0);
185 bld.sopp(aco_opcode::s_branch, Definition(PhysReg(0), s2), 1);
[all …]
Dhelpers.cpp147 Builder(prog, &block).sopp(aco_opcode::s_endpgm); in finish_program()
/third_party/mesa3d/src/amd/compiler/
Daco_insert_NOPs.cpp199 return instr->sopp().imm + 1; in get_wait_states()
670 wait_imm imm(state.program->gfx_level, instr->sopp().imm); in handle_instruction_gfx10()
673 } else if (instr->opcode == aco_opcode::s_waitcnt_depctr && instr->sopp().imm == 0xffe3) { in handle_instruction_gfx10()
742 if ((instr->sopp().imm & 0xfffe) == 0xfffe) in handle_instruction_gfx10()
770 const SOPP_instruction& sopp = instr->sopp(); in handle_instruction_gfx10() local
771 if (sopp.opcode == aco_opcode::s_waitcnt_lgkmcnt) { in handle_instruction_gfx10()
772 if (sopp.imm == 0 && sopp.definitions[0].physReg() == sgpr_null) in handle_instruction_gfx10()
774 } else if (sopp.opcode == aco_opcode::s_waitcnt) { in handle_instruction_gfx10()
775 unsigned lgkm = (sopp.imm >> 8) & 0x3f; in handle_instruction_gfx10()
830 Builder(state.program, &new_instructions).sopp(aco_opcode::s_nop, -1, 0); in handle_instruction_gfx10()
[all …]
Daco_assembler.cpp167 SOPP_instruction& sopp = instr->sopp(); in emit_instruction() local
170 encoding |= (uint16_t)sopp.imm; in emit_instruction()
171 if (sopp.block != -1) { in emit_instruction()
172 sopp.pass_flags = 0; in emit_instruction()
173 ctx.branches.emplace_back(out.size(), &sopp); in emit_instruction()
918 instr.reset(bld.sopp(inv, -1, 6)); in emit_long_jump()
Daco_form_hard_clauses.cpp56 bld.sopp(aco_opcode::s_clause, -1, clause_size - 1); in emit_clause()
Daco_lower_to_hw_instr.cpp1972 bld.sopp(aco_opcode::s_round_mode, -1, new_mode.round); in emit_set_mode()
1974 bld.sopp(aco_opcode::s_denorm_mode, -1, new_mode.denorm); in emit_set_mode()
2131 bld.sopp(aco_opcode::s_endpgm); in lower_to_hw_instr()
2137 bld.sopp(aco_opcode::s_cbranch_scc0, Definition(exec, s2), instr->operands[0], in lower_to_hw_instr()
2410 discard_block && (unsigned)inst->sopp().block == discard_block->index; in lower_to_hw_instr()
2462 bld.sopp(aco_opcode::s_branch, branch->definitions[0], target); in lower_to_hw_instr()
2467 bld.sopp(aco_opcode::s_cbranch_execnz, branch->definitions[0], target); in lower_to_hw_instr()
2469 bld.sopp(aco_opcode::s_cbranch_vccnz, branch->definitions[0], target); in lower_to_hw_instr()
2472 bld.sopp(aco_opcode::s_cbranch_scc1, branch->definitions[0], target); in lower_to_hw_instr()
2478 bld.sopp(aco_opcode::s_cbranch_execz, branch->definitions[0], target); in lower_to_hw_instr()
[all …]
Daco_print_ir.cpp284 uint16_t imm = instr->sopp().imm; in print_instr_format_specific()
335 if (instr->sopp().block != -1) in print_instr_format_specific()
336 fprintf(output, " block:BB%d", instr->sopp().block); in print_instr_format_specific()
Daco_statistics.cpp264 return wait_imm(GFX10_3, instr->sopp().imm); in get_wait_imm()
444 if (instr->isSOPP() && instr->sopp().block != -1) in collect_preasm_stats()
Daco_scheduler.cpp426 uint16_t imm = instr->sopp().imm; in is_gs_or_done_sendmsg()
436 return (instr->sopp().imm & sendmsg_id_mask) == _sendmsg_gs_done; in is_done_sendmsg()
Daco_ir.h1083 SOPP_instruction& sopp() noexcept in sopp() function
1088 const SOPP_instruction& sopp() const noexcept in sopp() function
Daco_insert_waitcnt.cpp309 imm.combine(wait_imm(ctx.gfx_level, instr->sopp().imm)); in parse_wait_instr()
Daco_instruction_selection.cpp7787 bld.sopp(aco_opcode::s_sendmsg, bld.m0(ctx->gs_wave_id), -1, sendmsg_gs(false, true, stream)); in visit_emit_vertex_with_counter()
9191 bld.sopp(aco_opcode::s_sendmsg, bld.m0(ctx->gs_wave_id), -1, in visit_intrinsic()
11871 bld.sopp(aco_opcode::s_sendmsg, bld.m0(tmp), -1, sendmsg_gs_alloc_req); in ngg_emit_sendmsg_gs_alloc_req()
11937 Builder(ctx.program, ctx.block).sopp(aco_opcode::s_setprio, -1u, 0x3u); in select_program()
11958 Builder(ctx.program, ctx.block).sopp(aco_opcode::s_barrier, -1u, 0u); in select_program()
12006 bld.sopp(aco_opcode::s_sendmsg, bld.m0(ctx.gs_wave_id), -1, in select_program()
12033 bld.sopp(aco_opcode::s_endpgm); in select_program()
12132 bld.sopp(aco_opcode::s_endpgm); in select_gs_copy_shader()
12193 bld.sopp(aco_opcode::s_endpgm); in select_trap_handler_shader()
12218 bld.sopp(aco_opcode::s_clause, -1, num_loads - 1); in load_vb_descs()
[all …]