Lines Matching refs:operand
60 const struct powerpc_operand *operand;
81 operand = powerpc_operands + *opindex;
82 if (operand->extract)
83 (*operand->extract) (insn, &invalid);
100 operand = powerpc_operands + *opindex;
105 if ((operand->flags & PPC_OPERAND_FAKE) != 0)
109 if (operand->extract)
110 value = (*operand->extract) (insn, (int *) 0);
113 value = (insn >> operand->shift) & ((1 << operand->bits) - 1);
114 if ((operand->flags & PPC_OPERAND_SIGNED) != 0
115 && (value & (1 << (operand->bits - 1))) != 0)
116 value -= 1 << operand->bits;
119 /* If the operand is optional, and the value is zero, don't
121 if ((operand->flags & PPC_OPERAND_OPTIONAL) != 0
122 && (operand->flags & PPC_OPERAND_NEXT) == 0
132 /* Print the operand as directed by the flags. */
133 if ((operand->flags & PPC_OPERAND_GPR) != 0)
135 else if ((operand->flags & PPC_OPERAND_FPR) != 0)
137 else if ((operand->flags & PPC_OPERAND_RELATIVE) != 0)
139 else if ((operand->flags & PPC_OPERAND_ABSOLUTE) != 0)
141 else if ((operand->flags & PPC_OPERAND_CR) == 0
146 if (operand->bits == 3)
173 if ((operand->flags & PPC_OPERAND_PARENS) == 0)