/toolchain/binutils/binutils-2.25/gas/testsuite/gas/aarch64/ |
D | illegal-lse.l | 2 [^:]*:68: Error: operand mismatch -- `cas w0,x1,\[x2\]' 4 [^:]*:68: Error: operand mismatch -- `casa w0,x1,\[x2\]' 6 [^:]*:68: Error: operand mismatch -- `casl w0,x1,\[x2\]' 8 [^:]*:68: Error: operand mismatch -- `casal w0,x1,\[x2\]' 10 [^:]*:68: Error: operand mismatch -- `casb w0,x1,\[x2\]' 12 [^:]*:68: Error: operand mismatch -- `cash w0,x1,\[x2\]' 14 [^:]*:68: Error: operand mismatch -- `casab w0,x1,\[x2\]' 16 [^:]*:68: Error: operand mismatch -- `caslb w0,x1,\[x2\]' 18 [^:]*:68: Error: operand mismatch -- `casalb w0,x1,\[x2\]' 20 [^:]*:68: Error: operand mismatch -- `casah w0,x1,\[x2\]' [all …]
|
D | diagnostic.l | 8 [^:]*:10: Error: unexpected comma before the omitted optional operand at operand 5 -- `sys 1,c1,c3,… 10 [^:]*:12: Error: immediate value out of range 0 to 15 at operand 4 -- `ext v0.16b,v1.16b,v2.16b,20' 12 [^:]*:14: Error: immediate value out of range 0 to 65535 at operand 1 -- `svc 65536' 14 [^:]*:16: Error: immediate value out of range 0 to 31 at operand 2 -- `ccmp x0,-1,10,le' 16 [^:]*:18: Error: missing register at operand 2 -- `tlbi vaale1is' 18 [^:]*:20: Error: immediate value out of range 0 to 1 at operand 1 -- `msr spsel,3' 20 [^:]*:22: Error: immediate value out of range 1 to 32 at operand 3 -- `scvtf s0,w0,33' 22 [^:]*:24: Error: register number out of range 0 to 15 at operand 3 -- `smlal v0.4s,v31.4h,v16.h\[1\… 24 [^:]*:26: Error: extend operator expected at operand 3 -- `add sp,x0,x7,lsr#2' 26 [^:]*:28: Error: 'ROR' operator not allowed at operand 3 -- `add x0,xzr,x7,ror#5' [all …]
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic6x/ |
D | insns-bad-1.l | 3 [^:]*:6: Error: operand 1 of 'nop' not constant 7 [^:]*:10: Error: junk after operand 1 of 'nop' 8 [^:]*:11: Error: operand 1 of 'nop' out of range 9 [^:]*:12: Error: operand 1 of 'nop' out of range 10 [^:]*:13: Error: operand 1 of 'nop' out of range 11 [^:]*:14: Error: operand 1 of 'nop' out of range 12 [^:]*:15: Error: operand 1 of 'nop' out of range 13 [^:]*:16: Error: missing operand after comma 16 [^:]*:19: Error: bad register or register pair for operand 1 of 'abs' 17 [^:]*:19: Error: bad register or register pair for operand 2 of 'abs' [all …]
|
D | sploop-bad-6.l | 2 [^:]*:7: Error: operand 1 of 'spkernel' out of range 3 [^:]*:8: Error: operand 2 of 'spkernel' out of range 4 [^:]*:9: Error: operand 2 of 'spkernel' out of range 5 [^:]*:10: Error: operand 1 of 'spkernel' out of range 6 [^:]*:13: Error: operand 1 of 'spkernel' out of range 7 [^:]*:14: Error: operand 2 of 'spkernel' out of range 8 [^:]*:15: Error: operand 2 of 'spkernel' out of range 9 [^:]*:16: Error: operand 1 of 'spkernel' out of range 10 [^:]*:19: Error: operand 1 of 'spkernel' out of range 11 [^:]*:20: Error: operand 2 of 'spkernel' out of range [all …]
|
/toolchain/binutils/binutils-2.25/opcodes/ |
D | tic30-dis.c | 343 char operand[2][13] = in print_two_operand() local 370 get_register_operand ((insn_word & 0x001F0000) >> 16, operand[dest_op]); in print_two_operand() 377 get_register_operand ((insn_word & 0x0000001F), operand[src_op]); in print_two_operand() 380 sprintf (operand[src_op], "@0x%lX", (insn_word & 0x0000FFFF)); in print_two_operand() 383 get_indirect_operand ((insn_word & 0x0000FFFF), 2, operand[src_op]); in print_two_operand() 391 sprintf (operand[src_op], "%2.2f", f_number); in print_two_operand() 394 sprintf (operand[src_op], "%d", (short) (insn_word & 0x0000FFFF)); in print_two_operand() 397 sprintf (operand[src_op], "%lu", (insn_word & 0x0000FFFF)); in print_two_operand() 406 sprintf (operand[0], "0x%06lX", (insn_word & 0x000000FF) << 16); in print_two_operand() 407 operand[1][0] = '\0'; in print_two_operand() [all …]
|
D | tic54x-dis.c | 180 char operand[4][64] = { {0},{0},{0},{0}, }; in print_instruction() local 214 sprint_dual_address (info, operand[i], XMEM (opcode)); in print_instruction() 215 info->fprintf_func (info->stream, "%s%s", comma, operand[i]); in print_instruction() 218 sprint_dual_address (info, operand[i], YMEM (opcode)); in print_instruction() 219 info->fprintf_func (info->stream, "%s%s", comma, operand[i]); in print_instruction() 244 sprint_indirect_address (info, operand[i], opcode); in print_instruction() 245 info->fprintf_func (info->stream, "%s", operand[i]); in print_instruction() 252 sprint_direct_address (info, operand[i], opcode); in print_instruction() 253 info->fprintf_func (info->stream, "%s", operand[i]); in print_instruction() 269 sprint_mmr (info, operand[i], MMRX (opcode)); in print_instruction() [all …]
|
D | m10300-dis.c | 38 const struct mn10300_operand *operand; in disassemble() local 314 operand = &mn10300_operands[*opindex_ptr]; in disassemble() 318 if ((operand->flags & MN10300_OPERAND_PLUS) != 0) in disassemble() 321 if ((operand->flags & MN10300_OPERAND_SPLIT) != 0) in disassemble() 325 value = insn & ((1 << operand->bits) - 1); in disassemble() 326 value <<= (32 - operand->bits); in disassemble() 327 temp = extension >> operand->shift; in disassemble() 328 temp &= ((1 << (32 - operand->bits)) - 1); in disassemble() 333 else if ((operand->flags & MN10300_OPERAND_24BIT) != 0) in disassemble() 337 value = insn & ((1 << operand->bits) - 1); in disassemble() [all …]
|
D | arc-opc.c | 28 enum operand {OP_NONE,OP_REG,OP_SHIMM,OP_LIMM}; enum 32 enum operand ls_operand[OPERANDS]; 332 const struct arc_operand *operand, in insert_reg() argument 339 enum operand op_type = OP_NONE; in insert_reg() 360 if ('a' != operand->fmt) in insert_reg() 372 insn |= marker << operand->shift; in insert_reg() 381 insn |= ARC_REG_LIMM << operand->shift; in insert_reg() 407 insn |= ARC_REG_SHIMM << operand->shift; in insert_reg() 414 if ('a' == operand->fmt || ((insn & I(-1)) < I(2))) in insert_reg() 419 if ('a' != operand->fmt) in insert_reg() [all …]
|
D | tic80-dis.c | 104 const struct tic80_operand *operand, in print_operand() argument 107 if ((operand->flags & TIC80_OPERAND_GPR) != 0) in print_operand() 110 if (M_SI (insn, operand) || M_LI (insn, operand)) in print_operand() 115 else if ((operand->flags & TIC80_OPERAND_FPA) != 0) in print_operand() 118 else if ((operand->flags & TIC80_OPERAND_PCREL) != 0) in print_operand() 121 else if ((operand->flags & TIC80_OPERAND_BASEREL) != 0) in print_operand() 124 else if ((operand->flags & TIC80_OPERAND_BITNUM) != 0) in print_operand() 127 else if ((operand->flags & TIC80_OPERAND_CC) != 0) in print_operand() 130 else if ((operand->flags & TIC80_OPERAND_CR) != 0) in print_operand() 133 else if ((operand->flags & TIC80_OPERAND_FLOAT) != 0) in print_operand() [all …]
|
D | alpha-dis.c | 134 const struct alpha_operand *operand = alpha_operands + *opindex; local 135 if (operand->extract) 136 (*operand->extract) (insn, &invalid); 160 const struct alpha_operand *operand = alpha_operands + *opindex; local 166 if ((operand->flags & AXP_OPERAND_FAKE) != 0) 170 if (operand->extract) 171 value = (*operand->extract) (insn, (int *) NULL); 174 value = (insn >> operand->shift) & ((1 << operand->bits) - 1); 175 if (operand->flags & AXP_OPERAND_SIGNED) 177 int signbit = 1 << (operand->bits - 1); [all …]
|
D | i370-dis.c | 61 const struct i370_operand *operand; in print_insn_i370() local 96 operand = i370_operands + *opindex; in print_insn_i370() 97 if (operand->extract) in print_insn_i370() 98 (*operand->extract) (insn, &invalid); in print_insn_i370() 113 operand = i370_operands + *opindex; in print_insn_i370() 116 if (operand->extract) in print_insn_i370() 117 value = (*operand->extract) (insn, (int *) NULL); in print_insn_i370() 119 value = (insn.i[0] >> operand->shift) & ((1 << operand->bits) - 1); in print_insn_i370() 122 if ((operand->flags & I370_OPERAND_OPTIONAL) != 0) in print_insn_i370() 127 else if ((operand->flags & I370_OPERAND_SBASE) != 0) in print_insn_i370() [all …]
|
D | ppc-dis.c | 408 operand_value_powerpc (const struct powerpc_operand *operand, in operand_value_powerpc() argument 414 if (operand->extract) in operand_value_powerpc() 415 value = (*operand->extract) (insn, dialect, &invalid); in operand_value_powerpc() 418 if (operand->shift >= 0) in operand_value_powerpc() 419 value = (insn >> operand->shift) & operand->bitm; in operand_value_powerpc() 421 value = (insn << -operand->shift) & operand->bitm; in operand_value_powerpc() 422 if ((operand->flags & PPC_OPERAND_SIGNED) != 0) in operand_value_powerpc() 426 unsigned long top = operand->bitm; in operand_value_powerpc() 444 const struct powerpc_operand *operand; in skip_optional_operands() local 448 operand = &powerpc_operands[*opindex]; in skip_optional_operands() [all …]
|
D | m10200-dis.c | 35 const struct mn10200_operand *operand; in disassemble() local 84 operand = &mn10200_operands[*opindex_ptr]; in disassemble() 86 if ((operand->flags & MN10200_OPERAND_EXTENDED) != 0) in disassemble() 93 value = ((insn >> (operand->shift)) in disassemble() 94 & ((1L << operand->bits) - 1L)); in disassemble() 97 if ((operand->flags & MN10200_OPERAND_SIGNED) != 0) in disassemble() 98 value = ((long)(value << (32 - operand->bits)) in disassemble() 99 >> (32 - operand->bits)); in disassemble() 103 || ((operand->flags & MN10200_OPERAND_PAREN) == 0))) in disassemble() 108 if ((operand->flags & MN10200_OPERAND_DREG) != 0) in disassemble() [all …]
|
D | v850-dis.c | 132 get_operand_value (const struct v850_operand *operand, in get_operand_value() argument 143 if ((operand->flags & V850E_IMMEDIATE16) in get_operand_value() 144 || (operand->flags & V850E_IMMEDIATE16HI)) in get_operand_value() 152 if (operand->flags & V850E_IMMEDIATE16HI) in get_operand_value() 166 if (operand->flags & V850E_IMMEDIATE23) in get_operand_value() 174 value = (operand->extract) (value, invalid); in get_operand_value() 185 if (operand->flags & V850E_IMMEDIATE32) in get_operand_value() 203 if (operand->extract) in get_operand_value() 204 value = (operand->extract) (insn, invalid); in get_operand_value() 207 if (operand->bits == -1) in get_operand_value() [all …]
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/ |
D | mips64r2-ill.l | 2 .*:12: Error: operand 3 out of range `dext \$4,\$5,-1,1' 4 .*:18: Error: operand 4 out of range `dext \$4,\$5,0,0' 6 .*:31: Error: operand 4 out of range `dext \$4,\$5,1,64' 8 .*:34: Error: operand 4 out of range `dext \$4,\$5,63,63' 10 .*:40: Error: operand 3 out of range `dextm \$4,\$5,-1,33' 12 .*:46: Error: operand 4 out of range `dextm \$4,\$5,0,32' 14 .*:59: Error: operand 4 out of range `dextm \$4,\$5,1,64' 16 .*:62: Error: operand 4 out of range `dextm \$4,\$5,31,63' 18 .*:68: Error: operand 3 out of range `dextu \$4,\$5,31,1' 20 .*:74: Error: operand 4 out of range `dextu \$4,\$5,32,0' [all …]
|
D | octeon-ill.l | 2 .*:5: Error: operand 2 out of range `bbit032 \$23,51,foo' 4 .*:10: Error: operand 2 out of range `bbit132 \$23,49,foo' 6 .*:15: Error: operand 3 out of range `cins \$2,0,37' 8 .*:18: Error: operand 4 out of range `cins32 \$17,\$20,7,25' 10 .*:21: Error: operand 4 out of range `cins \$21,\$30,50,14' 32 .*:46: Error: operand 2 out of range `dmtc2 \$2,0x12345' 34 .*:48: Error: operand 2 must be an immediate expression `dmfc2 \$4,\$15,4' 36 .*:50: Error: operand 2 must be an immediate expression `dmtc2 \$22,\$7,\$4' 38 .*:54: Error: operand 3 out of range `exts32 \$7,\$21,32,10' 40 .*:57: Error: operand 3 out of range `exts \$14,\$29,70,14' [all …]
|
/toolchain/binutils/binutils-2.25/gas/config/ |
D | tc-h8300.c | 556 constant_fits_width_p (struct h8_op *operand, offsetT width) in constant_fits_width_p() argument 560 num = ((operand->exp.X_add_number & 0xffffffff) ^ 0x80000000) - 0x80000000; in constant_fits_width_p() 565 constant_fits_size_p (struct h8_op *operand, int size, int no_symbols) in constant_fits_size_p() argument 570 && (operand->exp.X_add_symbol != 0 || operand->exp.X_op_symbol != 0)) in constant_fits_size_p() 572 num = operand->exp.X_add_number & 0xffffffff; in constant_fits_size_p() 893 get_operands (unsigned int noperands, char *op_end, struct h8_op *operand) in get_operands() argument 904 get_operand (&ptr, operand + 0, SRC); in get_operands() 908 get_operand (&ptr, operand + 1, DST); in get_operands() 914 get_operand (&ptr, operand + 0, SRC); in get_operands() 917 get_operand (&ptr, operand + 1, DST); in get_operands() [all …]
|
D | tc-pdp11.c | 324 parse_reg (char *str, struct pdp11_code *operand) in parse_reg() argument 334 operand->code = *str - '0'; in parse_reg() 338 operand->error = _("Bad register name"); in parse_reg() 345 operand->code = 6; in parse_reg() 351 operand->code = 7; in parse_reg() 356 operand->error = _("Bad register name"); in parse_reg() 364 parse_ac5 (char *str, struct pdp11_code *operand) in parse_ac5() argument 377 operand->code = *str - '0'; in parse_ac5() 381 operand->error = _("Bad register name"); in parse_ac5() 387 operand->error = _("Bad register name"); in parse_ac5() [all …]
|
D | tc-m32c.c | 247 int operand; in m32c_indirect_operand() local 250 operand = 1; in m32c_indirect_operand() 254 operand = 2; in m32c_indirect_operand() 258 indirection[operand] = absolute; in m32c_indirect_operand() 260 indirection[operand] = relative; in m32c_indirect_operand() 262 indirection[operand] = relative; in m32c_indirect_operand() 268 operand = 1; in m32c_indirect_operand() 277 operand = 2; in m32c_indirect_operand() 279 if (s[0] == '[' && ! brace_n[operand]) in m32c_indirect_operand() 281 brace_n[operand] += 1; in m32c_indirect_operand() [all …]
|
D | tc-tic4x.c | 1403 tic4x_indirect_parse (tic4x_operand_t *operand, in tic4x_indirect_parse() argument 1412 operand->disp = 0; in tic4x_indirect_parse() 1432 operand->aregno = S_GET_VALUE (symbolP); in tic4x_indirect_parse() 1433 if (operand->aregno >= REG_AR0 && operand->aregno <= REG_AR7) in tic4x_indirect_parse() 1444 s = tic4x_expression (s, &operand->expr); in tic4x_indirect_parse() 1445 if (operand->expr.X_op != O_constant) in tic4x_indirect_parse() 1447 operand->disp = operand->expr.X_add_number; in tic4x_indirect_parse() 1448 if (operand->disp < 0 || operand->disp > 255) in tic4x_indirect_parse() 1451 operand->disp); in tic4x_indirect_parse() 1462 s = tic4x_expression (s, &operand->expr); in tic4x_indirect_parse() [all …]
|
D | tc-v850.c | 1382 const struct v850_operand *operand) in parse_register_list() argument 1394 switch (operand->shift) in parse_register_list() 1398 as_bad (_("unknown operand shift: %x\n"), operand->shift); in parse_register_list() 1967 handle_hi016 (const struct v850_operand *operand, const char **errmsg) in handle_hi016() argument 1969 if (operand == NULL) in handle_hi016() 1972 if (operand->default_reloc == BFD_RELOC_HI16) in handle_hi016() 1975 if (operand->default_reloc == BFD_RELOC_HI16_S) in handle_hi016() 1978 if (operand->default_reloc == BFD_RELOC_16) in handle_hi016() 1987 handle_hi16 (const struct v850_operand *operand, const char **errmsg) in handle_hi16() argument 1989 if (operand == NULL) in handle_hi16() [all …]
|
D | tc-s390.c | 586 const struct s390_operand *operand, in s390_insert_operand() argument 594 if (operand->flags & (S390_OPERAND_SIGNED|S390_OPERAND_PCREL)) in s390_insert_operand() 598 max = ((offsetT) 1 << (operand->bits - 1)) - 1; in s390_insert_operand() 599 min = - ((offsetT) 1 << (operand->bits - 1)); in s390_insert_operand() 601 if (operand->flags & S390_OPERAND_PCREL) in s390_insert_operand() 610 if (operand->flags & S390_OPERAND_PCREL) in s390_insert_operand() 624 uval = (addressT) val & ((((addressT) 1 << (operand->bits-1)) << 1) - 1); in s390_insert_operand() 626 if (operand->bits == 20 && operand->shift == 20) in s390_insert_operand() 633 max = (((addressT) 1 << (operand->bits - 1)) << 1) - 1; in s390_insert_operand() 637 if (operand->flags & S390_OPERAND_LENGTH) in s390_insert_operand() [all …]
|
D | tc-arc.c | 259 const struct arc_operand *operand, in arc_insert_operand() argument 266 if (operand->bits != 32) in arc_insert_operand() 271 if ((operand->flags & ARC_OPERAND_SIGNED) != 0) in arc_insert_operand() 273 if ((operand->flags & ARC_OPERAND_SIGNOPT) != 0) in arc_insert_operand() 274 max = (1 << operand->bits) - 1; in arc_insert_operand() 276 max = (1 << (operand->bits - 1)) - 1; in arc_insert_operand() 277 min = - (1 << (operand->bits - 1)); in arc_insert_operand() 281 max = (1 << operand->bits) - 1; in arc_insert_operand() 285 if ((operand->flags & ARC_OPERAND_NEGATIVE) != 0) in arc_insert_operand() 294 if (operand->insert) in arc_insert_operand() [all …]
|
D | tc-tic54x.c | 3095 is_accumulator (struct opstruct *operand) in is_accumulator() argument 3097 return strcasecmp (operand->buf, "a") == 0 in is_accumulator() 3098 || strcasecmp (operand->buf, "b") == 0; in is_accumulator() 3235 is_immediate (struct opstruct *operand) in is_immediate() argument 3237 return *operand->buf == '#'; in is_immediate() 3244 is_absolute (struct opstruct *operand) in is_absolute() argument 3246 return operand->exp.X_op == O_constant && !is_immediate (operand); in is_absolute() 3252 is_indirect (struct opstruct *operand) in is_indirect() argument 3254 return operand->buf[0] == '*'; in is_indirect() 3260 is_dual (struct opstruct *operand) in is_dual() argument [all …]
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/ |
D | unwind-bad.l | 2 .*:8: Error: First operand to \.save\.g must be a positive 4-bit constant 3 .*:10: Error: First operand to \.save\.g must be a positive 4-bit constant 4 .*:12: Error: First operand to \.save\.g must be a positive 4-bit constant 12 .*:32: Error: First operand to \.save\.b must be a positive 5-bit constant 13 .*:34: Error: First operand to \.save\.b must be a positive 5-bit constant 14 .*:36: Error: First operand to \.save\.b must be a positive 5-bit constant 26 .*:62: Warning: Pointless use of p0 as first operand to \.spillreg\.p 29 .*:68: Warning: Pointless use of p0 as first operand to \.restorereg\.p 31 .*:80: Error: First operand to \.save\.gf must be a non-negative 4-bit constant 32 .*:82: Error: Second operand to \.save\.gf must be a non-negative 20-bit constant [all …]
|