Home
last modified time | relevance | path

Searched refs:regno (Results 1 – 25 of 73) sorted by relevance

123

/external/elfutils/backends/
Dppc_regs.c41 int regno, char *name, size_t namelen, in ppc_register_info() argument
48 if (regno < 0 || regno > 1155 || namelen < 8) in ppc_register_info()
53 *type = (regno < 32 ? DW_ATE_signed in ppc_register_info()
54 : regno < 64 ? DW_ATE_float : DW_ATE_unsigned); in ppc_register_info()
56 if (regno < 32 || regno == 64 || regno == 66) in ppc_register_info()
58 else if (regno < 64 || regno == 65) in ppc_register_info()
61 if (ebl->machine != EM_PPC64 && regno < 64) in ppc_register_info()
64 else if (regno == 67 || regno == 356 || regno == 612 || regno >= 1124) in ppc_register_info()
67 *bits = regno >= 1124 ? 128 : 32; in ppc_register_info()
72 switch (regno) in ppc_register_info()
[all …]
Dia64_regs.c41 int regno, char *name, size_t namelen, in ia64_register_info() argument
48 if (regno < 0 || regno > 687 + 63 || namelen < 12) in ia64_register_info()
55 switch (regno) in ia64_register_info()
59 name[1] = (regno - 0) + '0'; in ia64_register_info()
67 name[1] = (regno - 0) / 10 + '0'; in ia64_register_info()
68 name[2] = (regno - 0) % 10 + '0'; in ia64_register_info()
77 name[2] = (regno - 100) / 10 + '0'; in ia64_register_info()
78 name[3] = (regno - 0) % 10 + '0'; in ia64_register_info()
86 name[1] = (regno - 128) + '0'; in ia64_register_info()
96 name[1] = (regno - 128) / 10 + '0'; in ia64_register_info()
[all …]
Ds390_regs.c58 int regno, char *name, size_t namelen, in s390_register_info() argument
65 if (regno < 0 || regno > 65 || namelen < 7) in s390_register_info()
72 if (regno < 16) in s390_register_info()
77 else if (regno < 32) in s390_register_info()
83 else if (regno < 48 || regno > 63) in s390_register_info()
91 switch (regno) in s390_register_info()
95 name[1] = regno + '0'; in s390_register_info()
102 name[2] = regno - 10 + '0'; in s390_register_info()
108 regno = (regno & 8) | ((regno & 4) >> 2) | ((regno & 3) << 1); in s390_register_info()
110 if (regno >= 10) in s390_register_info()
[all …]
Dsparc_regs.c41 int regno, char *name, size_t namelen, in sparc_register_info() argument
51 if (regno < 0 || regno >= 32 + nfp + nspec || namelen < 6) in sparc_register_info()
59 if (regno >= 32 + nfp) in sparc_register_info()
61 regno -= 32 + nfp; in sparc_register_info()
69 if ((ebl->class == ELFCLASS64 ? 0 : 4) + 1 - (unsigned int) regno <= 1) in sparc_register_info()
71 return stpncpy (name, names[ebl->class == ELFCLASS64][regno], in sparc_register_info()
75 if (regno < 32) in sparc_register_info()
78 name[0] = "goli"[regno >> 3]; in sparc_register_info()
79 name[1] = (regno & 7) + '0'; in sparc_register_info()
81 if ((regno & 8) && (regno & 7) == 6) in sparc_register_info()
[all …]
Dx86_64_regs.c42 int regno, char *name, size_t namelen, in x86_64_register_info() argument
49 if (regno < 0 || regno > 66 || namelen < 7) in x86_64_register_info()
55 if (regno < 17) in x86_64_register_info()
60 else if (regno < 33) in x86_64_register_info()
65 else if (regno < 41) in x86_64_register_info()
71 else if (regno < 49) in x86_64_register_info()
73 else if (regno > 49 && regno < 60) in x86_64_register_info()
81 switch (regno) in x86_64_register_info()
92 name[1] = baseregs[regno][0]; in x86_64_register_info()
93 name[2] = baseregs[regno][1]; in x86_64_register_info()
[all …]
Di386_regs.c41 int regno, char *name, size_t namelen, in i386_register_info() argument
48 if (regno < 0 || regno > 45 || namelen < 6) in i386_register_info()
54 if (regno < 11) in i386_register_info()
57 if (regno < 9) in i386_register_info()
60 else if (regno < 19) in i386_register_info()
66 else if (regno < 29) in i386_register_info()
71 else if (regno < 37) in i386_register_info()
76 else if (regno < 40) in i386_register_info()
84 switch (regno) in i386_register_info()
98 name[1] = baseregs[regno][0]; in i386_register_info()
[all …]
Darm_regs.c41 int regno, char *name, size_t namelen, in arm_register_info() argument
48 if (regno < 0 || regno > 320 || namelen < 5) in arm_register_info()
56 switch (regno) in arm_register_info()
60 name[1] = regno + '0'; in arm_register_info()
67 name[2] = regno % 10 + '0'; in arm_register_info()
73 name[0] = "slp"[regno - 13]; in arm_register_info()
74 name[1] = "prc"[regno - 13]; in arm_register_info()
79 regno += 96 - 16; in arm_register_info()
86 name[1] = regno - 96 + '0'; in arm_register_info()
99 name[1] = regno - 256 + '0'; in arm_register_info()
[all …]
Dalpha_regs.c41 int regno, char *name, size_t namelen, in alpha_register_info() argument
48 if (regno < 0 || regno > 66 || namelen < 7) in alpha_register_info()
56 if (regno >= 32 && regno < 64) in alpha_register_info()
62 switch (regno) in alpha_register_info()
72 name[1] = regno - 1 + '0'; in alpha_register_info()
78 name[1] = regno - 9 + '0'; in alpha_register_info()
84 name[1] = regno - 16 + '0'; in alpha_register_info()
90 name[1] = regno - 22 + '8'; in alpha_register_info()
97 name[2] = regno - 24 + '0'; in alpha_register_info()
124 name[1] = regno - 32 + '0'; in alpha_register_info()
[all …]
Dppc_initreg.c44 ppc_dwarf_to_regno (Ebl *ebl __attribute__ ((unused)), unsigned *regno) in ppc_dwarf_to_regno() argument
46 switch (*regno) in ppc_dwarf_to_regno()
50 *regno = 65; in ppc_dwarf_to_regno()
56 *regno = *regno - 1200 + (114 - 1); in ppc_dwarf_to_regno()
85 for (unsigned regno = 0; regno < sizeof (user_regs) / sizeof (long); in ppc_set_initial_registers_tid()
86 regno++) in ppc_set_initial_registers_tid()
88 user_regs.l[regno] = ptrace (PTRACE_PEEKUSER, tid, in ppc_set_initial_registers_tid()
89 (void *) (uintptr_t) (regno in ppc_set_initial_registers_tid()
Dsh_regs.c43 int regno, char *name, size_t namelen, in sh_register_info() argument
50 if (regno < 0 || regno > 103 || namelen < 6) in sh_register_info()
57 switch (regno) in sh_register_info()
62 name[1] = regno + '0'; in sh_register_info()
70 name[2] = regno - 10 + '0'; in sh_register_info()
152 name[2] = regno - 25 + '0'; in sh_register_info()
162 name[3] = regno - 35 + '0'; in sh_register_info()
171 name[2] = regno - 87 + '0'; in sh_register_info()
181 name[3] = regno - 97 + '0'; in sh_register_info()
Di386_corenote.c46 { .offset = at * 4, .regno = dwreg, .count = n, .bits = 32 }
48 { .offset = at * 4, .regno = dwreg, .count = n, .bits = 16, .pad = 2 }
93 { .offset = 0, .regno = 37, .count = 2, .bits = 32 }, /* fctrl-fstat */
94 { .offset = 7 * 4, .regno = 11, .count = 8, .bits = 80 }, /* stN */
100 { .offset = 0, .regno = 37, .count = 2, .bits = 16 }, /* fctrl-fstat */
101 { .offset = 24, .regno = 39, .count = 1, .bits = 32 }, /* mxcsr */
102 { .offset = 32, .regno = 11, .count = 8, .bits = 80, .pad = 6 }, /* stN */
103 { .offset = 32 + 128, .regno = 21, .count = 8, .bits = 128 }, /* xmm */
Dtilegx_regs.c42 int regno, char *name, size_t namelen, in tilegx_register_info() argument
49 if (regno < 0 || regno > 64 || namelen < 5) in tilegx_register_info()
56 switch (regno) in tilegx_register_info()
61 name[1] = regno + '0'; in tilegx_register_info()
68 name[1] = regno / 10 + '0'; in tilegx_register_info()
69 name[2] = regno % 10 + '0'; in tilegx_register_info()
Dppc_corenote.c51 { .offset = at * BITS/8, .regno = dwreg, .count = n, .bits = BITS }
72 { .offset = 0, .regno = 32, .count = 32, .bits = 64 }, /* f0-f31 */
73 { .offset = 32 * 8 + 4, .regno = 65, .count = 1, .bits = 32 } /* fpscr */
80 { .offset = 0, .regno = 1124, .count = 32, .bits = 128 },
82 { .offset = 32 * 16, .regno = 67, .count = 1, .bits = 32, .pad = 12 },
84 { .offset = 33 * 16, .regno = 356, .count = 1, .bits = 32, .pad = 12 }
94 { .offset = 34 * 4, .regno = 612, .count = 1, .bits = 32 }
Dx86_64_corenote.c53 { .offset = at * 8, .regno = dwreg, .count = n, .bits = 64 }
55 { .offset = at * 8, .regno = dwreg, .count = n, .bits = 16, .pad = 6 }
129 { .offset = 0, .regno = 65, .count = 2, .bits = 16 }, /* fcw-fsw */
130 { .offset = 24, .regno = 64, .count = 1, .bits = 32 }, /* mxcsr */
131 { .offset = 32, .regno = 33, .count = 8, .bits = 80, .pad = 6 }, /* stN */
132 { .offset = 32 + 128, .regno = 17, .count = 16, .bits = 128 }, /* xmm */
Dsh_corenote.c46 { .offset = at * 4, .regno = dwreg, .count = n, .bits = 32 }
81 { .offset = 0, .regno = 25, .count = 16, .bits = 32 }, /* fr0-fr15 */
82 { .offset = 16, .regno = 87, .count = 16, .bits = 32 }, /* xf0-xf15 */
83 { .offset = 32, .regno = 24, .count = 1, .bits = 32 }, /* fpscr */
84 { .offset = 33, .regno = 23, .count = 1, .bits = 32 } /* fpul */
Dalpha_corenote.c44 { .offset = 0, .regno = 0, .count = 31, .bits = 64 }, /* r0-r30 */
45 { .offset = 32 * 8, .regno = 64, .count = 1, .bits = 64 }, /* pc */
46 { .offset = 33 * 8, .regno = 66, .count = 1, .bits = 64 }, /* unique */
52 { .offset = 0, .regno = 32, .count = 32, .bits = 64 }, /* f0-f30, fpcr */
Darm_corenote.c45 { .offset = 0, .regno = 0, .count = 16, .bits = 32 }, /* r0..r15 */
46 { .offset = 16 * 4, .regno = 128, .count = 1, .bits = 32 }, /* cpsr */
59 { .offset = 0, .regno = 96, .count = 8, .bits = 96 }, /* f0..f7 */
79 { .offset = 0, .regno = 256, .count = 32, .bits = 64 }, /* fpregs */
Daarch64_regs.c62 int regno, char *name, size_t namelen, in aarch64_register_info() argument
76 switch (regno) in aarch64_register_info()
79 return regtype ("integer", DW_ATE_signed, "x%d", regno); in aarch64_register_info()
100 return regtype ("FP/SIMD", DW_ATE_unsigned, "v%d", regno - 64); in aarch64_register_info()
/external/elfutils/tests/
Dallregs.c75 int regno; member
86 return a->regno - b->regno; in compare()
100 int regno, in one_register() argument
108 if (regno >= state->nregs) in one_register()
110 state->info = realloc (state->info, (regno + 1) * sizeof state->info[0]); in one_register()
112 ((void *) &state->info[regno + 1] in one_register()
114 state->nregs = regno + 1; in one_register()
117 state->info[regno].regno = regno; in one_register()
118 state->info[regno].set = setname; in one_register()
119 state->info[regno].pfx = prefix; in one_register()
[all …]
/external/elfutils/libdw/
Dcfi.c121 #define register_rule(regno, r_rule, r_value) do { \ in execute_cfi() argument
122 if (unlikely (! enough_registers (regno, &fs, &result))) \ in execute_cfi()
124 fs->regs[regno].rule = reg_##r_rule; \ in execute_cfi()
125 fs->regs[regno].value = (r_value); \ in execute_cfi()
131 Dwarf_Word regno; in execute_cfi() local
184 get_uleb128 (regno, program, end); in execute_cfi()
186 fs->cfa_val_reg = regno; in execute_cfi()
219 get_uleb128 (regno, program, end); in execute_cfi()
220 register_rule (regno, undefined, 0); in execute_cfi()
224 get_uleb128 (regno, program, end); in execute_cfi()
[all …]
/external/valgrind/coregrind/m_gdbserver/
Dtarget.c356 void fetch_register (int regno) in fetch_register() argument
362 if (regno >= the_low_target.num_regs) { in fetch_register()
364 regno, the_low_target.num_regs); in fetch_register()
367 size = register_size (regno); in fetch_register()
372 (*the_low_target.transfer_register) (tid, regno, buf, in fetch_register()
376 supply_register (regno, buf, &mod); in fetch_register()
381 regno, size, the_low_target.reg_defs[regno].name, bufimage, in fetch_register()
389 void usr_fetch_inferior_registers (int regno) in usr_fetch_inferior_registers() argument
391 if (regno == -1 || regno == 0) in usr_fetch_inferior_registers()
392 for (regno = 0; regno < the_low_target.num_regs; regno++) in usr_fetch_inferior_registers()
[all …]
/external/elfutils/libdwfl/
Dframe_unwind.c52 __libdwfl_frame_reg_get (Dwfl_Frame *state, unsigned regno, Dwarf_Addr *val) in __libdwfl_frame_reg_get() argument
55 if (! ebl_dwarf_to_regno (ebl, &regno)) in __libdwfl_frame_reg_get()
57 if (regno >= ebl_frame_nregs (ebl)) in __libdwfl_frame_reg_get()
59 if ((state->regs_set[regno / sizeof (*state->regs_set) / 8] in __libdwfl_frame_reg_get()
60 & ((uint64_t) 1U << (regno % (sizeof (*state->regs_set) * 8)))) == 0) in __libdwfl_frame_reg_get()
63 *val = state->regs[regno]; in __libdwfl_frame_reg_get()
69 __libdwfl_frame_reg_set (Dwfl_Frame *state, unsigned regno, Dwarf_Addr val) in __libdwfl_frame_reg_set() argument
72 if (! ebl_dwarf_to_regno (ebl, &regno)) in __libdwfl_frame_reg_set()
74 if (regno >= ebl_frame_nregs (ebl)) in __libdwfl_frame_reg_set()
79 state->regs_set[regno / sizeof (*state->regs_set) / 8] |= in __libdwfl_frame_reg_set()
[all …]
Ddwfl_frame_regs.c38 for (unsigned regno = firstreg; regno < firstreg + nregs; regno++) in dwfl_thread_state_registers() local
39 if (! __libdwfl_frame_reg_set (state, regno, regs[regno - firstreg])) in dwfl_thread_state_registers()
Ddwfl_module_register_names.c55 for (int regno = 0; regno < nregs && likely (result == 0); ++regno) in dwfl_module_register_names() local
62 ssize_t len = ebl_register_info (mod->ebl, regno, name, sizeof name, in dwfl_module_register_names()
73 result = (*func) (arg, regno, setname, prefix, name, bits, type); in dwfl_module_register_names()
/external/libunwind_llvm/src/
DUnwind-EHABI.cpp755 uint32_t regno, _Unwind_VRS_DataRepresentation representation, in _Unwind_VRS_Set() argument
759 static_cast<void *>(context), regclass, regno, in _Unwind_VRS_Set()
765 if (representation != _UVRSD_UINT32 || regno > 15) in _Unwind_VRS_Set()
767 return unw_set_reg(cursor, (unw_regnum_t)(UNW_ARM_R0 + regno), in _Unwind_VRS_Set()
776 if (regno > 15) in _Unwind_VRS_Set()
780 if (regno > 31) in _Unwind_VRS_Set()
783 return unw_set_fpreg(cursor, (unw_regnum_t)(UNW_ARM_D0 + regno), in _Unwind_VRS_Set()
789 if (representation != _UVRSD_UINT32 || regno > 3) in _Unwind_VRS_Set()
791 return unw_set_reg(cursor, (unw_regnum_t)(UNW_ARM_WC0 + regno), in _Unwind_VRS_Set()
796 if (representation != _UVRSD_DOUBLE || regno > 31) in _Unwind_VRS_Set()
[all …]

123