Lines Matching refs:operand
345 const struct s390_operand *operand) in extract_operand() argument
352 cp = code + operand->shift / 8; in extract_operand()
353 bits = (operand->shift & 7) + operand->bits; in extract_operand()
361 val &= ((1U << (operand->bits - 1)) << 1) - 1; in extract_operand()
364 if (operand->bits == 20 && operand->shift == 20) in extract_operand()
368 if (operand->flags & OPERAND_VR) { in extract_operand()
369 if (operand->shift == 8) in extract_operand()
371 else if (operand->shift == 12) in extract_operand()
373 else if (operand->shift == 16) in extract_operand()
375 else if (operand->shift == 32) in extract_operand()
380 if ((operand->flags & (OPERAND_SIGNED | OPERAND_PCREL)) && in extract_operand()
381 (val & (1U << (operand->bits - 1)))) in extract_operand()
382 val |= (-1U << (operand->bits - 1)) << 1; in extract_operand()
385 if (operand->flags & OPERAND_PCREL) in extract_operand()
389 if (operand->flags & OPERAND_LENGTH) in extract_operand()
427 const struct s390_operand *operand; in print_insn() local
445 operand = operands + *ops; in print_insn()
446 value = extract_operand(code, operand); in print_insn()
447 if ((operand->flags & OPERAND_INDEX) && value == 0) in print_insn()
449 if ((operand->flags & OPERAND_BASE) && in print_insn()
456 if (operand->flags & OPERAND_GPR) in print_insn()
458 else if (operand->flags & OPERAND_FPR) in print_insn()
460 else if (operand->flags & OPERAND_AR) in print_insn()
462 else if (operand->flags & OPERAND_CR) in print_insn()
464 else if (operand->flags & OPERAND_VR) in print_insn()
466 else if (operand->flags & OPERAND_PCREL) { in print_insn()
470 } else if (operand->flags & OPERAND_SIGNED) in print_insn()
474 if (operand->flags & OPERAND_DISP) in print_insn()
476 else if (operand->flags & OPERAND_BASE) { in print_insn()