Lines Matching refs:op_index

56   const struct spu_opcode *op_index;  in get_index_for_opcode()  local
64 if ((op_index = spu_disassemble_table[opcode & 0x780]) != 0 in get_index_for_opcode()
65 && op_index->insn_type == RRR) in get_index_for_opcode()
66 return op_index; in get_index_for_opcode()
68 if ((op_index = spu_disassemble_table[opcode & 0x7f0]) != 0 in get_index_for_opcode()
69 && (op_index->insn_type == RI18 || op_index->insn_type == LBT)) in get_index_for_opcode()
70 return op_index; in get_index_for_opcode()
72 if ((op_index = spu_disassemble_table[opcode & 0x7f8]) != 0 in get_index_for_opcode()
73 && op_index->insn_type == RI10) in get_index_for_opcode()
74 return op_index; in get_index_for_opcode()
76 if ((op_index = spu_disassemble_table[opcode & 0x7fc]) != 0 in get_index_for_opcode()
77 && (op_index->insn_type == RI16)) in get_index_for_opcode()
78 return op_index; in get_index_for_opcode()
80 if ((op_index = spu_disassemble_table[opcode & 0x7fe]) != 0 in get_index_for_opcode()
81 && (op_index->insn_type == RI8)) in get_index_for_opcode()
82 return op_index; in get_index_for_opcode()
84 if ((op_index = spu_disassemble_table[opcode & 0x7ff]) != 0) in get_index_for_opcode()
85 return op_index; in get_index_for_opcode()
100 const struct spu_opcode *op_index; in print_insn_spu() local
112 op_index = get_index_for_opcode (insn); in print_insn_spu()
114 if (op_index == 0) in print_insn_spu()
122 tag = (enum spu_insns)(op_index - spu_opcodes); in print_insn_spu()
123 (*info->fprintf_func) (info->stream, "%s", op_index->mnemonic); in print_insn_spu()
136 if (op_index->arg[0] != 0) in print_insn_spu()
139 for (i = 1; i <= op_index->arg[0]; i++) in print_insn_spu()
141 int arg = op_index->arg[i]; in print_insn_spu()