| /openbmc/qemu/linux-user/mips/ |
| H A D | signal.c | 113 __put_user(regs->active_tc.gpr[i], &sc->sc_regs[i]); in setup_sigcontext() 116 __put_user(regs->active_tc.HI[0], &sc->sc_mdhi); in setup_sigcontext() 117 __put_user(regs->active_tc.LO[0], &sc->sc_mdlo); in setup_sigcontext() 121 __put_user(regs->active_tc.HI[1], &sc->sc_hi1); in setup_sigcontext() 122 __put_user(regs->active_tc.HI[2], &sc->sc_hi2); in setup_sigcontext() 123 __put_user(regs->active_tc.HI[3], &sc->sc_hi3); in setup_sigcontext() 124 __put_user(regs->active_tc.LO[1], &sc->sc_lo1); in setup_sigcontext() 125 __put_user(regs->active_tc.LO[2], &sc->sc_lo2); in setup_sigcontext() 126 __put_user(regs->active_tc.LO[3], &sc->sc_lo3); in setup_sigcontext() 146 __get_user(regs->active_tc.HI[0], &sc->sc_mdhi); in restore_sigcontext() [all …]
|
| H A D | target_cpu.h | 26 env->active_tc.gpr[29] = newsp; in cpu_clone_regs_child() 28 env->active_tc.gpr[7] = 0; in cpu_clone_regs_child() 29 env->active_tc.gpr[2] = 0; in cpu_clone_regs_child() 38 env->active_tc.CP0_UserLocal = newtls; in cpu_set_tls() 43 return state->active_tc.gpr[29]; in get_sp_from_cpustate()
|
| /openbmc/qemu/target/mips/ |
| H A D | msa.c | 44 env->active_tc.msacsr = 0; in msa_reset() 50 &env->active_tc.msa_fp_status); in msa_reset() 59 &env->active_tc.msa_fp_status); in msa_reset() 76 &env->active_tc.msa_fp_status); in msa_reset() 79 &env->active_tc.msa_fp_status); in msa_reset() 82 set_float_exception_flags(0, &env->active_tc.msa_fp_status); in msa_reset() 85 set_default_nan_mode(0, &env->active_tc.msa_fp_status); in msa_reset() 88 set_snan_bit_is_one(0, &env->active_tc.msa_fp_status); in msa_reset() 92 &env->active_tc.msa_fp_status); in msa_reset() 95 &env->active_tc.msa_fp_status); in msa_reset()
|
| H A D | gdbstub.c | 31 return gdb_get_regl(mem_buf, env->active_tc.gpr[n]); in mips_cpu_gdb_read_register() 53 return gdb_get_regl(mem_buf, env->active_tc.LO[0]); in mips_cpu_gdb_read_register() 55 return gdb_get_regl(mem_buf, env->active_tc.HI[0]); in mips_cpu_gdb_read_register() 61 return gdb_get_regl(mem_buf, env->active_tc.PC | in mips_cpu_gdb_read_register() 86 env->active_tc.gpr[n] = tmp; in mips_cpu_gdb_write_register() 116 env->active_tc.LO[0] = tmp; in mips_cpu_gdb_write_register() 119 env->active_tc.HI[0] = tmp; in mips_cpu_gdb_write_register() 130 env->active_tc.PC = tmp & ~(target_ulong)1; in mips_cpu_gdb_write_register()
|
| H A D | fpu_helper.h | 106 float_status *status = &env->active_tc.msa_fp_status; in restore_msa_fp_status() 107 int rounding_mode = (env->active_tc.msacsr & MSACSR_RM_MASK) >> MSACSR_RM; in restore_msa_fp_status() 108 bool flush_to_zero = (env->active_tc.msacsr & MSACSR_FS_MASK) != 0; in restore_msa_fp_status()
|
| H A D | internal.h | 176 !(env->active_tc.CP0_TCStatus & (1 << CP0TCSt_IXMT)); in cpu_mips_hw_interrupts_enabled() 220 env->active_tc.PC = value & ~(target_ulong)1; in mips_env_set_pc() 268 if (!(env->active_tc.CP0_TCStatus & (1 << CP0TCSt_A))) { in mips_vpe_active() 272 if (env->active_tc.CP0_TCHalt & 1) { in mips_vpe_active()
|
| H A D | cpu.h | 529 TCState active_tc; member
|
| /openbmc/qemu/target/mips/tcg/system/ |
| H A D | cp0_helper.c | 195 tcst = &cpu->active_tc.CP0_TCStatus; in sync_c0_entryhi() 252 return env->active_tc.CP0_TCStatus; in helper_mfc0_tcstatus() 261 return other->active_tc.CP0_TCStatus; in helper_mftc0_tcstatus() 269 return env->active_tc.CP0_TCBind; in helper_mfc0_tcbind() 278 return other->active_tc.CP0_TCBind; in helper_mftc0_tcbind() 286 return env->active_tc.PC; in helper_mfc0_tcrestart() 295 return other->active_tc.PC; in helper_mftc0_tcrestart() 303 return env->active_tc.CP0_TCHalt; in helper_mfc0_tchalt() 312 return other->active_tc.CP0_TCHalt; in helper_mftc0_tchalt() 320 return env->active_tc.CP0_TCContext; in helper_mfc0_tccontext() [all …]
|
| H A D | special_helper.c | 49 env->active_tc.PC, env->CP0_EPC); in debug_pre_eret() 64 env->active_tc.PC, env->CP0_EPC); in debug_post_eret() 96 && !tcg_cflags_has(cs, CF_PCREL) && env->active_tc.PC != tb->pc) { in mips_io_recompile_replay_branch() 97 env->active_tc.PC -= (env->hflags & MIPS_HFLAG_B16 ? 2 : 4); in mips_io_recompile_replay_branch()
|
| H A D | mips-semi.c | 122 int op = env->active_tc.gpr[25]; in report_fault() 161 env->active_tc.gpr[2] = ret; in uhi_cb() 162 env->active_tc.gpr[3] = err; in uhi_cb() 172 target_ulong addr = env->active_tc.gpr[5]; in uhi_fstat_cb() 222 target_ulong *gpr = env->active_tc.gpr; in mips_semihosting()
|
| /openbmc/qemu/target/mips/tcg/ |
| H A D | dsp_helper.c | 57 env->active_tc.DSPControl |= (target_ulong)flag << position; in set_DSPControl_overflow_flag() 62 env->active_tc.DSPControl &= ~(1 << 13); in set_DSPControl_carryflag() 63 env->active_tc.DSPControl |= flag << 13; in set_DSPControl_carryflag() 68 return (env->active_tc.DSPControl >> 13) & 0x01; in get_DSPControl_carryflag() 78 env->active_tc.DSPControl &= filter; in set_DSPControl_24() 79 env->active_tc.DSPControl |= (target_ulong)flag << 24; in set_DSPControl_24() 86 dspc = env->active_tc.DSPControl; in set_DSPControl_pos() 94 env->active_tc.DSPControl = dspc; in set_DSPControl_pos() 102 dspc = env->active_tc.DSPControl; in get_DSPControl_pos() 115 env->active_tc.DSPControl &= 0xFFFFBFFF; in set_DSPControl_efi() [all …]
|
| H A D | vr54xx_helper.c | 29 return ((uint64_t)(env->active_tc.HI[0]) << 32) | in get_HILO() 30 (uint32_t)env->active_tc.LO[0]; in get_HILO() 35 env->active_tc.LO[0] = (int32_t)(HILO & 0xFFFFFFFF); in set_HIT0_LO() 36 return env->active_tc.HI[0] = (int32_t)(HILO >> 32); in set_HIT0_LO() 41 target_ulong tmp = env->active_tc.LO[0] = (int32_t)(HILO & 0xFFFFFFFF); in set_HI_LOT0() 42 env->active_tc.HI[0] = (int32_t)(HILO >> 32); in set_HI_LOT0()
|
| H A D | ldst_helper.c | 224 env->active_tc.gpr[multiple_regs[i]] = in helper_lwm() 231 env->active_tc.gpr[31] = in helper_lwm() 246 cpu_stl_mmuidx_ra(env, addr, env->active_tc.gpr[multiple_regs[i]], in helper_swm() 253 cpu_stl_mmuidx_ra(env, addr, env->active_tc.gpr[31], mem_idx, GETPC()); in helper_swm() 268 env->active_tc.gpr[multiple_regs[i]] = in helper_ldm() 275 env->active_tc.gpr[31] = in helper_ldm() 290 cpu_stq_mmuidx_ra(env, addr, env->active_tc.gpr[multiple_regs[i]], in helper_sdm() 297 cpu_stq_mmuidx_ra(env, addr, env->active_tc.gpr[31], mem_idx, GETPC()); in helper_sdm()
|
| H A D | op_helper.c | 187 env->active_tc.CP0_TCStatus & (1 << CP0TCSt_DT)) { in helper_yield() 263 if (env->active_tc.gpr[4] == 0) { in helper_pmon() 264 env->active_tc.gpr[2] = -1; in helper_pmon() 268 env->active_tc.gpr[2] = -1; in helper_pmon() 272 printf("%c", (char)(env->active_tc.gpr[4] & 0xFF)); in helper_pmon() 278 unsigned char *fmt = (void *)(uintptr_t)env->active_tc.gpr[4]; in helper_pmon()
|
| H A D | exception.c | 34 bad_pc = env->active_tc.PC | isa_mode; in exception_resume_pc() 85 env->active_tc.PC = tb->pc; in mips_cpu_synchronize_from_tb()
|
| H A D | msa_helper.c | 5651 msa_sld_df(df, pwd, pws, env->active_tc.gpr[rt]); in MSA_BINOP_DF() 5826 msa_splat_df(df, pwd, pws, env->active_tc.gpr[rt]); in helper_msa_splat_df() 5938 env->active_tc.gpr[rd] = (int8_t)env->active_fpu.fpr[ws].wr.b[n]; in helper_msa_copy_s_b() 5952 env->active_tc.gpr[rd] = (int16_t)env->active_fpu.fpr[ws].wr.h[n]; in helper_msa_copy_s_h() 5966 env->active_tc.gpr[rd] = (int32_t)env->active_fpu.fpr[ws].wr.w[n]; in helper_msa_copy_s_w() 5973 env->active_tc.gpr[rd] = (int64_t)env->active_fpu.fpr[ws].wr.d[n]; in helper_msa_copy_s_d() 5987 env->active_tc.gpr[rd] = (uint8_t)env->active_fpu.fpr[ws].wr.b[n]; in helper_msa_copy_u_b() 6001 env->active_tc.gpr[rd] = (uint16_t)env->active_fpu.fpr[ws].wr.h[n]; in helper_msa_copy_u_h() 6015 env->active_tc.gpr[rd] = (uint32_t)env->active_fpu.fpr[ws].wr.w[n]; in helper_msa_copy_u_w() 6022 target_ulong rs = env->active_tc.gpr[rs_num]; in helper_msa_insert_b() [all …]
|
| H A D | mxu_translate.c | 621 offsetof(CPUMIPSState, active_tc.mxu_gpr[i]), in mxu_translate_init() 626 offsetof(CPUMIPSState, active_tc.mxu_cr), in mxu_translate_init()
|
| /openbmc/qemu/target/mips/system/ |
| H A D | cp0.c | 51 tcst = &cpu->active_tc.CP0_TCStatus; in sync_c0_status()
|
| H A D | machine.c | 229 VMSTATE_STRUCT(env.active_tc, MIPSCPU, 1, vmstate_tc, TCState),
|
| /openbmc/qemu/linux-user/ |
| H A D | syscall.c | 1655 cpu_env->active_tc.gpr[3] = host_pipe[1]; in do_pipe() 13181 cpu_env->active_tc.CP0_UserLocal = arg1; in _syscall2()
|