Home
last modified time | relevance | path

Searched refs:tcstatus (Results 1 – 1 of 1) sorted by relevance

/external/qemu/target-mips/
Dop_helper.c703 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()
[all …]