Lines Matching refs:opname

2216 		   char *opname,  in xg_check_num_args()  argument
2224 num_args, opname, expected_num); in xg_check_num_args()
2231 num_args, opname, expected_num); in xg_check_num_args()
2253 char *opname, *new_opname; in xg_translate_sysreg_op() local
2257 opname = *popname; in xg_translate_sysreg_op()
2258 if (*opname == '_') in xg_translate_sysreg_op()
2259 opname += 1; in xg_translate_sysreg_op()
2260 is_user = (opname[1] == 'u'); in xg_translate_sysreg_op()
2261 is_write = (opname[0] == 'w'); in xg_translate_sysreg_op()
2265 if (xg_check_num_args (pnum_args, 2, opname, arg_strings)) in xg_translate_sysreg_op()
2282 arg_strings[1], opname); in xg_translate_sysreg_op()
2289 (long) val, opname); in xg_translate_sysreg_op()
2318 char *opname, *new_opname; in xtensa_translate_old_userreg_ops() local
2322 opname = *popname; in xtensa_translate_old_userreg_ops()
2323 if (opname[0] == '_') in xtensa_translate_old_userreg_ops()
2326 opname += 1; in xtensa_translate_old_userreg_ops()
2329 sr = xtensa_sysreg_lookup_name (isa, opname + 1); in xtensa_translate_old_userreg_ops()
2338 if (strcmp (namebuf, opname + 1) == 0) in xtensa_translate_old_userreg_ops()
2347 if (opname[1] != 'u' || opname[2] != 'r') in xtensa_translate_old_userreg_ops()
2349 val = strtoul (opname + 3, &end, 10); in xtensa_translate_old_userreg_ops()
2357 (long) val, opname); in xtensa_translate_old_userreg_ops()
2366 opname[0], sr_name); in xtensa_translate_old_userreg_ops()
2381 char *opname; in xtensa_translate_zero_immed() local
2384 opname = *popname; in xtensa_translate_zero_immed()
2385 gas_assert (opname[0] != '_'); in xtensa_translate_zero_immed()
2387 if (strcmp (opname, old_op) != 0) in xtensa_translate_zero_immed()
2390 if (xg_check_num_args (pnum_args, 3, opname, arg_strings)) in xtensa_translate_zero_immed()
2411 char *opname = *popname; in xg_translate_idioms() local
2414 if (*opname == '_') in xg_translate_idioms()
2417 opname += 1; in xg_translate_idioms()
2420 if (strcmp (opname, "mov") == 0) in xg_translate_idioms()
2426 if (xg_check_num_args (pnum_args, 2, opname, arg_strings)) in xg_translate_idioms()
2436 if (strcmp (opname, "bbsi.l") == 0) in xg_translate_idioms()
2438 if (xg_check_num_args (pnum_args, 3, opname, arg_strings)) in xg_translate_idioms()
2446 if (strcmp (opname, "bbci.l") == 0) in xg_translate_idioms()
2448 if (xg_check_num_args (pnum_args, 3, opname, arg_strings)) in xg_translate_idioms()
2461 && strcmp (opname, "nop") == 0) in xg_translate_idioms()
2467 if (xg_check_num_args (pnum_args, 0, opname, arg_strings)) in xg_translate_idioms()
2482 if ((((opname[0] == 'r' || opname[0] == 'w') in xg_translate_idioms()
2483 && (opname[1] == 'u' || opname[1] == 's')) in xg_translate_idioms()
2484 || (opname[0] == 'x' && opname[1] == 's')) in xg_translate_idioms()
2485 && opname[2] == 'r' in xg_translate_idioms()
2486 && opname[3] == '\0') in xg_translate_idioms()
2491 if ((opname[0] == 'r' || opname[0] == 'w') in xg_translate_idioms()
2492 && xtensa_opcode_lookup (xtensa_default_isa, opname) == XTENSA_UNDEFINED) in xg_translate_idioms()
2630 const char *opname; in print_vliw_insn() local
2635 opname = xtensa_opcode_name (isa, opcode); in print_vliw_insn()
2637 fprintf (stderr, "op in slot %i is %s;\n", op, opname); in print_vliw_insn()
5397 char *opname; in md_assemble() local
5408 opname = xmalloc (opnamelen + 1); in md_assemble()
5409 memcpy (opname, str, opnamelen); in md_assemble()
5410 opname[opnamelen] = '\0'; in md_assemble()
5419 if (xg_translate_idioms (&opname, &num_args, arg_strings)) in md_assemble()
5423 if (*opname == '_') in md_assemble()
5426 opname += 1; in md_assemble()
5432 orig_insn.opcode = xtensa_opcode_lookup (isa, opname); in md_assemble()
5437 && strncasecmp (opname, "callx", 5) == 0) in md_assemble()
5442 window_size = strtoul (opname + 5, &suffix, 10); in md_assemble()
5443 if (suffix != opname + 5 in md_assemble()
5459 as_bad (_("wrong number of operands for '%s'"), opname); in md_assemble()
5475 as_bad (_("bad relocation expression for '%s'"), opname); in md_assemble()
5485 && strncasecmp (opname, "j.l", 3) == 0) in md_assemble()
5488 as_bad (_("wrong number of operands for '%s'"), opname); in md_assemble()
5507 xtensa_format fmt = xtensa_format_lookup (isa, opname); in md_assemble()
5510 as_bad (_("unknown opcode or format name '%s'"), opname); in md_assemble()
5522 opname); in md_assemble()
5524 free (has_underbar ? opname - 1 : opname); in md_assemble()
5538 free (has_underbar ? opname - 1 : opname); in md_assemble()
5539 opname = 0; in md_assemble()