22 #include <asm/cputable.h>
59 unsigned long table_op;
60 const unsigned char *opindex;
73 || (opcode->
flags & dialect) == 0)
80 for (opindex = opcode->
operands; *opindex != 0; opindex++)
84 (*operand->
extract) (insn, dialect, &invalid);
97 for (opindex = opcode->
operands; *opindex != 0; opindex++)
111 value = (*operand->
extract) (insn, dialect, &invalid);
114 value = (insn >> operand->
shift) & ((1 << operand->
bits) - 1);
116 && (value & (1 << (operand->
bits - 1))) != 0)
117 value -= 1 << operand->
bits;
150 if (operand->
bits == 3)
154 static const char *cbnames[4] = {
"lt",
"gt",
"eq",
"so" };
162 printf(
"%s", cbnames[cc]);
187 dialect = ~PPC_OPCODE_ANY;
192 printf(
".long 0x%lx", insn);