Home
last modified time | relevance | path

Searched refs:regname (Results 1 – 25 of 40) sorted by relevance

12

/toolchain/binutils/binutils-2.25/opcodes/
Dia64-dis.c79 char regname[16]; in print_insn_ia64() local
198 sprintf (regname, "ar.k%u", (unsigned int) value); in print_insn_ia64()
200 case 16: strcpy (regname, "ar.rsc"); break; in print_insn_ia64()
201 case 17: strcpy (regname, "ar.bsp"); break; in print_insn_ia64()
202 case 18: strcpy (regname, "ar.bspstore"); break; in print_insn_ia64()
203 case 19: strcpy (regname, "ar.rnat"); break; in print_insn_ia64()
204 case 21: strcpy (regname, "ar.fcr"); break; in print_insn_ia64()
205 case 24: strcpy (regname, "ar.eflag"); break; in print_insn_ia64()
206 case 25: strcpy (regname, "ar.csd"); break; in print_insn_ia64()
207 case 26: strcpy (regname, "ar.ssd"); break; in print_insn_ia64()
[all …]
Dm68k-dis.c640 const char *regname; in print_insn_arg() local
700 struct regname { char * name; int value; }; in print_insn_arg() argument
701 static const struct regname names[] = in print_insn_arg()
728 static const struct regname names_v4e[] = in print_insn_arg()
1011 regname = reg_names[regno]; in print_insn_arg()
1019 (*info->fprintf_func) (info->stream, "%s", regname); in print_insn_arg()
1023 (*info->fprintf_func) (info->stream, "%s@", regname); in print_insn_arg()
1027 (*info->fprintf_func) (info->stream, "%s@+", regname); in print_insn_arg()
1031 (*info->fprintf_func) (info->stream, "%s@-", regname); in print_insn_arg()
1036 (*info->fprintf_func) (info->stream, "%s@(%d)", regname, val); in print_insn_arg()
/toolchain/binutils/binutils-2.25/binutils/
Dunwind-ia64.c192 char regname[16], maskstr[64], *sep; \
221 sprintf (regname, "r%u", grsave); \
223 fmt, maskstr, regname, (unsigned long) rlen); \
377 char regname[20]; \
379 unw_print_abreg (regname, abreg); \
381 fmt, regname, (unsigned long) t, 4*(unsigned long)off); \
388 char regname[20]; \
390 unw_print_abreg (regname, abreg); \
392 fmt, regname, (unsigned long) t, 4*(unsigned long)pspoff); \
399 char regname[20]; \
[all …]
Ddwarf.c32 static const char *regname (unsigned int regno, int row);
1168 regname (op - DW_OP_reg0, 1)); in decode_location_expression()
1205 regname (op - DW_OP_breg0, 1), in decode_location_expression()
1214 dwarf_vmatoa ("u", uvalue), regname (uvalue, 1)); in decode_location_expression()
1226 dwarf_vmatoa ("u", uvalue), regname (uvalue, 1), in decode_location_expression()
1380 dwarf_vmatoa ("u", uvalue), regname (uvalue, 1)); in decode_location_expression()
5642 regname (unsigned int regno, int row) in regname() function
5682 printf ("%-5s ", regname (r, 1)); in frame_display_row()
5692 sprintf (tmp, "%s%+d", regname (fc->cfa_reg, 1), fc->cfa_offset); in frame_display_row()
5714 sprintf (tmp, "%s", regname (fc->col_offset[r], 0)); in frame_display_row()
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/cris/
Dcris.exp245 proc to_sreg { regname regno regtype input_avoid } {
250 "@OC@\[^ \]+ (.*),r\[0-9\]+" [format "@OC@ \\1,%s" $regname] \
251 $regname
255 proc sreg_to { regname regno regtype input_avoid } {
259 "@OC@ (.*)" [format "@OC@ %s,\\1" $regname] $regname
263 proc push_pop { regname regno regtype input_avoid } {
267 "(\\.\[bwd\])? ((\[^, \]*,)?)r\[0-9\]+((,.*)?)" " \\2$regname\\4" $regname
275 set regname [lindex [lindex $spec_reg_list $i] 0]
282 $inner_function $regname $regno $regtype $input_avoid
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-sparc.c4389 const char *regname; in s_register() local
4403 regname = input_line_pointer; in s_register()
4405 if (strcmp (regname, "scratch") && strcmp (regname, "ignore")) in s_register()
4407 if (regname[0] == 'i') in s_register()
4408 regname = NULL; in s_register()
4410 regname = ""; in s_register()
4414 regname = input_line_pointer; in s_register()
4421 if ((regname && globals[reg] != (symbolS *) 1 in s_register()
4422 && strcmp (S_GET_NAME (globals[reg]), regname)) in s_register()
4423 || ((regname != NULL) ^ (globals[reg] != (symbolS *) 1))) in s_register()
[all …]
Dtc-dlx.c87 insert_sreg (char *regname, int regnum) in insert_sreg() argument
93 symbol_table_insert (symbol_new (regname, reg_section, (valueT) regnum, in insert_sreg()
95 for (i = 0; regname[i]; i++) in insert_sreg()
96 buf[i] = ISLOWER (regname[i]) ? TOUPPER (regname[i]) : regname[i]; in insert_sreg()
Dtc-tilepro.c983 char* regname = input_line_pointer; in parse_reg_expression() local
986 void* pval = hash_find (main_reg_hash, regname); in parse_reg_expression()
989 as_bad (_("Expected register, got '%s'."), regname); in parse_reg_expression()
998 regname, tilepro_register_names[regno]); in parse_reg_expression()
1666 tc_tilepro_regname_to_dw2regnum (char *regname) in tc_tilepro_regname_to_dw2regnum() argument
1672 if (!strcmp (regname, tilepro_register_names[i])) in tc_tilepro_regname_to_dw2regnum()
Dtc-tilegx.c1091 char* regname = input_line_pointer; in parse_reg_expression() local
1094 void* pval = hash_find (main_reg_hash, regname); in parse_reg_expression()
1098 as_bad (_("Expected register, got '%s'."), regname); in parse_reg_expression()
1109 regname, in parse_reg_expression()
1885 tc_tilegx_regname_to_dw2regnum (char *regname) in tc_tilegx_regname_to_dw2regnum() argument
1890 if (!strcmp (regname, tilegx_register_names[i])) in tc_tilegx_regname_to_dw2regnum()
Dtc-s390.h90 extern int tc_s390_regname_to_dw2regnum (char *regname);
Dtc-nios2.h117 extern int nios2_regname_to_dw2regnum (char *regname);
Dtc-m68k.h175 extern int tc_m68k_regname_to_dw2regnum (char *regname);
Dtc-s390.c2496 tc_s390_regname_to_dw2regnum (char *regname) in tc_s390_regname_to_dw2regnum() argument
2500 if (regname[0] != 'c' && regname[0] != 'a') in tc_s390_regname_to_dw2regnum()
2502 regnum = reg_name_search (pre_defined_registers, REG_NAME_CNT, regname); in tc_s390_regname_to_dw2regnum()
2503 if (regname[0] == 'f' && regnum != -1) in tc_s390_regname_to_dw2regnum()
2506 else if (strcmp (regname, "ap") == 0) in tc_s390_regname_to_dw2regnum()
2508 else if (strcmp (regname, "cc") == 0) in tc_s390_regname_to_dw2regnum()
Dtc-mips.h187 extern int tc_mips_regname_to_dw2regnum (char *regname);
Dtc-hppa.h218 extern int hppa_regname_to_dw2regnum (char *regname);
Dtc-sparc.h193 extern int sparc_regname_to_dw2regnum (char *regname);
Dtc-tic6x.h209 int tic6x_regname_to_dw2regnum (char *regname);
Dtc-aarch64.h223 extern int tc_aarch64_regname_to_dw2regnum (char *regname);
Dtc-sh.c4600 sh_regname_to_dw2regnum (char *regname) in sh_regname_to_dw2regnum() argument
4613 if (strcmp (regnames[i].name, regname) == 0) in sh_regname_to_dw2regnum()
4616 if (regname[0] == 'r') in sh_regname_to_dw2regnum()
4618 p = regname + 1; in sh_regname_to_dw2regnum()
4623 else if (regname[0] == 'f' && regname[1] == 'r') in sh_regname_to_dw2regnum()
4625 p = regname + 2; in sh_regname_to_dw2regnum()
4631 else if (regname[0] == 'x' && regname[1] == 'd') in sh_regname_to_dw2regnum()
4633 p = regname + 2; in sh_regname_to_dw2regnum()
Dtc-tic4x.c621 tic4x_insert_reg (char *regname, int regnum) in tic4x_insert_reg() argument
626 symbol_table_insert (symbol_new (regname, reg_section, (valueT) regnum, in tic4x_insert_reg()
628 for (i = 0; regname[i]; i++) in tic4x_insert_reg()
629 buf[i] = ISLOWER (regname[i]) ? TOUPPER (regname[i]) : regname[i]; in tic4x_insert_reg()
Dtc-ppc.c7156 tc_ppc_regname_to_dw2regnum (char *regname) in tc_ppc_regname_to_dw2regnum() argument
7171 if (strcmp (regnames[i].name, regname) == 0) in tc_ppc_regname_to_dw2regnum()
7174 if (regname[0] == 'r' || regname[0] == 'f' || regname[0] == 'v') in tc_ppc_regname_to_dw2regnum()
7176 p = regname + 1 + (regname[1] == '.'); in tc_ppc_regname_to_dw2regnum()
7180 if (regname[0] == 'f') in tc_ppc_regname_to_dw2regnum()
7182 else if (regname[0] == 'v') in tc_ppc_regname_to_dw2regnum()
7185 else if (regname[0] == 'c' && regname[1] == 'r') in tc_ppc_regname_to_dw2regnum()
7187 p = regname + 2 + (regname[2] == '.'); in tc_ppc_regname_to_dw2regnum()
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/
Dmaverick.c160 #define LDST(insname, insnvar, op, ld, dword, regname, pre, wb, sep1, sep2, sep3) \ argument
163 mvreg (regname, 12), comma, \
170 #define LDSTall(insname, op, ld, dword, regname) \ argument
171 LDST (insname, _p, op, ld, dword, regname, 1, 0, nothing, rsqbkt, nothing); \
172 LDST (insname, _pw, op, ld, dword, regname, 1, 1, nothing, rsqbkt, literal ("!")); \
173 LDST (insname, ,op, ld, dword, regname, 0, 1, rsqbkt, nothing, nothing)
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/all/
Dtest-gen.c585 char *regname = (char *) arg->p1; local
587 data->as_in = data->dis_out = malloc (strlen (regname) + ulen (reg, 10) + 1);
588 sprintf (data->as_in, "%s%u", regname, reg);
/toolchain/binutils/binutils-2.25/gas/
Ditbl-ops.h96 char *regname, int regnum);
Ditbl-ops.c197 itbl_add_reg (int yyprocessor, int yytype, char *regname, in itbl_add_reg() argument
200 return alloc_entry (get_processor (yyprocessor), get_type (yytype), regname, in itbl_add_reg()

12