Lines Matching refs:instr
266 struct instruction *instr, int n);
688 "masks", "mask", "instrs", "instr", "bitfieldopt", "bytes", "byte",
2483 struct instruction *instr, int n)
2500 if (instr->operands[n].str != NULL)
2505 instr->operands[n].str = runp->str;
2548 if (instr->operands[n].off1 == 0)
2549 instr->operands[n].off1 = bitoff;
2550 else if (instr->operands[n].off2 == 0)
2551 instr->operands[n].off2 = bitoff;
2552 else if (instr->operands[n].off3 == 0)
2553 instr->operands[n].off3 = bitoff;
2561 instr->modrm = 1;
2571 instr->operands[n].fct = fct;
2903 struct instruction *instr;
2904 for (instr = instructions; instr != NULL; instr = instr->next)
2907 if (instr->mnemonic == (void *) -1l)
2910 fprintf (outfile, " .mnemonic = MNE_%s,", instr->mnemonic);
2911 fprintf (outfile, " .rep = %d,", instr->rep);
2912 fprintf (outfile, " .repe = %d,", instr->repe);
2913 fprintf (outfile, " .suffix = %d,", instr->suffix);
2914 fprintf (outfile, " .modrm = %d,", instr->modrm);
2919 if (instr->operands[i].fct != NULL)
2921 struct argstring search = { .str = instr->operands[i].fct };
2930 if (instr->operands[i].str != NULL)
2932 struct argstring search = { .str = instr->operands[i].str };
2942 MAX (0, instr->operands[i].off1 - minoff[i][0]));
2946 MAX (0, instr->operands[i].off2 - minoff[i][1]));
2950 MAX (0, instr->operands[i].off3 - minoff[i][2]));
2959 for (instr = instructions; instr != NULL; instr = instr->next, ++cnt)
2966 struct bitvalue *b = instr->bytes;
2998 b = instr->bytes;