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);
73 bld.sopp(aco_opcode::s_branch, Definition(PhysReg(0), s2), 2);
80 bld.sopp(aco_opcode::s_nop, -1, 0);
104 bld.sopp(aco_opcode::s_cbranch_scc0, Definition(PhysReg(0), s2), 2);
112 bld.sopp(aco_opcode::s_nop, -1, 0);
133 bld.sopp(aco_opcode::s_nop, -1, 0);
141 bld.sopp(aco_opcode::s_branch, Definition(PhysReg(0), s2), 0);
161 bld.sopp(aco_opcode::s_nop, -1, 0);
170 bld.sopp(aco_opcode::s_cbranch_execnz, Definition(PhysReg(0), s2), 0);
189 bld.sopp(aco_opcode::s_branch, Definition(PhysReg(0), s2), 1);
[all …]
Dhelpers.cpp141 Builder(prog, &block).sopp(aco_opcode::s_endpgm); in finish_program()
/third_party/mesa3d/src/amd/compiler/
Daco_insert_NOPs.cpp193 return instr->sopp().imm + 1; in get_wait_states()
653 uint16_t imm = instr->sopp().imm; in handle_instruction_gfx10()
659 if (instr->sopp().imm == 0xffe3) in handle_instruction_gfx10()
719 if ((instr->sopp().imm & 0xfffe) == 0xfffe) in handle_instruction_gfx10()
747 const SOPP_instruction& sopp = instr->sopp(); in handle_instruction_gfx10() local
748 if (sopp.opcode == aco_opcode::s_waitcnt_lgkmcnt) { in handle_instruction_gfx10()
749 if (sopp.imm == 0 && sopp.definitions[0].physReg() == sgpr_null) in handle_instruction_gfx10()
751 } else if (sopp.opcode == aco_opcode::s_waitcnt) { in handle_instruction_gfx10()
752 unsigned lgkm = (sopp.imm >> 8) & 0x3f; in handle_instruction_gfx10()
804 Builder(state.program, &new_instructions).sopp(aco_opcode::s_nop, -1, 0); in handle_instruction_gfx10()
[all …]
Daco_assembler.cpp169 SOPP_instruction& sopp = instr->sopp(); in emit_instruction() local
172 encoding |= (uint16_t)sopp.imm; in emit_instruction()
173 if (sopp.block != -1) { in emit_instruction()
174 sopp.pass_flags = 0; in emit_instruction()
175 ctx.branches.emplace_back(out.size(), &sopp); in emit_instruction()
886 instr.reset(bld.sopp(inv, -1, 7)); 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.cpp1873 bld.sopp(aco_opcode::s_round_mode, -1, new_mode.round); in emit_set_mode()
1875 bld.sopp(aco_opcode::s_denorm_mode, -1, new_mode.denorm); in emit_set_mode()
2034 bld.sopp(aco_opcode::s_endpgm); in lower_to_hw_instr()
2042 bld.sopp(aco_opcode::s_cbranch_scc0, Definition(exec, s2), instr->operands[0], in lower_to_hw_instr()
2243 bld.sopp(aco_opcode::s_branch, branch->definitions[0], target); in lower_to_hw_instr()
2248 bld.sopp(aco_opcode::s_cbranch_execnz, branch->definitions[0], target); in lower_to_hw_instr()
2250 bld.sopp(aco_opcode::s_cbranch_vccnz, branch->definitions[0], target); in lower_to_hw_instr()
2253 bld.sopp(aco_opcode::s_cbranch_scc1, branch->definitions[0], target); in lower_to_hw_instr()
2259 bld.sopp(aco_opcode::s_cbranch_execz, branch->definitions[0], target); in lower_to_hw_instr()
2261 bld.sopp(aco_opcode::s_cbranch_vccz, branch->definitions[0], target); in lower_to_hw_instr()
[all …]
Daco_print_ir.cpp282 uint16_t imm = instr->sopp().imm; in print_instr_format_specific()
333 if (instr->sopp().block != -1) in print_instr_format_specific()
334 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.h1065 SOPP_instruction& sopp() noexcept in sopp() function
1070 const SOPP_instruction& sopp() const noexcept in sopp() function
Daco_insert_waitcnt.cpp298 imm.combine(wait_imm(ctx.chip_class, instr->sopp().imm)); in parse_wait_instr()
Daco_instruction_selection.cpp7462 bld.sopp(aco_opcode::s_sendmsg, bld.m0(ctx->gs_wave_id), -1, sendmsg_gs(false, true, stream)); in visit_emit_vertex_with_counter()
8813 bld.sopp(aco_opcode::s_sendmsg, bld.m0(ctx->gs_wave_id), -1, in visit_intrinsic()
11513 bld.sopp(aco_opcode::s_sendmsg, bld.m0(tmp), -1, sendmsg_gs_alloc_req); in ngg_emit_sendmsg_gs_alloc_req()
11577 Builder(ctx.program, ctx.block).sopp(aco_opcode::s_setprio, -1u, 0x3u); in select_program()
11598 Builder(ctx.program, ctx.block).sopp(aco_opcode::s_barrier, -1u, 0u); in select_program()
11638 bld.sopp(aco_opcode::s_sendmsg, bld.m0(ctx.gs_wave_id), -1, in select_program()
11665 bld.sopp(aco_opcode::s_endpgm); in select_program()
11762 bld.sopp(aco_opcode::s_endpgm); in select_gs_copy_shader()
11821 bld.sopp(aco_opcode::s_endpgm); in select_trap_handler_shader()
11846 bld.sopp(aco_opcode::s_clause, -1, num_loads - 1); in load_vb_descs()
[all …]