Lines Matching refs:tcstatus
703 int32_t tcstatus; in helper_mftc0_entryhi() local
706 tcstatus = env->active_tc.CP0_TCStatus; in helper_mftc0_entryhi()
708 tcstatus = env->tcs[other_tc].CP0_TCStatus; in helper_mftc0_entryhi()
710 return (env->CP0_EntryHi & ~0xff) | (tcstatus & 0xff); in helper_mftc0_entryhi()
717 int32_t tcstatus; in helper_mftc0_status() local
720 tcstatus = env->active_tc.CP0_TCStatus; in helper_mftc0_status()
722 tcstatus = env->tcs[other_tc].CP0_TCStatus; in helper_mftc0_status()
725 t0 |= tcstatus & (0xf << CP0TCSt_TCU0); in helper_mftc0_status()
726 t0 |= (tcstatus & (1 << CP0TCSt_TMX)) >> (CP0TCSt_TMX - CP0St_MX); in helper_mftc0_status()
727 t0 |= (tcstatus & (0x3 << CP0TCSt_TKSU)) >> (CP0TCSt_TKSU - CP0St_KSU); in helper_mftc0_status()
759 int32_t tcstatus; in helper_mftc0_debug() local
762 tcstatus = env->active_tc.CP0_Debug_tcstatus; in helper_mftc0_debug()
764 tcstatus = env->tcs[other_tc].CP0_Debug_tcstatus; in helper_mftc0_debug()
768 (tcstatus & ((1 << CP0DB_SSt) | (1 << CP0DB_Halt))); in helper_mftc0_debug()
1137 int32_t tcstatus; in helper_mttc0_entryhi() local
1141 tcstatus = (env->active_tc.CP0_TCStatus & ~0xff) | (arg1 & 0xff); in helper_mttc0_entryhi()
1142 env->active_tc.CP0_TCStatus = tcstatus; in helper_mttc0_entryhi()
1144 tcstatus = (env->tcs[other_tc].CP0_TCStatus & ~0xff) | (arg1 & 0xff); in helper_mttc0_entryhi()
1145 env->tcs[other_tc].CP0_TCStatus = tcstatus; in helper_mttc0_entryhi()
1181 int32_t tcstatus = env->tcs[other_tc].CP0_TCStatus; in helper_mttc0_status() local
1184 tcstatus = (tcstatus & ~(0xf << CP0TCSt_TCU0)) | (arg1 & (0xf << CP0St_CU0)); in helper_mttc0_status()
1185 …tcstatus = (tcstatus & ~(1 << CP0TCSt_TMX)) | ((arg1 & (1 << CP0St_MX)) << (CP0TCSt_TMX - CP0St_MX… in helper_mttc0_status()
1186 …tcstatus = (tcstatus & ~(0x3 << CP0TCSt_TKSU)) | ((arg1 & (0x3 << CP0St_KSU)) << (CP0TCSt_TKSU - C… in helper_mttc0_status()
1188 env->active_tc.CP0_TCStatus = tcstatus; in helper_mttc0_status()
1190 env->tcs[other_tc].CP0_TCStatus = tcstatus; in helper_mttc0_status()