Lines Matching defs:operand
100 /* Extracts an operand value from an instruction. */
104 the operand. */
108 const struct s390_operand *operand)
115 /* Extract fragments of the operand byte for byte. */
116 insn += operand->shift / 8;
117 bits = (operand->shift & 7) + operand->bits;
127 val &= ((1U << (operand->bits - 1)) << 1) - 1;
130 if (operand->bits == 20 && operand->shift == 20)
133 /* Sign extend value if the operand is signed or pc relative. Avoid
135 if (operand->flags & (S390_OPERAND_SIGNED | S390_OPERAND_PCREL))
137 unsigned int m = 1U << (operand->bits - 1);
144 else if (operand->flags & S390_OPERAND_LENGTH)
148 else if (operand->flags & S390_OPERAND_VR)
150 /* Extract the extra bits for a vector register operand stored
152 unsigned vr = operand->shift == 32 ? 3
153 : (unsigned) operand->shift / 4 - 2;
182 const struct s390_operand *operand = s390_operands + *opindex;
183 union operand_value val = s390_extract_operand (buffer, operand);
184 unsigned long flags = operand->flags;
195 /* For instructions with a last optional operand don't print it