Home | History | Annotate | Download | only in useful

Lines Matching full:regno

273    UInt regno = fp_get_tos();
274 assert(regno >= 0 && regno < 8);
275 regno += stregno;
276 if (regno >= 8) regno -= 8;
277 assert(regno >= 0 && regno < 8);
278 return regno;
304 UInt fp_get_tag ( UInt regno )
306 if (regno < 0 || regno > 7) panic("fp_get_tag");
307 return (m_fpu_state.env[FP_ENV_TAG] >> (2*regno)) & 3;
320 void fp_set_tag ( UInt regno, UInt val )
322 if (regno < 0 || regno > 7 ||
324 m_fpu_state.env[FP_ENV_TAG] &= ~(3 << (2*regno));
325 m_fpu_state.env[FP_ENV_TAG] |= (val << (2*regno));