Searched refs:opc_cat (Results 1 – 9 of 9) sorted by relevance
/external/mesa3d/src/freedreno/ir3/ |
D | instr-a3xx.h | 265 #define opc_cat(opc) ((int)((opc) >> NOPC_BITS)) macro 402 uint32_t opc_cat : 3; member 445 uint32_t opc_cat : 3; member 509 uint32_t opc_cat : 3; member 570 uint32_t opc_cat : 3; member 628 uint32_t opc_cat : 3; member 730 uint32_t opc_cat : 3; member 858 uint32_t opc_cat : 3; member 932 uint32_t opc_cat : 3; member 950 uint32_t opc_cat : 3; member [all …]
|
D | disasm-a3xx.c | 1486 #define GETINFO(instr) (&(opcs[((instr)->opc_cat << NOPC_BITS) | instr_opc(instr, ctx->gpu_id)])) 1490 if (opc_cat(opc) == -1) return "??meta??"; in disasm_a3xx_instr_name() 1503 fprintf(ctx->out, "unknown(%d,%d)", instr->opc_cat, opc); in print_single_instr() 1505 switch (instr->opc_cat) { in print_single_instr() 1521 opc_t opc = _OPC(instr->opc_cat, instr_opc(instr, ctx->gpu_id)); in print_instr() 1527 instr->opc_cat, n, cycles++, dwords[1], dwords[0]); in print_instr() 1546 if (instr->ss && ((instr->opc_cat <= 4) || (instr->opc_cat == 7))) { in print_instr() 1552 if ((instr->opc_cat == 0) && instr->cat0.eq) in print_instr() 1558 else if ((instr->opc_cat == 2) && (instr->cat2.src1_r || instr->cat2.src2_r)) in print_instr() 1560 else if ((instr->opc_cat == 3) && (instr->cat3.src1_r || instr->cat3.src2_r)) in print_instr() [all …]
|
D | ir3.c | 153 cat0->opc_cat = 0; in emit_cat0() 198 cat1->opc_cat = 1; in emit_cat1() 291 cat2->opc_cat = 2; in emit_cat2() 393 cat3->opc_cat = 3; in emit_cat3() 442 cat4->opc_cat = 4; in emit_cat4() 532 cat5->opc_cat = 5; in emit_cat5() 552 cat6->opc_cat = 6; in emit_cat6_a6xx() 674 cat6->opc_cat = 6; in emit_cat6() 908 cat7->opc_cat = 7; in emit_cat7() 950 int ret = emit[opc_cat(instr->opc)](instr, dwords, info); in ir3_assemble() [all …]
|
D | ir3.h | 649 return (opc_cat(instr->opc) == 0); in is_flow() 741 return (1 <= opc_cat(instr->opc)) && (opc_cat(instr->opc) <= 3); in is_alu() 746 return (opc_cat(instr->opc) == 4); in is_sfu() 751 return (opc_cat(instr->opc) == 5); in is_tex() 761 return (opc_cat(instr->opc) == 6); in is_mem() 766 return (opc_cat(instr->opc) == 7); in is_barrier() 898 return (opc_cat(instr->opc) == -1); in is_meta()
|
D | ir3_legalize.c | 209 if ((n->flags & IR3_INSTR_SS) && (opc_cat(n->opc) >= 5)) { in legalize_block() 217 if (list_is_empty(&block->instr_list) && (opc_cat(n->opc) >= 5)) in legalize_block() 719 ((opc_cat(last->opc) == 2) || (opc_cat(last->opc) == 3)) && in nop_sched()
|
D | ir3_cp.c | 382 if ((opc_cat(instr->opc) == 3) && (n == 2) && in reg_cp() 429 debug_assert((opc_cat(instr->opc) == 1) || in reg_cp() 430 (opc_cat(instr->opc) == 6) || in reg_cp()
|
D | ir3_validate.c | 119 switch (opc_cat(instr->opc)) { in validate_instr()
|
D | ir3_compiler_nir.c | 433 ((opc_cat(src[0]->opc) == 2) || (opc_cat(src[0]->opc) == 3))) { in emit_alu()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_clear_blit.c | 308 #define MOV(args...) { .cat1 = { .opc_cat = 1, .src_type = TYPE_S32, .dst_type = TYPE_S32, args } } in tu_init_clear_blit_shaders() 309 #define CAT2(op, args...) { .cat2 = { .opc_cat = 2, .opc = (op) & 63, .full = 1, args } } in tu_init_clear_blit_shaders() 310 #define CAT3(op, args...) { .cat3 = { .opc_cat = 3, .opc = (op) & 63, args } } in tu_init_clear_blit_shaders()
|