Home
last modified time | relevance | path

Searched refs:stgb (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/freedreno/ir3/
Dir3_a4xx.c74 struct ir3_instruction *stgb, *src0, *src1, *src2, *byte_offset, *offset; in emit_intrinsic_store_ssbo() local
95 stgb = ir3_STGB(b, ssbo, 0, src0, 0, src1, 0, src2, 0); in emit_intrinsic_store_ssbo()
96 stgb->cat6.iim_val = ncomp; in emit_intrinsic_store_ssbo()
97 stgb->cat6.d = 4; in emit_intrinsic_store_ssbo()
98 stgb->cat6.type = TYPE_U32; in emit_intrinsic_store_ssbo()
99 stgb->barrier_class = IR3_BARRIER_BUFFER_W; in emit_intrinsic_store_ssbo()
100 stgb->barrier_conflict = IR3_BARRIER_BUFFER_R | IR3_BARRIER_BUFFER_W; in emit_intrinsic_store_ssbo()
102 array_insert(b, b->keeps, stgb); in emit_intrinsic_store_ssbo()
Dir3.c808 instr_cat6stgb_t *stgb = ptr; in emit_cat6() local
812 stgb->pad3 = 0x2; in emit_cat6()
814 stgb->d = instr->cat6.d - 1; in emit_cat6()
815 stgb->typed = instr->cat6.typed; in emit_cat6()
816 stgb->type_size = instr->cat6.iim_val - 1; in emit_cat6()
820 stgb->dst_ssbo = dst->uim_val; in emit_cat6()
823 stgb->src1 = reg(src1, info, instr->repeat, 0); in emit_cat6()
824 stgb->src2 = reg(src2, info, instr->repeat, IR3_REG_IMMED); in emit_cat6()
825 stgb->src2_im = !!(src2->flags & IR3_REG_IMMED); in emit_cat6()
826 stgb->src3 = reg(src3, info, instr->repeat, IR3_REG_IMMED); in emit_cat6()
[all …]
Ddisasm-a3xx.c910 fprintf(ctx->out, ".%s", cat6->stgb.typed ? "typed" : "untyped"); in print_instr_cat6_a3xx()
911 fprintf(ctx->out, ".%dd", cat6->stgb.d + 1); in print_instr_cat6_a3xx()
913 fprintf(ctx->out, ".%d", cat6->stgb.type_size + 1); in print_instr_cat6_a3xx()
986 src1.reg = (reg_t)(cat6->stgb.src1); in print_instr_cat6_a3xx()
987 src2.reg = (reg_t)(cat6->stgb.src2); in print_instr_cat6_a3xx()
988 src2.im = cat6->stgb.src2_im; in print_instr_cat6_a3xx()
989 src3.reg = (reg_t)(cat6->stgb.src3); in print_instr_cat6_a3xx()
990 src3.im = cat6->stgb.src3_im; in print_instr_cat6_a3xx()
993 fprintf(ctx->out, "g[%u], ", cat6->stgb.dst_ssbo); in print_instr_cat6_a3xx()
1001 fprintf(ctx->out, " (pad0=%x, pad3=%x)", cat6->stgb.pad0, cat6->stgb.pad3); in print_instr_cat6_a3xx()
[all …]
Dinstr-a3xx.h842 instr_cat6stgb_t stgb; member