• Home
  • Raw
  • Download

Lines Matching refs:index

57   const struct spu_opcode *index;  in get_index_for_opcode()  local
65 if ((index = spu_disassemble_table[opcode & 0x780]) != 0 in get_index_for_opcode()
66 && index->insn_type == RRR) in get_index_for_opcode()
67 return index; in get_index_for_opcode()
69 if ((index = spu_disassemble_table[opcode & 0x7f0]) != 0 in get_index_for_opcode()
70 && (index->insn_type == RI18 || index->insn_type == LBT)) in get_index_for_opcode()
71 return index; in get_index_for_opcode()
73 if ((index = spu_disassemble_table[opcode & 0x7f8]) != 0 in get_index_for_opcode()
74 && index->insn_type == RI10) in get_index_for_opcode()
75 return index; in get_index_for_opcode()
77 if ((index = spu_disassemble_table[opcode & 0x7fc]) != 0 in get_index_for_opcode()
78 && (index->insn_type == RI16)) in get_index_for_opcode()
79 return index; in get_index_for_opcode()
81 if ((index = spu_disassemble_table[opcode & 0x7fe]) != 0 in get_index_for_opcode()
82 && (index->insn_type == RI8)) in get_index_for_opcode()
83 return index; in get_index_for_opcode()
85 if ((index = spu_disassemble_table[opcode & 0x7ff]) != 0) in get_index_for_opcode()
86 return index; in get_index_for_opcode()
98 const struct spu_opcode *index; in print_insn_spu() local
101 index = get_index_for_opcode (insn); in print_insn_spu()
103 if (index == 0) in print_insn_spu()
111 tag = (enum spu_insns)(index - spu_opcodes); in print_insn_spu()
112 printf("%s", index->mnemonic); in print_insn_spu()
125 if (index->arg[0] != 0) in print_insn_spu()
128 for (i = 1; i <= index->arg[0]; i++) in print_insn_spu()
130 int arg = index->arg[i]; in print_insn_spu()