Lines Matching refs:operand
343 const struct s390_operand *operand) in extract_operand() argument
350 cp = code + operand->shift / 8; in extract_operand()
351 bits = (operand->shift & 7) + operand->bits; in extract_operand()
359 val &= ((1U << (operand->bits - 1)) << 1) - 1; in extract_operand()
362 if (operand->bits == 20 && operand->shift == 20) in extract_operand()
366 if (operand->flags & OPERAND_VR) { in extract_operand()
367 if (operand->shift == 8) in extract_operand()
369 else if (operand->shift == 12) in extract_operand()
371 else if (operand->shift == 16) in extract_operand()
373 else if (operand->shift == 32) in extract_operand()
378 if ((operand->flags & (OPERAND_SIGNED | OPERAND_PCREL)) && in extract_operand()
379 (val & (1U << (operand->bits - 1)))) in extract_operand()
380 val |= (-1U << (operand->bits - 1)) << 1; in extract_operand()
383 if (operand->flags & OPERAND_PCREL) in extract_operand()
387 if (operand->flags & OPERAND_LENGTH) in extract_operand()
425 const struct s390_operand *operand; in print_insn() local
443 operand = operands + *ops; in print_insn()
444 value = extract_operand(code, operand); in print_insn()
445 if ((operand->flags & OPERAND_INDEX) && value == 0) in print_insn()
447 if ((operand->flags & OPERAND_BASE) && in print_insn()
454 if (operand->flags & OPERAND_GPR) in print_insn()
456 else if (operand->flags & OPERAND_FPR) in print_insn()
458 else if (operand->flags & OPERAND_AR) in print_insn()
460 else if (operand->flags & OPERAND_CR) in print_insn()
462 else if (operand->flags & OPERAND_VR) in print_insn()
464 else if (operand->flags & OPERAND_PCREL) in print_insn()
467 else if (operand->flags & OPERAND_SIGNED) in print_insn()
471 if (operand->flags & OPERAND_DISP) in print_insn()
473 else if (operand->flags & OPERAND_BASE) { in print_insn()