Lines Matching defs:gprs
51 /* Place in GPRS the parameters to the first 'sc' instruction that would
56 interpret_libc (reg_unit gprs[32], struct _Unwind_Context *context)
67 gprs[i] = 1;
68 gprs[1] = _Unwind_GetCFA (context);
70 gprs[i] = _Unwind_GetGR (context, i);
113 int32_t val2 = gprs[ins >> 16 & 0x1F];
131 gprs [ins >> 16 & 0x1F] = (gprs [ins >> 11 & 0x1F]
132 | gprs [ins >> 21 & 0x1F]);
137 reg_unit src = (ins >> 16 & 0x1F) == 0 ? 0 : gprs [ins >> 16 & 0x1F];
138 gprs [ins >> 21 & 0x1F] = src + (int16_t) ins;
143 reg_unit src = (ins >> 16 & 0x1F) == 0 ? 0 : gprs [ins >> 16 & 0x1F];
144 gprs [ins >> 21 & 0x1F] = src + ((int16_t) ins << 16);
149 reg_unit src = (ins >> 16 & 0x1F) == 0 ? 0 : gprs [ins >> 16 & 0x1F];
153 gprs [ins >> 21 & 0x1F] = *p;
158 uint32_t *p = (uint32_t *)(gprs [ins >> 16 & 0x1F] += (int16_t) ins);
161 gprs [ins >> 21 & 0x1F] = *p;
169 reg_unit src = (ins >> 16 & 0x1F) == 0 ? 0 : gprs [ins >> 16 & 0x1F];
178 reg_unit src = (ins >> 16 & 0x1F) == 0 ? 0 : gprs [ins >> 16 & 0x1F];
186 gprs[i] = *p++;
192 lr = gprs [ins >> 21 & 0x1F];
197 gprs [ins >> 21 & 0x1F] = lr;
202 ctr = gprs [ins >> 21 & 0x1F];
214 cr = (cr & ~mask) | (gprs [ins >> 21 & 0x1F] & mask);
321 /* Given GPRS as input to a 'sc' instruction, and OLD_CFA, update FS
326 handle_syscall (_Unwind_FrameState *fs, const reg_unit gprs[32],
341 if (gprs[0] == 0x67 /* SYS_SIGRETURN */)
343 uctx = (struct gcc_ucontext *) gprs[3];
349 else if (gprs[0] == 0 /* SYS_syscall */ && gprs[3] == 184)
351 int ctxstyle = gprs[5];
352 uctx = (struct gcc_ucontext *) gprs[4];
358 else if (gprs[0] == 184 /* SYS_sigreturn */)
360 int ctxstyle = gprs[4];
361 uctx = (struct gcc_ucontext *) gprs[3];
378 /* Handle the GPRs, and produce the information needed to do the rest. */
482 reg_unit gprs[32];
484 if (!interpret_libc (gprs, context))
486 return handle_syscall (fs, gprs, _Unwind_GetCFA (context));