/third_party/mesa3d/src/amd/compiler/tests/ |
D | test_assembler.cpp | 50 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 …]
|
D | helpers.cpp | 147 Builder(prog, &block).sopp(aco_opcode::s_endpgm); in finish_program()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_insert_NOPs.cpp | 199 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 …]
|
D | aco_assembler.cpp | 167 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()
|
D | aco_form_hard_clauses.cpp | 56 bld.sopp(aco_opcode::s_clause, -1, clause_size - 1); in emit_clause()
|
D | aco_lower_to_hw_instr.cpp | 1972 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 …]
|
D | aco_print_ir.cpp | 284 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()
|
D | aco_statistics.cpp | 264 return wait_imm(GFX10_3, instr->sopp().imm); in get_wait_imm() 444 if (instr->isSOPP() && instr->sopp().block != -1) in collect_preasm_stats()
|
D | aco_scheduler.cpp | 426 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()
|
D | aco_ir.h | 1083 SOPP_instruction& sopp() noexcept in sopp() function 1088 const SOPP_instruction& sopp() const noexcept in sopp() function
|
D | aco_insert_waitcnt.cpp | 309 imm.combine(wait_imm(ctx.gfx_level, instr->sopp().imm)); in parse_wait_instr()
|
D | aco_instruction_selection.cpp | 7787 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 …]
|