• Home
  • Raw
  • Download

Lines Matching refs:operand

126 struct operand {  struct
138 static const struct operand operands[] = argument
1049 const struct operand *operand) in extract_operand() argument
1055 code += operand->shift / 8; in extract_operand()
1056 bits = (operand->shift & 7) + operand->bits; in extract_operand()
1064 val &= ((1U << (operand->bits - 1)) << 1) - 1; in extract_operand()
1067 if (operand->bits == 20 && operand->shift == 20) in extract_operand()
1071 if ((operand->flags & (OPERAND_SIGNED | OPERAND_PCREL)) && in extract_operand()
1072 (val & (1U << (operand->bits - 1)))) in extract_operand()
1073 val |= (-1U << (operand->bits - 1)) << 1; in extract_operand()
1076 if (operand->flags & OPERAND_PCREL) in extract_operand()
1080 if (operand->flags & OPERAND_LENGTH) in extract_operand()
1161 const struct operand *operand; in print_insn() local
1175 operand = operands + *ops; in print_insn()
1176 value = extract_operand(code, operand); in print_insn()
1177 if ((operand->flags & OPERAND_INDEX) && value == 0) in print_insn()
1179 if ((operand->flags & OPERAND_BASE) && in print_insn()
1186 if (operand->flags & OPERAND_GPR) in print_insn()
1188 else if (operand->flags & OPERAND_FPR) in print_insn()
1190 else if (operand->flags & OPERAND_AR) in print_insn()
1192 else if (operand->flags & OPERAND_CR) in print_insn()
1194 else if (operand->flags & OPERAND_PCREL) in print_insn()
1197 else if (operand->flags & OPERAND_SIGNED) in print_insn()
1201 if (operand->flags & OPERAND_DISP) in print_insn()
1203 else if (operand->flags & OPERAND_BASE) { in print_insn()