• Home
  • Raw
  • Download

Lines Matching refs:bundle

422 mir_can_run_ooo(midgard_block *block, midgard_bundle *bundle,  in mir_can_run_ooo()  argument
426 if (bundle >= (midgard_bundle *) ((char *) block->bundles.data + block->bundles.size)) in mir_can_run_ooo()
430 if (!IS_ALU(bundle->tag) && bundle->tag != TAG_LOAD_STORE_4) in mir_can_run_ooo()
435 for (unsigned i = 0; i < bundle->instruction_count; ++i) { in mir_can_run_ooo()
436 midgard_instruction *ins = bundle->instructions[i]; in mir_can_run_ooo()
449 mir_pack_tex_ooo(midgard_block *block, midgard_bundle *bundle, midgard_instruction *ins) in mir_pack_tex_ooo() argument
454 if (!mir_can_run_ooo(block, bundle + count + 1, ins->dest)) in mir_pack_tex_ooo()
727 midgard_bundle *bundle, in emit_branch() argument
744 is_tilebuf_wait ? bundle->tag : in emit_branch()
836 midgard_bundle *bundle, in emit_alu_bundle() argument
841 util_dynarray_append(emission, uint32_t, bundle->control | lookahead); in emit_alu_bundle()
844 for (unsigned i = 0; i < bundle->instruction_count; ++i) { in emit_alu_bundle()
845 midgard_instruction *ins = bundle->instructions[i]; in emit_alu_bundle()
873 for (unsigned i = 0; i < bundle->instruction_count; ++i) { in emit_alu_bundle()
874 midgard_instruction *ins = bundle->instructions[i]; in emit_alu_bundle()
882 emit_branch(ins, ctx, block, bundle, emission); in emit_alu_bundle()
897 if (bundle->padding) { in emit_alu_bundle()
898 memset(util_dynarray_grow_bytes(emission, bundle->padding, 1), in emit_alu_bundle()
899 0, bundle->padding); in emit_alu_bundle()
904 if (bundle->has_embedded_constants) in emit_alu_bundle()
905 util_dynarray_append(emission, midgard_constants, bundle->constants); in emit_alu_bundle()
950 midgard_bundle *bundle, in emit_binary_bundle() argument
956 switch (bundle->tag) { in emit_binary_bundle()
965 emit_alu_bundle(ctx, block, bundle, emission, lookahead); in emit_binary_bundle()
975 for (unsigned i = 0; i < bundle->instruction_count; ++i) { in emit_binary_bundle()
976 midgard_instruction *ins = bundle->instructions[i]; in emit_binary_bundle()
990 load_store_from_instr(bundle->instructions[0]); in emit_binary_bundle()
993 if (bundle->instruction_count == 2) { in emit_binary_bundle()
995 load_store_from_instr(bundle->instructions[1]); in emit_binary_bundle()
1000 .type = bundle->tag, in emit_binary_bundle()
1018 midgard_instruction *ins = bundle->instructions[0]; in emit_binary_bundle()
1020 ins->texture.type = bundle->tag; in emit_binary_bundle()
1040 mir_pack_tex_ooo(block, bundle, ins); in emit_binary_bundle()