Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3.c510 instr_cat6ldgb_t *ldgb = ptr; in emit_cat6() local
515 ldgb->d = instr->cat6.d - 1; in emit_cat6()
516 ldgb->typed = instr->cat6.typed; in emit_cat6()
517 ldgb->type_size = instr->cat6.iim_val - 1; in emit_cat6()
519 ldgb->dst = reg(dst, info, instr->repeat, IR3_REG_R | IR3_REG_HALF); in emit_cat6()
521 if (ldgb->g) { in emit_cat6()
527 ldgb->src_ssbo = src1->uim_val; in emit_cat6()
529 ldgb->src1 = reg(src2, info, instr->repeat, IR3_REG_IMMED); in emit_cat6()
530 ldgb->src1_im = !!(src2->flags & IR3_REG_IMMED); in emit_cat6()
531 ldgb->src2 = reg(src3, info, instr->repeat, IR3_REG_IMMED); in emit_cat6()
[all …]
Ddisasm-a3xx.c525 printf(".%dd", cat6->ldgb.d + 1); in print_instr_cat6()
528 printf(".%s", cat6->ldgb.typed ? "typed" : "untyped"); in print_instr_cat6()
529 printf(".%dd", cat6->ldgb.d + 1); in print_instr_cat6()
531 printf(".%d", cat6->ldgb.type_size + 1); in print_instr_cat6()
552 printf(".%s", cat6->ldgb.typed ? "typed" : "untyped"); in print_instr_cat6()
553 printf(".%dd", cat6->ldgb.d + 1); in print_instr_cat6()
555 printf(".%d", cat6->ldgb.type_size + 1); in print_instr_cat6()
637 src1.reg = (reg_t)(cat6->ldgb.src1); in print_instr_cat6()
638 src1.im = cat6->ldgb.src1_im; in print_instr_cat6()
639 src2.reg = (reg_t)(cat6->ldgb.src2); in print_instr_cat6()
[all …]
Dir3_compiler_nir.c1239 struct ir3_instruction *ldgb, *src0, *src1, *offset; in emit_intrinsic_load_ssbo() local
1255 ldgb = ir3_LDGB(b, create_immed(b, const_offset->u32[0]), 0, in emit_intrinsic_load_ssbo()
1257 ldgb->regs[0]->wrmask = MASK(intr->num_components); in emit_intrinsic_load_ssbo()
1258 ldgb->cat6.iim_val = intr->num_components; in emit_intrinsic_load_ssbo()
1259 ldgb->cat6.d = 4; in emit_intrinsic_load_ssbo()
1260 ldgb->cat6.type = TYPE_U32; in emit_intrinsic_load_ssbo()
1261 ldgb->barrier_class = IR3_BARRIER_BUFFER_R; in emit_intrinsic_load_ssbo()
1262 ldgb->barrier_conflict = IR3_BARRIER_BUFFER_W; in emit_intrinsic_load_ssbo()
1264 split_dest(b, dst, ldgb, 0, intr->num_components); in emit_intrinsic_load_ssbo()
Dinstr-a3xx.h705 instr_cat6ldgb_t ldgb; member