Lines Matching refs:reg
176 static bool pop_vsp(uint32_t *reg, vaddr_t *vsp, vaddr_t stack, in pop_vsp() argument
181 if (*vsp + sizeof(*reg) > stack + stack_size) in pop_vsp()
184 if (!copy_in(reg, (void *)*vsp, sizeof(*reg))) in pop_vsp()
186 (*vsp) += sizeof(*reg); in pop_vsp()
210 unsigned int reg; in unwind_exec_insn() local
225 for (reg = 4; mask && reg < 16; mask >>= 1, reg++) { in unwind_exec_insn()
227 if (!pop_vsp(&state->registers[reg], &vsp, in unwind_exec_insn()
230 state->update_mask |= 1 << reg; in unwind_exec_insn()
233 if (reg == SP) in unwind_exec_insn()
246 unsigned int count, reg; in unwind_exec_insn() local
255 for (reg = 4; reg <= 4 + count; reg++) { in unwind_exec_insn()
256 if (!pop_vsp(&state->registers[reg], &vsp, in unwind_exec_insn()
259 state->update_mask |= 1 << reg; in unwind_exec_insn()
275 unsigned int reg; in unwind_exec_insn() local
286 for (reg = 0; mask && reg < 4; mask >>= 1, reg++) { in unwind_exec_insn()
288 if (!pop_vsp(&state->registers[reg], &vsp, in unwind_exec_insn()
291 state->update_mask |= 1 << reg; in unwind_exec_insn()