Lines Matching refs:i

297   int i, j = 0;  in md_begin()  local
307 for (xgate_opcode_ptr = (struct xgate_opcode*) xgate_opcodes, i = 0; in md_begin()
308 i < xgate_num_opcodes; i++) in md_begin()
309 xgate_op_table[i] = xgate_opcode_ptr[i]; in md_begin()
317 for (xgate_opcode_ptr = xgate_op_table, i = 0; i < xgate_num_opcodes; in md_begin()
318 xgate_opcode_ptr++, i++) in md_begin()
332 for (xgate_opcode_ptr = xgate_op_table, i = 0, j = 0; i < xgate_num_opcodes; in md_begin()
333 i++, xgate_opcode_ptr++) in md_begin()
343 if (i) in md_begin()
401 int i; in xgate_print_syntax() local
403 for (i = 0; i < xgate_num_opcodes; i++) in xgate_print_syntax()
405 if (!strcmp (xgate_opcodes[i].name, name)) in xgate_print_syntax()
407 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_IDR)) in xgate_print_syntax()
409 xgate_opcodes[i].name); in xgate_print_syntax()
410 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_INH)) in xgate_print_syntax()
411 printf ("\tFormat is %s\n", xgate_opcodes[i].name); in xgate_print_syntax()
412 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_TRI)) in xgate_print_syntax()
413 printf ("\tFormat is %s\tRx, Rx, Rx\n", xgate_opcodes[i].name); in xgate_print_syntax()
414 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_DYA)) in xgate_print_syntax()
415 printf ("\tFormat is %s\tRx, Rx\n", xgate_opcodes[i].name); in xgate_print_syntax()
416 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_IMM3)) in xgate_print_syntax()
417 printf ("\tFormat is %s\t<3-bit value>\n", xgate_opcodes[i].name); in xgate_print_syntax()
418 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_IMM4)) in xgate_print_syntax()
419 printf ("\tFormat is %s\t<4 -bit value>\n", xgate_opcodes[i].name); in xgate_print_syntax()
420 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_IMM8)) in xgate_print_syntax()
422 xgate_opcodes[i].name); in xgate_print_syntax()
423 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_IMM16)) in xgate_print_syntax()
425 xgate_opcodes[i].name); in xgate_print_syntax()
426 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_MON_R_C)) in xgate_print_syntax()
427 printf ("\tFormat is %s\tRx, CCR\n", xgate_opcodes[i].name); in xgate_print_syntax()
428 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_MON_C_R)) in xgate_print_syntax()
429 printf ("\tFormat is %s\tCCR, Rx\n", xgate_opcodes[i].name); in xgate_print_syntax()
430 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_MON_R_P)) in xgate_print_syntax()
431 printf ("\tFormat is %s\tRx, PC\n", xgate_opcodes[i].name); in xgate_print_syntax()
432 if (!strcmp (xgate_opcodes[i].constraints, XGATE_OP_IMM16mLDW)) in xgate_print_syntax()
434 xgate_opcodes[i].name); in xgate_print_syntax()
442 int i; in xgate_print_table() local
444 for (i = 0; i < xgate_num_opcodes; i++) in xgate_print_table()
445 xgate_print_syntax (xgate_opcodes[i].name); in xgate_print_table()
525 unsigned int i; in md_assemble() local
528 for (i = strlen (opcode->constraints), p = opcode->constraints; i > 0; in md_assemble()
529 i--, p++) in md_assemble()
542 for (i = 0; *p && i < (opcode->size / 2); i++) in md_assemble()
910 int i; in xgate_find_match() local
915 for (i = 0; i <= numberOfModes; i++) in xgate_find_match()
920 if (!strcmp(opcode_handle->opc0[i]->constraints, XGATE_OP_INH)) in xgate_find_match()
921 return opcode_handle->opc0[i]; in xgate_find_match()
925 if (!strcmp(opcode_handle->opc0[i]->constraints, XGATE_OP_MON)) in xgate_find_match()
926 return opcode_handle->opc0[i]; in xgate_find_match()
927 if (!strcmp(opcode_handle->opc0[i]->constraints, XGATE_OP_DYA_MON)) in xgate_find_match()
928 return opcode_handle->opc0[i]; in xgate_find_match()
930 if (!strcmp(opcode_handle->opc0[i]->constraints, XGATE_OP_IMM3)) in xgate_find_match()
931 return opcode_handle->opc0[i]; in xgate_find_match()
937 if (!strcmp(opcode_handle->opc0[i]->constraints, XGATE_OP_DYA)) in xgate_find_match()
938 return opcode_handle->opc0[i]; in xgate_find_match()
940 if (!strcmp(opcode_handle->opc0[i]->constraints, in xgate_find_match()
942 return opcode_handle->opc0[i]; in xgate_find_match()
944 if (!strcmp(opcode_handle->opc0[i]->constraints, in xgate_find_match()
946 return opcode_handle->opc0[i]; in xgate_find_match()
948 if (!strcmp(opcode_handle->opc0[i]->constraints, XGATE_OP_IMM16) in xgate_find_match()
949 || !strcmp(opcode_handle->opc0[i]->constraints, XGATE_OP_IMM8) in xgate_find_match()
950 || !strcmp(opcode_handle->opc0[i]->constraints, XGATE_OP_IMM4) in xgate_find_match()
951 || !strcmp(opcode_handle->opc0[i]->constraints, in xgate_find_match()
953 || !strcmp(opcode_handle->opc0[i]->constraints, in xgate_find_match()
955 || !strcmp(opcode_handle->opc0[i]->constraints, in xgate_find_match()
957 || !strcmp(opcode_handle->opc0[i]->constraints, in xgate_find_match()
959 || !strcmp(opcode_handle->opc0[i]->constraints, in xgate_find_match()
961 return opcode_handle->opc0[i]; in xgate_find_match()
964 if (!strcmp(opcode_handle->opc0[i]->constraints, XGATE_OP_MON_C_R)) in xgate_find_match()
965 return opcode_handle->opc0[i]; in xgate_find_match()
974 if (!strcmp(opcode_handle->opc0[i]->constraints, in xgate_find_match()
976 || !strcmp(opcode_handle->opc0[i]->constraints, in xgate_find_match()
978 return opcode_handle->opc0[i]; in xgate_find_match()
982 if (!strcmp(opcode_handle->opc0[i]->constraints, in xgate_find_match()
984 return opcode_handle->opc0[i]; in xgate_find_match()
1123 int i = 0; in xgate_scan_operands() local
1127 for (i = 0; (c = opcode->format[i]); i++) in xgate_scan_operands()
1219 int i; in xgate_parse_operand() local
1274 for (i = *bit_width; i; i--) in xgate_parse_operand()