Searched refs:opc_cat (Results 1 - 18 of 18) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
H A Dinstr-a3xx.h217 #define opc_cat(opc) ((int)((opc) >> NOPC_BITS)) macro
320 uint32_t opc_cat : 3; member in struct:PACKED
363 uint32_t opc_cat : 3; member in struct:PACKED
427 uint32_t opc_cat : 3; member in struct:PACKED
488 uint32_t opc_cat : 3; member in struct:PACKED
546 uint32_t opc_cat : 3; member in struct:PACKED
595 uint32_t opc_cat : 3; member in struct:PACKED
679 uint32_t pad4 : 10; // opc/jmp_tgt/sync/opc_cat
701 uint32_t pad4 : 10; // opc/jmp_tgt/sync/opc_cat
726 uint32_t opc_cat member in struct:PACKED::PACKED
769 uint32_t opc_cat : 3; member in struct:PACKED
787 uint32_t opc_cat : 3; member in struct:PACKED
811 uint32_t opc_cat : 3; member in struct:PACKED::PACKED
[all...]
H A Dir3_legalize.c185 if ((n->flags & IR3_INSTR_SS) && (opc_cat(n->opc) >= 5)) {
193 if (list_empty(&block->instr_list) && (opc_cat(n->opc) >= 5))
210 ((opc_cat(last->opc) == 2) || (opc_cat(last->opc) == 3))) {
H A Dir3.h599 return (opc_cat(instr->opc) == 0);
650 return (1 <= opc_cat(instr->opc)) && (opc_cat(instr->opc) <= 3);
655 return (opc_cat(instr->opc) == 4);
660 return (opc_cat(instr->opc) == 5);
665 return (opc_cat(instr->opc) == 6);
670 return (opc_cat(instr->opc) == 7);
746 return (opc_cat(instr->opc) == -1);
H A Dir3_cp.c94 (opc_cat(instr->opc) > 1) &&
116 switch (opc_cat(instr->opc)) {
448 if ((opc_cat(instr->opc) == 3) && (n == 2) &&
484 debug_assert((opc_cat(instr->opc) == 1) ||
485 (opc_cat(instr->opc) == 6) ||
H A Ddisasm-a3xx.c1030 #define GETINFO(instr) (&(opcs[((instr)->opc_cat << NOPC_BITS) | instr_opc(instr, ctx->gpu_id)]))
1036 if (opc_cat(instr->opc) == -1) return "??meta??";
1058 if (instr->ss && ((instr->opc_cat <= 4) || (instr->opc_cat == 7)))
1066 } else if ((instr->opc_cat == 2) && (instr->cat2.src1_r || instr->cat2.src2_r)) {
1069 } else if ((instr->opc_cat == 3) && (instr->cat3.src1_r || instr->cat3.src2_r)) {
1073 if (instr->ul && ((2 <= instr->opc_cat) && (instr->opc_cat <= 4)))
1082 fprintf(ctx->out, "unknown(%d,%d)", instr->opc_cat, opc);
1087 return (instr->opc_cat
[all...]
H A Dir3.c155 cat0->opc_cat = 0;
200 cat1->opc_cat = 1;
291 cat2->opc_cat = 2;
393 cat3->opc_cat = 3;
442 cat4->opc_cat = 4;
516 cat5->opc_cat = 5;
549 cat6->opc_cat = 6;
639 cat6->opc_cat = 6;
849 cat7->opc_cat = 7;
893 int ret = emit[opc_cat(inst
[all...]
H A Dir3_ra.c974 switch (opc_cat(instr->opc)) {
H A Dir3_compiler_nir.c426 * TODO probably opc_cat==4 is ok too
430 ((opc_cat(src[0]->opc) == 2) || (opc_cat(src[0]->opc) == 3))) {
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Ddisasm-a3xx.c75 int cur_opc_cat; /* current opc_cat */
361 (&(opcs[((instr)->opc_cat << NOPC_BITS) | instr_opc(instr, ctx->gpu_id)]))
366 if (opc_cat(opc) == -1)
483 unsigned opc_cat = val >> 61; local in function:disasm_instr_cb
493 ctx->stats->instrs_per_cat[opc_cat]++;
501 if (opc_cat == 1) {
516 ctx->cur_opc_cat = opc_cat;
520 opc_cat, n, ctx->extra_cycles + n, dwords[1], dwords[0]);
H A Dir3_cp.c363 opc_cat(instr->opc) != 0) {
415 if ((opc_cat(instr->opc) == 3) && (n == 2) &&
457 debug_assert((opc_cat(instr->opc) == 1) ||
458 (opc_cat(instr->opc) == 2) ||
459 (opc_cat(instr->opc) == 6) ||
463 if ((opc_cat(instr->opc) == 2) &&
H A Dir3_validate.c194 } else if (opc_cat(instr->opc) == 1 || opc_cat(instr->opc) == 6) {
196 } else if (opc_cat(instr->opc) == 0) {
222 switch (opc_cat(instr->opc)) {
H A Dinstr-a3xx.h348 #define opc_cat(opc) ((int)((opc) >> NOPC_BITS)) macro
521 if (opc_cat(opc) != 2 && opc_cat(opc) != 3)
H A Dir3_legalize.c226 if ((n->flags & IR3_INSTR_SS) && (opc_cat(n->opc) >= 5)) {
234 if (list_is_empty(&block->instr_list) && (opc_cat(n->opc) >= 5))
815 ((opc_cat(last->opc) == 2) || (opc_cat(last->opc) == 3)) &&
H A Dir3.c286 info->instrs_per_cat[opc_cat(instr->opc)] += 1 + instr->repeat;
432 if (1 <= opc_cat(opc))
680 switch (opc_cat(instr->opc)) {
712 switch (opc_cat(instr->opc)) {
791 if ((flags & IR3_REG_SHARED) && opc_cat(instr->opc) > 3)
836 switch (opc_cat(instr->opc)) {
H A Dir3.h763 return (opc_cat(instr->opc) == 0);
866 return (1 <= opc_cat(instr->opc)) && (opc_cat(instr->opc) <= 3);
872 return (opc_cat(instr->opc) == 4);
878 return (opc_cat(instr->opc) == 5);
890 return (opc_cat(instr->opc) == 6);
896 return (opc_cat(instr->opc) == 7);
1054 return (opc_cat(instr->opc) == -1);
H A Dir3_print.c129 } else if (opc_cat(instr->opc) == 1) {
H A Dir3_parser.y187 assert(opc_cat(instr->opc) == 5);
244 if (opc_cat(instr->opc) == 0 && instr->cat0.target_label) {
/xsrc/external/mit/MesaLib/dist/src/freedreno/isa/
H A Dencode.c255 assert(opc_cat(s->instr->opc) == 2);

Completed in 26 milliseconds