Lines Matching refs:i

86   unsigned int i;  in nios2_init_opcode_hash()  local
89 for (i = 0; i < OPCODE_HASH_SIZE; i++) in nios2_init_opcode_hash()
97 if (i == state->extract_opcode (op->match) in nios2_init_opcode_hash()
101 bucket = &(state->ps_hash[i]); in nios2_init_opcode_hash()
106 else if (i == state->extract_opcode (op->match)) in nios2_init_opcode_hash()
107 bucket = &(state->hash[i]); in nios2_init_opcode_hash()
129 for (i = 0; i < OPCODE_HASH_SIZE; ++i) in nios2_init_opcode_hash()
131 nios2_opcode_hash *tmp_hash = state->hash[i]; in nios2_init_opcode_hash()
132 printf ("index: 0x%02X ops: ", i); in nios2_init_opcode_hash()
141 for (i = 0; i < OPCODE_HASH_SIZE; ++i) in nios2_init_opcode_hash()
143 nios2_opcode_hash *tmp_hash = state->ps_hash[i]; in nios2_init_opcode_hash()
144 printf ("index: 0x%02X ops: ", i); in nios2_init_opcode_hash()
202 int i; in nios2_coprocessor_regs() local
203 for (i = NUMREGNAMES; i < nios2_num_regs; i++) in nios2_coprocessor_regs()
204 if (!strcmp (nios2_regs[i].name, "c0")) in nios2_coprocessor_regs()
206 cached = nios2_regs + i; in nios2_coprocessor_regs()
222 int i; in nios2_control_regs() local
223 for (i = NUMREGNAMES; i < nios2_num_regs; i++) in nios2_control_regs()
224 if (!strcmp (nios2_regs[i].name, "status")) in nios2_control_regs()
226 cached = nios2_regs + i; in nios2_control_regs()
252 unsigned long i = 0; in nios2_print_insn_arg() local
267 i = GET_IW_R_C (opcode); in nios2_print_insn_arg()
271 i = GET_IW_CUSTOM_C (opcode); in nios2_print_insn_arg()
280 if (i < NUMREGNAMES) in nios2_print_insn_arg()
281 (*info->fprintf_func) (info->stream, "%s", reg_base[i].name); 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()
307 if (i < NUMREGNAMES) in nios2_print_insn_arg()
308 (*info->fprintf_func) (info->stream, "%s", reg_base[i].name); 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()
334 if (i < NUMREGNAMES) in nios2_print_insn_arg()
335 (*info->fprintf_func) (info->stream, "%s", reg_base[i].name); in nios2_print_insn_arg()
345 i = (signed) (GET_IW_I_IMM16 (opcode) << 16) >> 16; in nios2_print_insn_arg()
350 (*info->fprintf_func) (info->stream, "%ld", i); in nios2_print_insn_arg()
358 i = GET_IW_I_IMM16 (opcode); in nios2_print_insn_arg()
363 (*info->fprintf_func) (info->stream, "%ld", i); in nios2_print_insn_arg()
371 i = (signed) (GET_IW_I_IMM16 (opcode) << 16) >> 16; in nios2_print_insn_arg()
376 address = address + 4 + i; in nios2_print_insn_arg()
385 i = GET_IW_R_IMM5 (opcode); in nios2_print_insn_arg()
390 (*info->fprintf_func) (info->stream, "%ld", i); in nios2_print_insn_arg()
398 i = GET_IW_CUSTOM_N (opcode); in nios2_print_insn_arg()
403 (*info->fprintf_func) (info->stream, "%lu", i); in nios2_print_insn_arg()
411 i = GET_IW_J_IMM26 (opcode); in nios2_print_insn_arg()
418 address = (address & 0xf0000000) | (i << 2); in nios2_print_insn_arg()
427 i = GET_IW_R_IMM5 (opcode); in nios2_print_insn_arg()
433 (*info->fprintf_func) (info->stream, "%s", reg_base[i].name); in nios2_print_insn_arg()