Lines Matching refs:opc
102 print_alu_name(afuc_opc opc, uint32_t instr)
104 if (opc == OPC_ADD) {
106 } else if (opc == OPC_ADDHI) {
108 } else if (opc == OPC_SUB) {
110 } else if (opc == OPC_SUBHI) {
112 } else if (opc == OPC_AND) {
114 } else if (opc == OPC_OR) {
116 } else if (opc == OPC_XOR) {
118 } else if (opc == OPC_NOT) {
120 } else if (opc == OPC_SHL) {
122 } else if (opc == OPC_USHR) {
124 } else if (opc == OPC_ISHR) {
126 } else if (opc == OPC_ROT) {
128 } else if (opc == OPC_MUL8) {
130 } else if (opc == OPC_MIN) {
132 } else if (opc == OPC_MAX) {
134 } else if (opc == OPC_CMP) {
136 } else if (opc == OPC_MSB) {
140 printf(" ; alu%02x ", opc);
294 afuc_opc opc;
297 afuc_get_opc(instr, &opc, &rep);
336 switch (opc) {
371 if (opc == OPC_NOT)
377 print_alu_name(opc, instrs[pc]);
420 unsigned opc, p;
422 opc = instr->movi.uimm & 0x7f;
423 p = pm4_odd_parity_bit(opc);
432 const char *name = getpm4(opc);
437 printlbl("UNKN%u", opc);
548 switch (opc) {
569 switch (opc) {
616 if (instr->br.src || (opc != OPC_BRNEB)) {
619 if (opc == OPC_BRNEI) {
622 } else if (opc == OPC_BREQI) {
625 } else if (opc == OPC_BRNEB) {
627 } else if (opc == OPC_BREQB) {
701 printf(" ; op%02x ", opc);
726 afuc_opc opc;
734 afuc_get_opc(instr, &opc, &rep);
736 switch (opc) {