Lines Matching refs:context
42 env->context.special[UWX_REG_IP] = ip;
43 env->context.special[UWX_REG_SP] = sp;
44 env->context.special[UWX_REG_BSP] = bsp;
45 env->context.special[UWX_REG_CFM] = cfm;
47 env->context.special[i] = 0;
49 env->context.gr[i] = 0;
50 env->context.valid_regs = VALID_BASIC4;
51 env->context.valid_frs = 0;
72 if (regid < NSPECIALREG && (env->context.valid_regs & (1 << regid)))
73 *valp = env->context.special[regid];
79 *valp = env->context.special[regid];
82 (env->context.valid_regs &
84 *valp = env->context.gr[regid - UWX_REG_GR(4)];
88 bsp = env->context.special[UWX_REG_BSP];
91 sor = (((int) env->context.special[UWX_REG_CFM] >> 14) & 0x0f) * 8;
92 rrb_gr = ((int) env->context.special[UWX_REG_CFM] >> 18) & 0x7f;
106 (env->context.valid_regs &
108 *valp = env->context.br[regid - UWX_REG_BR(1)];
110 (env->context.valid_frs & (1 << (regid - UWX_REG_FR(2)))) ) {
111 valp[0] = env->context.fr[regid - UWX_REG_FR(2)].part0;
112 valp[1] = env->context.fr[regid - UWX_REG_FR(2)].part1;
115 (env->context.valid_frs & (1 << (regid - UWX_REG_FR(16) + 4))) ) {
116 valp[0] = env->context.fr[regid - UWX_REG_FR(16) + 4].part0;
117 valp[1] = env->context.fr[regid - UWX_REG_FR(16) + 4].part1;
166 (env->context.valid_regs &
168 *natp = (env->context.special[UWX_REG_PRIUNAT] >>
174 bsp = env->context.special[UWX_REG_BSP];
176 sor = (((int) env->context.special[UWX_REG_CFM] >> 14) & 0x0f) * 8;
177 rrb_gr = ((int) env->context.special[UWX_REG_CFM] >> 18) & 0x7f;
213 if (!(env->context.valid_regs & (1 << regid))) {
224 bsp = env->context.special[UWX_REG_BSP];
226 sor = (((int) env->context.special[UWX_REG_CFM] >> 14) & 0x0f) * 8;
227 rrb_gr = ((int) env->context.special[UWX_REG_CFM] >> 18) & 0x7f;
258 env->context.special[regid] = val;
259 env->context.valid_regs |= 1 << regid;
263 env->context.gr[regid - UWX_REG_GR(4)] = val;
264 env->context.valid_regs |=
272 env->context.br[regid - UWX_REG_BR(1)] = val;
273 env->context.valid_regs |=
292 env->context.fr[regid].part0 = val[0];
293 env->context.fr[regid].part1 = val[1];
294 env->context.valid_frs |= 1 << regid;