Lines Matching refs:opcode
44 const struct nios2_opcode *opcode; member
119 new_hash->opcode = op; in nios2_init_opcode_hash()
135 printf ("%s ", tmp_hash->opcode->name); in nios2_init_opcode_hash()
147 printf ("%s ", tmp_hash->opcode->name); in nios2_init_opcode_hash()
158 nios2_find_opcode_hash (unsigned long opcode, in nios2_find_opcode_hash() argument
172 if (state->nop->match == (opcode & state->nop->mask)) in nios2_find_opcode_hash()
176 for (entry = state->ps_hash[state->extract_opcode (opcode)]; in nios2_find_opcode_hash()
178 if (entry->opcode->match == (opcode & entry->opcode->mask)) in nios2_find_opcode_hash()
179 return entry->opcode; in nios2_find_opcode_hash()
182 for (entry = state->hash[state->extract_opcode (opcode)]; in nios2_find_opcode_hash()
184 if (entry->opcode->match == (opcode & entry->opcode->mask)) in nios2_find_opcode_hash()
185 return entry->opcode; in nios2_find_opcode_hash()
248 unsigned long opcode, bfd_vma address, in nios2_print_insn_arg() argument
267 i = GET_IW_R_C (opcode); in nios2_print_insn_arg()
271 i = GET_IW_CUSTOM_C (opcode); in nios2_print_insn_arg()
272 if (GET_IW_CUSTOM_READC (opcode) == 0) in nios2_print_insn_arg()
290 i = GET_IW_R_A (opcode); in nios2_print_insn_arg()
294 i = GET_IW_I_A (opcode); in nios2_print_insn_arg()
298 i = GET_IW_CUSTOM_A (opcode); in nios2_print_insn_arg()
299 if (GET_IW_CUSTOM_READA (opcode) == 0) in nios2_print_insn_arg()
317 i = GET_IW_R_B (opcode); in nios2_print_insn_arg()
321 i = GET_IW_I_B (opcode); in nios2_print_insn_arg()
325 i = GET_IW_CUSTOM_B (opcode); in nios2_print_insn_arg()
326 if (GET_IW_CUSTOM_READB (opcode) == 0) in nios2_print_insn_arg()
345 i = (signed) (GET_IW_I_IMM16 (opcode) << 16) >> 16; in nios2_print_insn_arg()
358 i = GET_IW_I_IMM16 (opcode); in nios2_print_insn_arg()
371 i = (signed) (GET_IW_I_IMM16 (opcode) << 16) >> 16; in nios2_print_insn_arg()
385 i = GET_IW_R_IMM5 (opcode); in nios2_print_insn_arg()
398 i = GET_IW_CUSTOM_N (opcode); in nios2_print_insn_arg()
411 i = GET_IW_J_IMM26 (opcode); in nios2_print_insn_arg()
427 i = GET_IW_R_IMM5 (opcode); in nios2_print_insn_arg()
446 nios2_disassemble (bfd_vma address, unsigned long opcode, in nios2_disassemble() argument
463 op = nios2_find_opcode_hash (opcode, info->mach); in nios2_disassemble()
474 nios2_print_insn_arg (argstr, opcode, address, info, op); in nios2_disassemble()
486 (*info->fprintf_func) (info->stream, "0x%lx", opcode); in nios2_disassemble()