Lines Matching refs:cpu_env
429 static TCGv_ptr cpu_env; variable
557 tcg_gen_ld_i32(t2, cpu_env, offsetof(CPUState, CP0_SRSCtl)); in gen_load_srsgpr()
562 tcg_gen_add_ptr(addr, cpu_env, addr); in gen_load_srsgpr()
580 tcg_gen_ld_i32(t2, cpu_env, offsetof(CPUState, CP0_SRSCtl)); in gen_store_srsgpr()
585 tcg_gen_add_ptr(addr, cpu_env, addr); in gen_store_srsgpr()
597 tcg_gen_ld_i32(t, cpu_env, offsetof(CPUState, active_fpu.fpr[reg].w[FP_ENDIAN_IDX])); in gen_load_fpr32()
602 tcg_gen_st_i32(t, cpu_env, offsetof(CPUState, active_fpu.fpr[reg].w[FP_ENDIAN_IDX])); in gen_store_fpr32()
607 tcg_gen_ld_i32(t, cpu_env, offsetof(CPUState, active_fpu.fpr[reg].w[!FP_ENDIAN_IDX])); in gen_load_fpr32h()
612 tcg_gen_st_i32(t, cpu_env, offsetof(CPUState, active_fpu.fpr[reg].w[!FP_ENDIAN_IDX])); in gen_store_fpr32h()
618 tcg_gen_ld_i64(t, cpu_env, offsetof(CPUState, active_fpu.fpr[reg].d)); in gen_load_fpr64()
633 tcg_gen_st_i64(t, cpu_env, offsetof(CPUState, active_fpu.fpr[reg].d)); in gen_store_fpr64()
922 tcg_gen_st_tl(t0, cpu_env, offsetof(CPUState, lladdr)); \
923 tcg_gen_st_tl(ret, cpu_env, offsetof(CPUState, llval)); \
949 tcg_gen_st_tl(arg2, cpu_env, offsetof(CPUState, CP0_BadVAddr)); \
952 tcg_gen_ld_tl(t0, cpu_env, offsetof(CPUState, lladdr)); \
955 tcg_gen_st_tl(t0, cpu_env, offsetof(CPUState, llreg)); \
956 tcg_gen_st_tl(arg1, cpu_env, offsetof(CPUState, llnewval)); \
2872 tcg_gen_ld_i32(t0, cpu_env, off); in gen_mfc0_load32()
2879 tcg_gen_ld_tl(arg, cpu_env, off); in gen_mfc0_load64()
2888 tcg_gen_st_i32(t0, cpu_env, off); in gen_mtc0_store32()
2895 tcg_gen_st_tl(arg, cpu_env, off); in gen_mtc0_store64()
2979 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_EntryLo0)); in gen_mfc0()
3025 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_EntryLo1)); in gen_mfc0()
3036 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_Context)); in gen_mfc0()
3112 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_BadVAddr)); in gen_mfc0()
3141 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_EntryHi)); in gen_mfc0()
3198 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_EPC)); in gen_mfc0()
3288 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_XContext)); in gen_mfc0()
3342 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_DEPC)); in gen_mfc0()
3445 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_ErrorEPC)); in gen_mfc0()
4127 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_YQMask)); in gen_dmfc0()
4132 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_VPESchedule)); in gen_dmfc0()
4137 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_VPEScheFBack)); in gen_dmfc0()
4152 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_EntryLo0)); in gen_dmfc0()
4197 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_EntryLo1)); in gen_dmfc0()
4207 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_Context)); in gen_dmfc0()
4282 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_BadVAddr)); in gen_dmfc0()
4310 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_EntryHi)); in gen_dmfc0()
4366 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_EPC)); in gen_dmfc0()
4453 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_XContext)); in gen_dmfc0()
4505 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_DEPC)); in gen_dmfc0()
4608 tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUState, CP0_ErrorEPC)); in gen_dmfc0()
4701 tcg_gen_st_tl(arg, cpu_env, offsetof(CPUState, CP0_VPESchedule)); in gen_dmtc0()
4706 tcg_gen_st_tl(arg, cpu_env, offsetof(CPUState, CP0_VPEScheFBack)); in gen_dmtc0()
4937 tcg_gen_st_tl(arg, cpu_env, offsetof(CPUState, CP0_EPC)); in gen_dmtc0()
5084 tcg_gen_st_tl(arg, cpu_env, offsetof(CPUState, CP0_DEPC)); in gen_dmtc0()
5187 tcg_gen_st_tl(arg, cpu_env, offsetof(CPUState, CP0_ErrorEPC)); in gen_dmtc0()
7876 tcg_gen_ld_tl(t0, cpu_env, offsetof(CPUState, tls_value)); in decode_opc()
8535 cpu_env = tcg_global_reg_new_ptr(TCG_AREG0, "env"); in mips_tcg_init()