Lines Matching defs:instr
39 struct instr {
529 struct instr *instr = (struct instr *)dwords;
530 const unsigned opc = instr->opc | (instr->opcode_bit6 << 6);
541 .use = instr->dst_use,
542 .amode = instr->dst_amode,
543 .reg = instr->dst_reg,
544 .write_mask = instr->dst_comps
548 .id = instr->tex_id,
549 .amode = instr->tex_amode,
550 .swiz = instr->tex_swiz,
554 .use = instr->src0_use,
555 .neg = instr->src0_neg,
556 .abs = instr->src0_abs,
557 .rgroup = instr->src0_rgroup,
558 .reg = instr->src0_reg,
559 .swiz = instr->src0_swiz,
560 .amode = instr->src0_amode,
564 .use = instr->src1_use,
565 .neg = instr->src1_neg,
566 .abs = instr->src1_abs,
567 .rgroup = instr->src1_rgroup,
568 .reg = instr->src1_reg,
569 .swiz = instr->src1_swiz,
570 .amode = instr->src1_amode,
574 .use = instr->src2_use,
575 .neg = instr->src2_neg,
576 .abs = instr->src2_abs,
577 .rgroup = instr->src2_rgroup,
578 .reg = instr->src2_reg,
579 .swiz = instr->src2_swiz,
580 .amode = instr->src2_amode,
583 int imm = (instr->dword3 & VIV_ISA_WORD_3_SRC2_IMM__MASK)
595 uint8_t type = instr->type_bit01 | (instr->type_bit2 << 2);
599 if (instr->sat)
601 print_condition(instr->cond);
603 if (instr->sel_0)
605 if (instr->sel_1)
607 if (instr->dst_full)
611 printf("unknown (%d)", instr->opc);